Check if date periods overlap
ABAP Code to check if a date period overlaps another date period is as follows:
Where period_1-begda LE period_2-endda AND period_1-endda GE period_2-begda.
*Check whether any date within period_2 exists in period_1. i.e. period_2 overlaps period_1
Related Articles
Add n number of working days to date (allow result to be a non working day)
Add n number of working days to date
Formatting SAP date field using ABAP into any format such as DDMMYYY, MM/DD/YYYY, DD-MMM-YY...
Formatting a date field
Add n number of working days to date
Add n number of working days to date
Convert month value of a date to text
Add n number of working days to date using SAP personal work schedule
Add n number of working days to date (using personal work schedule)