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: 

standard function modules

Former Member
0 Kudos

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,

2 REPLIES 2

Former Member
0 Kudos

'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.

Former Member
0 Kudos

<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