Fonction SAP BKK_IC_HY_GET_SUBACC_FOR_TREE - Supplies the Subaccounts for a Known Tree

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_INT BKK40-ACNUM_INT C 10 X Internal Account Number of Root Account
I_BKKRS BKK40-BKKRS C 4 X
I_DATE_FROM BKK610-DATE_FROM C 8 Internal Account Number
I_TRACE IBKKM9-TRACE C 1 X
I_TREENR BKK610-TREENR C 12 Bank Area

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

Paramètre Reférence Long. Facultatif Description
T_SUBACCNTS IBKK6SSUBACCNTS 34 Table of Subaccounts

Functionality
This function module finds all cash pool hierarchies in which thetransferred account exists as a root account or subaccount. Onlyhierarchies are selected that are valid on or after the transferreddate.
The root accounts, subaccounts, and the pool method are returned. Thecommon key is TREENR and DATE_FROM.
If no hierarchy is found, the return code is 4.

Value range
0 - Selection correct
4 - No selection made