FM to get last day of month



 

call function 'RP_LAST_DAY_OF_MONTHS'
    exporting
      day_in            = sy-datum
    importing
      last_day_of_month = sy-datum
    exceptions
      day_in_no_date    = 1
      others            = 2.

Leave a comment

Your email address will not be published. Required fields are marked *