Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

REPORT ztest.

DATA: lv_actual_date TYPE sy-datum,

lv_end_of_month_date TYPE sy-datum.

PARAMETERS: p_date TYPE dats , " original date

p_years LIKE vtbbewe-atage , " years to be added

p_months LIKE vtbbewe-atage , " months to be added

p_days LIKE vtbbewe-atage . " days to be added

lv_actual_date = p_date.



i_date = lv_actual_date

i_years = p_years

i_months = p_months

i_days = p_days

i_calendar_days = 0

i_set_last_day_of_month = 'X'


e_date = lv_end_of_month_date.

WRITE:/ 'last day of this month after years' , p_years , 'months' , p_months, 'days' , p_days .

write:/ 'from the entered date is :' , lv_end_of_month_date .

  • No labels