08-31-2007 1:49 PM
Hi Friends,
can you explian what is the pupose of below Function Modules. mainly
when we USE??
1) 'DATE_TO_PERIOD_CONVERT'
2) FIRST_DAY_IN_PERIOD_GET'
3) 'LAST_DAY_IN_PERIOD_GET'
pls. explain.
regards,
08-31-2007 1:58 PM
'DATE_TO_PERIOD_CONVERT'
ABAP function to convert Current Date to Current Period
FIRST_DAY_IN_PERIOD_GET'
to check if its the first day of the period
) 'LAST_DAY_IN_PERIOD_GET'
to check if its the last day of the period
The function module 'LAST_DAY_IN_PERIOD_GET' and 'FIRST_DAY_IN_PERIOD_GET' do not take into consideration the Factory Calendar.
Regards,
Kumar.
08-31-2007 2:15 PM
<b>DATE_TO_PERIOD_CONVERT</b>
Pass the module a calendar date (YYYYMMDD) and it returns the corresponding fiscal year and fiscal period.
<b>FIRST_DAY_IN_PERIOD_GET</b>
Pass the function module the desired fiscal period, fiscal year, and fiscal year variant, and the function module returns the calendar date of the first day of the required period.
<b>LAST_DAY_IN_PERIOD_GET</b>
Pass the function module the desired fiscal period, fiscal year, and fiscal year variant, and the function module returns the calendar date of the last day of the required period.
regards,
srinivas