‎2008 Oct 23 8:16 AM
Hi,
Is there any function module which gives fiscal period using current date.
Thnaks,
Maheedhar
‎2008 Oct 24 6:02 AM
Hi Maheedhar,
Try the code below.
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,
Amit.
‎2008 Oct 23 8:18 AM
‎2008 Oct 23 8:24 AM
FM: DATE_TO_PERIOD_CONVERT
(you'll need company code as well)
‎2008 Oct 23 8:25 AM
You can use
GET_CURRENT_YEAR
Esle
GM_GET_FISCAL_YEAR pass I_FYV = IN for India
‎2008 Oct 23 8:26 AM
Hi
You can go for function module GM_GET_FISCAL_YEAR
but this will help you for a particular company code ACE_CHECK_FISCAL_YEAR
Arunima
‎2008 Oct 24 5:56 AM
Hi All,
I need small help. Is there any function module exist which gives fiscal period when i am passing current date.
Thanks,
Maheedhar
‎2008 Oct 24 6:02 AM
Hi Maheedhar,
Try the code below.
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,
Amit.