03-16-2006 6:30 AM
hi,
I used the functions
ALL FUNCTION 'GM_GET_FISCAL_YEAR'
EXPORTING
I_DATE = SY-DATUM
i_fyv = 'V3'
IMPORTING
E_FY = L_FISCAL_YEAR .
& Get START Date Of Fiscal Year
CALL FUNCTION 'GM_GET_FISCAL_YEAR_START'
EXPORTING
i_fyv = 'V3'
i_fiscalyear = L_FISCAL_YEAR
IMPORTING
E_STARTDATE = L_FISCAL_YEAR_START .
.
in 4.7 version of SAP BUT I i got a assignment in 4.6c and i need to call this 2 function but they are not availabe in 4.6c ..can anybody tell me which is the function module in 4.6c for getting fiscal year date and fiscalyear start date.
thanks regards
03-16-2006 6:35 AM
GET_CURRENT_YEAR Get the current fiscal 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
regards
vinod
03-16-2006 6:35 AM
GET_CURRENT_YEAR Get the current fiscal 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
regards
vinod
03-16-2006 6:35 AM
03-16-2006 6:38 AM
Hi,
Check with this FM 'FI_PERIOD_DERTEMINE'.
Regards,
Deepak.
If this helps you reward with points.
03-16-2006 6:38 AM
Hi,
USe GET_CURRENT_YEAR
data: curry like bsid-gjahr.
call function 'GET_CURRENT_YEAR'
exporting
bukrs = knb1-bukrs
date = dd_stida
importing
curry = curry.
Regards,
Gayathri
Message was edited by: Gayathri Hariharan
03-16-2006 7:31 AM
HI farukh ,
1.
"GET_CURRENT_YEAR" will give u the fiscal year
2.use "GET_DATES_FROM_GJAHR" ,
give the company code and the fm area .
this will fetch the FISCAL YEARS valid from date and
valid to date .
this is with 4.6 c .
regards,
vijay.
Message was edited by: Kan Vijay