Fonction SAP BKK_PAYM_ORDER_SEL_PO_IT_PLAN - BCA: Selection of Planned Orders and/or Planned Items

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_INT BKK_ACCNT C 10 Internal Account Number for Current Account
I_BKKRS BKK_BKKRS C 4 Bank Area
I_DATE_POST_FROM BKK_PSTDAT D 8 X Selection Date, As Of Posting Date From
I_DATE_POST_TO BKK_PSTDAT D 8 X Selection Date, As of Posting Date To

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

Paramètre Reférence Long. Facultatif Description
R_POSNO BKKP_R_POSNO 0 X Fill if There Are Only Ordering Party Orders
T_BKKIT_TMP BKKITTMP 1179 X Planned Payment Items
T_BKKPOIT_TMP_DP IBKKPOIT_TMP_DP 806 X Items in Planned Payment Order with Posting Date

Exception Description
NO_ORDER_FOUND Payment Order Not Found

Functionality
This function module reads all planned payment orders and plannedpayment itemswithin a selectable time period for the posting date. Itreads these for a bank area for an internal account number.The interval of time can also be chosen freely. If the posting datefrom (or posting date to) is initial, all orders or items asof or to this posting date are selected.If both values are initial, all orders oritems are selected, and output in the table of results.

Parameters:
Import : I_BKKRS Bank area
I_ACNUM_INT Internal account no.
I_DATE_POST_FROM Posting date from(optional)
I_DATE_POST_TO Posting date to(optional)
Export : E_RETURN Return code
Tables : T_BKKPOIT_TMP_DP Table of selecteditems for planned order (optional)
T_BKKIT_TMP Table of selectedplanned payment orders
(optional)

Return code
Values: 0 Processing OK
4 No planned paymentorders found
8 No plannedpayment items found
12 No planned ordersor items found