SAP Help Techniques for processing SAP ABAP date fields









SAP ABAP Date Processing - Example code and information on how to process SAP date fields


Add n number of WORKING days to date (factory calender)
Add number of working days SAP date field



Add n number of WORKING days to date (allow result to be non working day)

Add number of days SAP date field and allow result to be non-working



Check if date periods overlap

Check if date periods overlap



Add and Subtract month(s) from a date

Add and subtract months from SAP date field



Add n number of WORKING days to date (using personal work schedule)

Using a persons work schedule, add number of working days to date field

Add number of days to a date field
To add x number of days to date field simply use the plus sign i.e. ld_date + 1, ld_date + 10...



SAP Date formating

Format youir SAP date field

Convert month value to text (i.e. 01 = January)

Convert month integer value to text

Get day of the week for date(i.e. 1=Monday...)
Returns day of the week for a particular date (1=Monday, 5=Friday etc.) using DATE_COMPUTE_DAY

Get day of the week text for date(i.e. 'Monday'...)
Gets day of the week for a particular date ('Monday', 'Friday', 'Sat.') DATE_TO_DAY

Convert date to user display format
Converts date from system storage format to users specified display format



FTI_FISCAL_YEAR_MONTH_GET
Function module to return fiscal year for specific date

Other SAP Function Modules
Date related and other SAP Function module

SAP ABAP development help
Return to General SAP ABAP menu