Fonction SAP BKK_PAYM_ORDER_TERM - Create and Post Payment Order for Collection of Fixed-Term Deposit

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_ACUR BKKPOIT-ACUR C 5 Account Currency
I_A_AMOUNT BKKPOIT-A_AMOUNT P 9 Amount in Account Currency
I_BKKRS BKK_BKKRS C 4 Bank Area
I_DATE_POST BKKPOHD-DATE_POST D 8 X Posting Date
I_DATE_VALUE BKKPOIT-DATE_VALUE D 8 X Value Date
I_FLG_NO_COMMIT BKK_XFELD C 1 SPACE X No commit/rollover logic
I_XCRED BKK_XFELD C 1 X Indicator for Credit Clearing
I_XTRACE BKK_XFELD C 1 X Logging
I_X_CLOSE_TERM BKK_XFELD C 1 X Closure Posting for Term Agreement
I_X_IN_UPDATE_TASK BKK_XFELD C 1 X Update Task

Paramètre Reférence Type Long. Description
E_PAORN BKK_PAORN N 12 Payment Order Number
E_POSTATUS BKK_POSTAT C 2 Payment Order Status
E_RETURN SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements
E_STATUS_ITEM SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements

Functionality
This function module creates and posts a payment order for the automaticcollection of the deposit or the disbursement of the capital on afixed-term deposit account.
The prerequisite is that the reference accounts (categories 03 and 04)are maintained.
The response to the term phases of the fixed-term deposit accountdepends on the settings defined in Customizing (TBKKG3_TERM). Afterthis, the payment order can be posted, parked, or rejected(BKK_PAYM_ORDER_CHECK_ITEM).
If the user who created the order does not have the amount authorizationfor the posting, the payment order is transferred to the releaseprocedure.
In the second posting attempt (from postprocessing or the release of theparked order), the customizing settings (TBKKG3_TERM) are no longerchecked.

Description
Return values:
0: No errors
1: Error when completing the payment order (PREPARE)
2: Error when checking the payment order (CHECK)
5: Error when parking the payment order
6: Error when posting the payment order
7: Error when creating the payment item
8: Error when checking the payment item
9: Error when posting the payment item

Description
Returns the payment item status:
'0' - all payment items could be posted.
'1' - at least one of the recipient payment items could only beparked due to an error and requires further processing by the user.'2' - at least one of the recipients is external, therefore, all payment
items were transferred to the payment transaction system. This functionmodule posted only the ordering party item.
'9' - no items created (payment order in post processing)