Fonction SAP BKK_STANDING_ORDER_BUILD_PACK - Package Formation for Parallel Processing of Standing Order Posting

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_BKKRS BKK_BKKRS C 4 Bank Area
I_PACK_CNT BKK_BMBLOCKSZ I 4 X Interval Size

Paramètre Reférence Type Long. Description
E_PACK_NO BKK_INTNO I 4 Number of Intervals
E_RETURN SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements

Functionality
The function module determines the posting date for the bank area thatwas transferred. For this posting date, it then determinesthe standing orders that have an execution date beforeor the same as the posting date.
The standing orders are divided into intervals containing thestanding orders for accounts that are related on theordering party and recipient sides through standing orders.This ensures that packages are not locked byboth sides during the posting.
The size of the interval is therefore not always dependent on theinterval size supplied; it can differ significantly in some cases.

Description
The number of intervals that have been formed, andstored in the BKKSO_PACK table.

Description
Return value.
00 = Package formation completed according to rules.
01 = Missing import parameter for bank area.
02 = Posting date could not be determined.
03 = No standing orders found for date.
04 = Database error.

Description
The number of standing orders in an interval. If the parameter is notsupplied, only one package is formed.