Fonction SAP BKK_ADD_WORKINGDAY - Add/Subtract Working Days to a Date

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_CALENDAR1 TFACD-IDENT C 2 X Factory Calendar
I_CALENDAR2 TFACD-IDENT C 2 X Factory Calendar
I_DATE SYST-DATUM D 8 Starting Date to Which Days are to be Added or Subtracted
I_DAYS I I 4 Number of Working Days by Which Date is to be Changed

Paramètre Reférence Type Long. Description
E_DATE SYST-DATUM D 8 Date
E_RETURN SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements

Functionality
The function module adds or subtracts a number of working days to orfrom a specified date, and returns the resulting date.The calendar identification needs to be provided to enable thepublic holiday rule to be found.

Description
E_Return
00 = Calculation was successful.
01 = Either no start date or an incorrect start date specified.
02 = Calendar not found.