Fonction SAP BAPI_BANK_STATEMENT_EXEC - Bank Statement: Newly Create Bank Statement

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACCOUNT IBKKBKSTHD-ACCOUNT C 35 Account Number
I_BANKAREA IBKKM6-BKKRS C 4 X Bank Area
I_BANKCODE IBKKBKSTHD-BANKCODE C 15 X Bank Key (Bank Identification Number)
I_BKSTATDATE IBKKBKSTHD-BKSTATDATE D 8 SY-DATUM X Bank Statement Date
I_BKSTATTIME IBKKBKSTHD-BKSTATTIME T 6 SY-UZEIT X Bank Statement Time
I_BKSTITEMDATE IBKKBKSTHD-SDATEPOSTH D 8 Posting Date To
I_COUNTRY IBKKBKSTHD-BANKCTRY C 3 X Country Key of Bank Country
I_FLG_BKST_NOITEMS BOOLE-BOOLE C 1 ' ' X 'X': Bank Statement Without Turnovers
I_FLG_SIMULATION BOOLE-BOOLE C 1 X 'X': Only Simulate Bank Statement

Paramètre Reférence Type Long. Description
E_BKK42 IBKK42 u 307 Structure for Current Account Operative Data
E_HEADER IBKKBKSTHD_EXT u 562 Bank Statement Header
E_RC IBKK_MISC-RC2 C 2 Return Code (see long text)

Paramètre Reférence Long. Facultatif Description
E_T_ADDRESSES IBKKBKSTAD 1508 X Address List of Statement Recipients
E_T_ADDRESS_BINT IBKKBKSTAD_BINT 658 X
E_T_AIPOSTS IBKKBKSTITAI 284 X Infoposten für Vorschusszinsen
E_T_CLOSINFOS IBKKBKSTCL_EXT 160 X Account Balanacings Since Last Statement
E_T_ITEMS IBKKBKSTIT_EXT 834 X Statement Items
E_T_LIMIT IBKKBKSTLI_EXT 74 X
E_T_PAYMNOTES IBKKBKSTNT 91 X Payment Notes

Functionality
With the help of this function module you can create a new bankstatement for the account. You can start a simulation by setting theindicator I_FLG_SIMULATION. If the value in import parameterI_FLG_BKST_NOITEMS = 'X', a statement is created even if there are noturnovers.

Notes
For a more detailed description of the individual parameters, refer tothe current interface documentation.

Value range
0: No errors
1: Incomplete entry
2: Error finding the bank area
3: Error in determination of account number
4: Error in generation of bank statement

Description
If this indicator has been set, the bank statement is only simulated.This means that the statement data is not written to the database.