Make your own free website on

SAP ABAP Programming, Functional and Basis Components Books

Calculate begining of previous to end of previous month

ldate = sy-datum.
ldate+6(2) = '01'.
ldate  = ldate - 1.
fdate = ldate.
fdate+6(2) = '01'.

move:   fdate         to  date-low,
            ldate         to  date-high.

append date.

Back to Previous

Return to SAP Hints and Tips on Configuration and ABAP/4 Programming