Skip to Content
avatar image
Former Member

Function to Find Start date & Last date of the month

Dear all,

I have created one selection screen ..... that is

Month name

I have pass Month name through selection screen.

Suppose i pass: From January To April

Then in program how can i get the Start Date of the month means 01.01.2009 and how to get end date Means 30.04.2009.

Means i want the function.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 20, 2010 at 11:42 AM

    This question is related to ABAP forum,

    You can use FM

    HR_JP_MONTH_BEGIN_END_DATE

    If you need last day of month, use FM

    BKK_GET_MONTH_LASTDAY

    for these you have to give year also, give date in importing parameter

    IV_DATE.

    Pass the value (January, 2009) of first parameter in First FM (HR_JP_MONTH_BEGIN_END_DATE)

    & value (April, 2009) in second parameter in Second FM (BKK_GET_MONTH_LASTDAY) & use the Output.

    Add comment
    10|10000 characters needed characters exceeded