Fonction SAP BKK_COND_BALANCE_PERIODS - Find Account Type Periods

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_BKKRS BKK_BKKRS C 4 Bank Area
I_DATE_FROM BU_DATFROM D 8 Validity Date (Valid From)
I_DATE_TO BU_DATTO D 8 Validity Date (Valid To)

Paramètre Reférence Type Long. Description
E_TAB_PERIODS BKK_T_PERIODS_KOA h 17 Table Category for Account Type within a Period

Functionality
This function determines the periods within a given period in whicha specific account is assigned to a certain type. We differentiatebetween or determine the following account types:
Account type 'N'
This account is a "normal" account and not a root or subordinateaccount in an interest compensation hierarchy.
Account type 'R':
This account is the root account in an interest compensation hierarchy.
Account type 'S'
This account a subordinate account in an interest compensationhierarchy.

Notes
The function assumes that the account you specify exists. If the accountis not part of an interest compensation hierarchy, the entire periodspecified is returned as being account type 'N'.

Description
This table contains the periods with the corresponding account types('N', 'R', 'S' ) within the given period.

Description
Internal account number for the bank area (I_BKKRS).

Description
Bank area for the internal account number (I_ACNUM_INT).

Description
Start of the period to be checked. The date must be<= the to-date (I_DATE_TO). This is not checked by the function.

Description
End of the period to be checked. The date must be >= the form-date.(I_DATE_FROM). This is not checked in the function.