Fonction SAP BAPI_BKK_ACCNT_GET_BALANCE - Read Balances of Customer Account

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANKAREA BAPI_IBKK_ACCNT_IDENTIF-BANKAREA C 4 Bank Area
EXTERNALACCOUNTNO BAPI_IBKK_ACCNT_IDENTIF-EXTERNALACCOUNTNR C 35 External Account Number
LANGUAGE BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE C 1 SY-LANGU X Language Key
LANGUAGEISO BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE_ISO C 2 X Language according to ISO 639
PROCESSEXTENSION BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSION C 1 X Indicator, Extension IN/OUT

Paramètre Reférence Type Long. Description
ACCOUNTIDENTIFICATION BAPI_IBKK_ACCNT_IDENTIF u 162 Account Identification
BALANCE BAPI_IBKK_ACCNT_BALANCE u 53 Account Balance

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X
EXTENSIONOUT BAPIPAREX 990 X
RETURN BAPIRET2 548 X

Functionality
Use this method to retrieve the account balance (on the current postingdate) for an account. Details of the balance subject to final paymentare also transferred.
The Read Balances of Customer Account method logs the errors thatoccurred in the return parameter (RETURN).
Note: This method does not update the database.
To transfer the account details, it is mandatory to specify values inthe import parameters Bank Area (BANKAREA) and ExternalAccount Number (EXTERNALACCOUNTNO).
Additionally, you can transfer a value for either of the importparameters Language Key (LANGUAGE) or ISO Language Key (LANGUAGEISO).
INCLUDE BAPI_BKK_LANGUAGE

Notes
This method works with buffering. This means that other change methodsof instances created or changed by this method can be executed in thesame Logical Unit of Work (LUW).
Customer Enhancements
INCLUDE BAPI_CUST1
INCLUDE BAPI_CUST_INOUT
INCLUDE BAPI_CUST2
INCLUDE BAPI_CUST_ENH_FURTHER_INFO
Return Messages
INCLUDE BAPI_RET

Description
This parameter returns details of the account identifiers (such as theinternal and external account numbers).
INCLUDE BAPI_DATAELEMENT

Description
This parameter returns details of the account balance on the currentposting date (such as the account balance, the balance subject to finalpayment, the currency, and the current posting date).
INCLUDE BAPI_DATAELEMENT

Description
This parameter contains the bank area for an accountand is a mandatory value. The system returns an error message if youtransfer an invalid value.

Value range
The value range for this parameter corresponds to the values that youdefine in the IMG activity Define BankArea.

Description
The external account number parameter contains theunique identifier for an account and is a mandatory value.
If the account number is numeric, it can be transferred with leadingzeros (internal display) or without leading zeros (external display).The system returns an error message if you specify an invalid value.

Description
This parameter determines the language in which the descriptive textsand notes are transferred.

Value range
You can specify the language in either of the parameters Language Key(LANGUAGE) or ISO Language Key (LANGUAGE_ISO).
INCLUDE BAPI_BKK_LANGUAGE

Default
The default value for this parameter is the logon language (SY-LANGU).

Description
This parameter determines the language in which the additional texts andnotes are transferred.
Note: This parameter is used only if you have not selected theLanguage Key (LANGUAGE) parameter.

Value range
You can transfer the language in either of the parameters Language Keyor ISO Language Key (LANGUAGE_ISO).
INCLUDE BAPI_BKK_LANGUAGE

Description
This parameter specifies whether the details entered by the customers ina Business Add-In of this method, must be retrieved.
You can find further information on the parameter in the documentationfor the data element Execute Extension(s)(BAdI).

Value range
' ' (no value)
This value means that the customer enhancements are not executed.
'X'
This value means that the customer enhancements are executed.
INCLUDE BAPI_EXTIN
INCLUDE BAPI_EXTOUT
INCLUDE BAPI_TABLE

Value range
Messages for Value Checks
Type ID,, Message Number,, Messages
1E,, 071,, Account number &1 does not exist in bank area &2
1P,, 176,, No authorization to & from & ( display/account)
Additional Messages
Type ID,, Message Number,, Messages
1BKKBAPI,, 101,, BAPI call failed
1BKKBAPI,, 218,, Message protocol could not be opened
1BKKBAPI,, 213,, Internal Error &1 occured during generating directinput data
1BKKBAPI,, 008,, Activity &1 for object &2 is not maintained
1BKKBAPI,, 012,, Instance of BADI definition &1 could not be created
1BKKBAPI,, 013,, Error on opening instance of object type &1. External rreference &2 &3