Fonction SAP BKK_ACCNT_CLOSE_CONTROL_SINGLE - Control of Direct Account Closure: Always One Account Only

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_EXT BKK_ACEXT C 35 External Account Number
I_ACNUM_INT BKK_ACCNT C 10 Internal Account Number for Current Account
I_BKKRS BKK_BKKRS C 4 Bank Area
I_CLDATE BKK_DDATE D 8 Selection Date for Account Closure

Paramètre Reférence Type Long. Description
E_RC SUBRC N 2 Return Code for Account Closure

Functionality
This function module is used for account closure in the dialog. It istriggered by transaction F9K2 (Change Account). This functionmodule enables only one account to be closed at a time.

Notes
Unlike the function module BKK_ACCNT_CLOSE_CONTROL_MASS, the account isbalanced implicitly. No account balancing runs are made retroactively.This kind of situation does not arise in the live system. In adevelopment or quality assurance system, this kind of situation couldarise. The direct account closure would then need to be triggered everytime account balancing is to be calculated.

Description
Return code (end-of-day processing)

Value range
0 = Program has ended without errors
1 = Program has ended with general error
2 = Program has ended with warning
3 = Program has ended with individual error