2008 Jun 30 1:34 PM
Hi,
Is there any Function Module to pull current accounting period
Thanks & Regards,
Adithya M.
2008 Jun 30 1:38 PM
2008 Jun 30 1:41 PM
You may use function module DATE_TO_PERIOD_CONVERT, using current date and your current company code
SELECT SINGLE periv INTO i_periv
FROM t001
WHERE bukrs = i_-bukrs.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = sy-datum
i_periv = i_periv
IMPORTING
e_buper = monat.
Regards