April 15, 2010 @ 9:31 am
Calculating working day
Have you ever need to get the next/previous working day, of a calendar date, of a factory calendar?
We suggest function module DATE_CONVERT_TO_FACTORYDATE.
You can indicate with ‘+’ or ‘-’ on importing parameter CORRECT_OPTION if you want the next working day, or the previous one. The other importing parameters are the calendar date you want to use, and the factory calendar.
The result will be in exporting parameter DATE.
Filed under BC - ABAP Permalink