Fonction SAP BKK_IC_HY_ACCNT_GET_POOLS - Supplies All Cash Pool Hierarchies in Which an Account Appears from

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM BKK40-ACNUM_INT C 10 Internal Account Number
I_BKKRS BKK40-BKKRS C 4 Bank Area
I_REF_DATE SYST-DATUM D 8 Reference Date

Paramètre Reférence Type Long. Description
E_RC SYST-SUBRC I 4 Return Code

Paramètre Reférence Long. Facultatif Description
T_POOLMETHODS BKK633 27 Table of Pool Methods
T_ROOTACCNTS BKK610 212 Table of Root Accounts
T_SUBACCNTS IBKK6SSUBACCNTS 34 Table of Subaccounts

Functionality
This function module determines all cash pooling hierarchies in whichthe transferred account appears as a root account or subaccount.Hierarchies are only selected if they are valid on or after thedate transferred.
The system returns the root accounts, subaccounts and pool method. Thecommon key is TREENR and DATE_FROM.
If no hierarchy is found, the return code is 4.

Value range
0: Selection has no errors
4: Nothing has been selected