SAP BAPI_BKK_ACCNT_GET_LIST Function Module for Read Account List for Business Partner
BAPI_BKK_ACCNT_GET_LIST is a standard bapi bkk accnt get list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Account List for Business Partner processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bapi bkk accnt get list FM, simply by entering the name BAPI_BKK_ACCNT_GET_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB_ACCOUNT_BAPI
Program Name: SAPLFB_ACCOUNT_BAPI
Main Program: SAPLFB_ACCOUNT_BAPI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_BKK_ACCNT_GET_LIST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BAPI_BKK_ACCNT_GET_LIST'"Read Account List for Business Partner.
EXPORTING
* BANKAREA = "Bank Area
PARTNER = "Business Partner Account Holder
* ACCOUNTHOLDER = "Indicator: Account Holder
* AUTHORIZEDDRAWER = "Indicator: Authorized Drawer
* LANGUAGE = "Language Key
* LANGUAGEISO = "Language according to ISO 639
* PROCESSEXTENSION = "Indicator, Extension IN/OUT
TABLES
* EXTENSIONIN = "
* EXTENSIONOUT = "
* ACCOUNT_LIST = "Business Partner Account List
* RETURN = "
IMPORTING Parameters details for BAPI_BKK_ACCNT_GET_LIST
BANKAREA - Bank Area
Data type: BAPI_IBKK_ACCNT_IDENTIF-BANKAREAOptional: Yes
Call by Reference: No ( called with pass by value option)
PARTNER - Business Partner Account Holder
Data type: BAPI_IBKK_PARA_ACCNT_LIST-PARTNEROptional: No
Call by Reference: No ( called with pass by value option)
ACCOUNTHOLDER - Indicator: Account Holder
Data type: BAPI_IBKK_PARA_ACCNT_LIST-ACCOUNT_HOLDEROptional: Yes
Call by Reference: No ( called with pass by value option)
AUTHORIZEDDRAWER - Indicator: Authorized Drawer
Data type: BAPI_IBKK_PARA_ACCNT_LIST-AUTHORIZED_DRAWEROptional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language Key
Data type: BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGEISO - Language according to ISO 639
Data type: BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE_ISOOptional: Yes
Call by Reference: No ( called with pass by value option)
PROCESSEXTENSION - Indicator, Extension IN/OUT
Data type: BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_BKK_ACCNT_GET_LIST
EXTENSIONIN -
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONOUT -
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
ACCOUNT_LIST - Business Partner Account List
Data type: BAPI_IBKK_ACCNT_LISTOptional: Yes
Call by Reference: Yes
RETURN -
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_BKK_ACCNT_GET_LIST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_bankarea | TYPE BAPI_IBKK_ACCNT_IDENTIF-BANKAREA, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_partner | TYPE BAPI_IBKK_PARA_ACCNT_LIST-PARTNER, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_account_list | TYPE STANDARD TABLE OF BAPI_IBKK_ACCNT_LIST, " | |||
| lv_accountholder | TYPE BAPI_IBKK_PARA_ACCNT_LIST-ACCOUNT_HOLDER, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_authorizeddrawer | TYPE BAPI_IBKK_PARA_ACCNT_LIST-AUTHORIZED_DRAWER, " | |||
| lv_language | TYPE BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE, " | |||
| lv_languageiso | TYPE BAPI_IBKK_ACCNT_COMM_PARAM-LANGUAGE_ISO, " | |||
| lv_processextension | TYPE BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSION. " |
|   CALL FUNCTION 'BAPI_BKK_ACCNT_GET_LIST' "Read Account List for Business Partner |
| EXPORTING | ||
| BANKAREA | = lv_bankarea | |
| PARTNER | = lv_partner | |
| ACCOUNTHOLDER | = lv_accountholder | |
| AUTHORIZEDDRAWER | = lv_authorizeddrawer | |
| LANGUAGE | = lv_language | |
| LANGUAGEISO | = lv_languageiso | |
| PROCESSEXTENSION | = lv_processextension | |
| TABLES | ||
| EXTENSIONIN | = lt_extensionin | |
| EXTENSIONOUT | = lt_extensionout | |
| ACCOUNT_LIST | = lt_account_list | |
| RETURN | = lt_return | |
| . " BAPI_BKK_ACCNT_GET_LIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_BKK_ACCNT_GET_LIST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single BANKAREA FROM BAPI_IBKK_ACCNT_IDENTIF INTO @DATA(ld_bankarea). | ||||
| "SELECT single PARTNER FROM BAPI_IBKK_PARA_ACCNT_LIST INTO @DATA(ld_partner). | ||||
| "SELECT single ACCOUNT_HOLDER FROM BAPI_IBKK_PARA_ACCNT_LIST INTO @DATA(ld_accountholder). | ||||
| "SELECT single AUTHORIZED_DRAWER FROM BAPI_IBKK_PARA_ACCNT_LIST INTO @DATA(ld_authorizeddrawer). | ||||
| "SELECT single LANGUAGE FROM BAPI_IBKK_ACCNT_COMM_PARAM INTO @DATA(ld_language). | ||||
| "SELECT single LANGUAGE_ISO FROM BAPI_IBKK_ACCNT_COMM_PARAM INTO @DATA(ld_languageiso). | ||||
| "SELECT single PROCESS_EXTENSION FROM BAPI_IBKK_ACCNT_COMM_PARAM INTO @DATA(ld_processextension). | ||||
Search for further information about these or an SAP related objects