Fonction SAP BKK_IC_HY_GET_HDRACC_VALDATE - Determination of Header Account on a Value Date

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_TRACE IBKKM9-TRACE C 1 X
I_VAL_DATE SYST-DATUM D 8 Value Date

Paramètre Reférence Type Long. Description
E_DATE_FROM BKK610-DATE_FROM C 8 Hierarchy Valid From Root Account (Inverse)
E_HDRACC_ACNUM BKK40-ACNUM_INT C 10 Internal Account Number of Root Account
E_HDRACC_BKKRS BKK40-BKKRS C 4 Bank Area of Root Account
E_RC SYST-SUBRC I 4 Return Code
E_TREENR BKK610-TREENR C 12 Tree Number of Root Account

Functionality
This function module uses the cash pooling-relevant hierarchy table todetermine the root account for a transferred account on a value date.
"On a value date" means that this date is in the following time period:
from hierarchy-from date (included)
to hierarchy-to date (excluded)
If the transferred account is the root account on this date, this isreturned.

Value range
0: Selection has no errors
4: Nothing has been selected
12: Database is inconsistent - more than one hierarchy found