SAP Function BAPI_COND_VAL_DECRE_BALANCES - Debit/Credit Amounts and Balances for a Value Date Period

Parameter Reference Type Length Default Optional Text
I_ACCOUNT IBKK9_DECRE_VAL-ACCOUNT C 35 External Account Number
I_BANKKEY IBKK9_DECRE_VAL-BANKKEY C 15 Bank Key
I_COUNTRY IBKK9_DECRE_VAL-COUNTRY C 3 Bank Country
I_KEY_POST_DATE IBKK9_DECRE_VAL-VAL_DATE D 8 Key Date for Postings
I_VAL_DATE_END IBKK9_DECRE_VAL-VAL_DATE D 8 End Date of the Period
I_VAL_DATE_START IBKK9_DECRE_VAL-VAL_DATE D 8 Start Date of the Period

Parameter Reference Type Length Text
E_RC IBKK_MISC-RC2 C 2 Return Code (See Long Text)

Parameter Reference Length Optional Text
E_T_VAL_DECRE_BAL IBKK9_DECRE_VAL 141 Balance Table

Functionality
Output of the value date-based debit and credit turnovers and theposting balances for a time period.
Output is in the current account currency. An entry is created in theexport table for every date on which there are turnovers. An exceptionto this is the start date, for which there is always an entry.
All postings are selected for the calculation of the balances whoseposting date is before or on the key date supplied.

Example
EUR 01/01/1998 0.00 0.00 0.00
EUR 01/02/1998 0.00 5,132.47 5,132.47-
EUR 01/22/1998 0.00 0.28 5,132.73-
EUR 02/02/1998 0.00 2,566.23 7,698.96-
EUR 05/02/1998 10,264.94 0.00 2,565.98-
EUR 05/29/1998 50.72 32.08 2,584.62-

Notes
Error messages:
e_rc =
1: input parameter incorrect
2: end date before start date
3: data no longer available due to archiving
99: no authorization to call up data

Further information

Value range
1: Input parameter not correct
2: End date before start date
3: Data no longer available due to archiving
4: No authorization to call up data.