Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function module for FISCAL YEAR

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

vinod_gunaware2
Active Contributor
0 Kudos

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

5 REPLIES 5

vinod_gunaware2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

use FM

K_GJAHR_LIMITS_GET in 4.6c.

Regards,

Shashank

Former Member
0 Kudos

Hi,

Check with this FM 'FI_PERIOD_DERTEMINE'.

Regards,

Deepak.

If this helps you reward with points.

Former Member
0 Kudos

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

Former Member
0 Kudos

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