Sunday, December 26, 2010
If you provide Company code and system date, based on Fiscal year variant from T001 table, function module GET_CURRENT_YEAR will give current year.

CALL FUNCTION 'GET_CURRENT_YEAR'
  EXPORTING
    BUKRS = '1000'     " Company Code
    DATE  = SY-DATUM   " Date to find fiscal year for
  IMPORTING
    CURRM = w_currm    " Current Fiscal Month
    CURRY = w_curry    " Current Fiscal Year
    PREVM = w_prevm    " Previous Fiscal Month
    PREVY = w_prevy.   " Previous Fiscal Year

1 comment:

  1. Baccarat and Blackjack - Online casino sites - British
    Find the best online https://www.communitykhabar.com baccarat and blackjack gambling sites https://baccaratsites777.com/ in the UK. We sol.edu.kg have over 30000 2022카지노 사이트 casino games, including poker, blackjack, roulette and https://septcasino.com/review/merit-casino/ more.

    ReplyDelete

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.