Fonction SAP BKK_COND_BAL_POOL_DATE - Day Balance of Pool

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_BKKRS BKK9A-BKKRS C 4 Bank Area
I_DATE BKK91-DATE_POST D 8 X Key Date
I_FLAG_SUM BOOLE-BOOLE C 1 ' ' X Indicator for Output (Long Text)
I_FLG_POST BOOLE-BOOLE C 1 Indicator That Shows if Posting Balance or Value Date Balance
I_HEADER_ACCNT BKK9A-ACNUM_INT C 10 Internal Account Number

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

Paramètre Reférence Long. Facultatif Description
E_T_BALANCE BKKC_T_BALANCE 0 Balance Table: Balance - Currency

Functionality
This module calculates the balance of a pool for a given key date. TheI_FLG_POST flag determines whether the posting balance or value datebalance is determined. The value date balance includes all the turnoversposted for this account in BCA.
During the dual currency phase in the context of the EURO changeover,the balances are output separately, according to currency. For the totalbalance it is necessard to convert to one currency and add the balances.

Example
Account during the dual currency phase
Value date balance on 10/25/1998:
Balance Currency
4,000 EURO
4,.000 DM
Total balance in DM: 12,000
in Euro: 6,000

Description
When a currency changeover is planned or already carried out for anaccount, the balances are managed in parallel in two accounts.
If this indicator is not set, the balances are output separately in thetwo currencies. The total balance results from adding the two balancesafter conversion of one of the two amounts.
If the indicator is set, the total balance is output in both currencies.