Skip to Content
author's profile photo Former Member
Former Member

standard function modules

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,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 12: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.