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: 

To find the last day of the month

Former Member
0 Kudos
76

Hi,

Is there any function module to find the last day of the month...?

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
45

use fm LAST_DAY_OF_MONTHS

regards

shiba dutta

4 REPLIES 4

Former Member
0 Kudos
46

use fm LAST_DAY_OF_MONTHS

regards

shiba dutta

Former Member
0 Kudos
45

RP_LAST_DAY_OF_MONTHS

LAST_DAY_OF_MONTHS

Reward Points if it is helpful

Thanks

Seshu

gopi_narendra
Active Contributor
0 Kudos
45

SG_PS_GET_LAST_DAY_OF_MONTH

RE_LAST_DAY_OF_MONTH

HRVE_LAST_DAY_OF_MONTH

RP_LAST_DAY_OF_MONTHS

LAST_DAY_OF_MONTHS

Regards

Gopi

Former Member
0 Kudos
45
parameters: s_date type sy-datum,
           e_date type sy-datum.
 
 s_date = sy-datum.

  call function 'RP_LAST_DAY_OF_MONTHS'
       exporting
            day_in            = s_date
       importing
            last_day_of_month = e_date.

write : e_date.