Declare a selection screen with a parameter representing a date. Then, save a variant so that
this field is filled with the last day of the previous month every time the variant is used.
Solution:
REPORT z_abap101_093.
PARAMETER p_date TYPE d.

Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP S/4 HANA Logistics Consultant
Contact : serkurumsal@yandex.com