Tag Archives: Dates in ABAP

How work with dates in ABAP in SAP systems? Change date, add or subtract days in ABAP SAP. Functional modules for working with dates and other options for working with dates in ABAP in SAP systems.

Add month to date ABAP SAP. Month_plus_determine.

Adding/subtracting a month to/from a date in SAP ABAP can be done with the FM MONTH_PLUS_DETERMINE. Operations with months are not so frequent, but just as useful. For example, calculate the end date of a contract that expires in half a year. In order to subtract the desired number of months, we simply pass a negative number to the months parameter.

Continue reading Add month to date ABAP SAP. Month_plus_determine.

Add days to date ABAP SAP.

Abap add days to date. Add / subtract days/hour from a date in ABAP or add them to a very useful functionality that can be implemented using the FM TZTF_ADD_DAY. Calling this FM will allow, for example, to receive data for the last n days, where n is entered by the user, or to find the end date of the reserve, which, for example, is 14 days after the order, and much more.

Continue reading Add days to date ABAP SAP.