SAP BKK_ACCNT_GET_DATA_FOR_BAPI Function Module for BCA: Operational BAPI Data
BKK_ACCNT_GET_DATA_FOR_BAPI is a standard bkk accnt get data for bapi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BCA: Operational BAPI Data 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 bkk accnt get data for bapi FM, simply by entering the name BKK_ACCNT_GET_DATA_FOR_BAPI into the relevant SAP transaction such as SE37 or SE38.
Function Group: FBK8
Program Name: SAPLFBK8
Main Program: SAPLFBK8
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKK_ACCNT_GET_DATA_FOR_BAPI 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 'BKK_ACCNT_GET_DATA_FOR_BAPI'"BCA: Operational BAPI Data.
EXPORTING
I_BKKRS = "Bank Area
I_ACNUM_INT = "Internal Account Number
* I_LANGU = SY-LANGU "
IMPORTING
E_CONDAREA = "
E_IBAN = "International Bank Account Number
E_PRODEXT = "
E_VERSION = "
E_NOSTRO = "
E_ACKIND = "Account Type
E_ACTEXT = "Account Description
E_WAERS = "Currency
E_TXTACCTYPE = "Account Type Description
EXCEPTIONS
IMPORT_ERROR = 1 NOT_FOUND = 2
IMPORTING Parameters details for BKK_ACCNT_GET_DATA_FOR_BAPI
I_BKKRS - Bank Area
Data type: IBKK42-BKKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_ACNUM_INT - Internal Account Number
Data type: IBKK42-ACNUM_INTOptional: No
Call by Reference: No ( called with pass by value option)
I_LANGU -
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_ACCNT_GET_DATA_FOR_BAPI
E_CONDAREA -
Data type: IBKK42-CONDAREAOptional: No
Call by Reference: No ( called with pass by value option)
E_IBAN - International Bank Account Number
Data type: IBKK42-ACNUM_IBANOptional: No
Call by Reference: No ( called with pass by value option)
E_PRODEXT -
Data type: IBKK50-PRODEXTOptional: No
Call by Reference: No ( called with pass by value option)
E_VERSION -
Data type: IBKK42-VERSIONOptional: No
Call by Reference: No ( called with pass by value option)
E_NOSTRO -
Data type: IBKK50-NOSTROOptional: No
Call by Reference: No ( called with pass by value option)
E_ACKIND - Account Type
Data type: IBKK42-ACKINDOptional: No
Call by Reference: No ( called with pass by value option)
E_ACTEXT - Account Description
Data type: IBKK42-ACTEXTOptional: No
Call by Reference: No ( called with pass by value option)
E_WAERS - Currency
Data type: IBKK42-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
E_TXTACCTYPE - Account Type Description
Data type: IBKK50-T_ACKINDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
IMPORT_ERROR - Import Parameters not Filled
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND - Selection Did Not Provide Any Data
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BKK_ACCNT_GET_DATA_FOR_BAPI 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_i_bkkrs | TYPE IBKK42-BKKRS, " | |||
| lv_e_condarea | TYPE IBKK42-CONDAREA, " | |||
| lv_import_error | TYPE IBKK42, " | |||
| lv_e_iban | TYPE IBKK42-ACNUM_IBAN, " | |||
| lv_not_found | TYPE IBKK42, " | |||
| lv_i_acnum_int | TYPE IBKK42-ACNUM_INT, " | |||
| lv_i_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_e_prodext | TYPE IBKK50-PRODEXT, " | |||
| lv_e_version | TYPE IBKK42-VERSION, " | |||
| lv_e_nostro | TYPE IBKK50-NOSTRO, " | |||
| lv_e_ackind | TYPE IBKK42-ACKIND, " | |||
| lv_e_actext | TYPE IBKK42-ACTEXT, " | |||
| lv_e_waers | TYPE IBKK42-WAERS, " | |||
| lv_e_txtacctype | TYPE IBKK50-T_ACKIND. " |
|   CALL FUNCTION 'BKK_ACCNT_GET_DATA_FOR_BAPI' "BCA: Operational BAPI Data |
| EXPORTING | ||
| I_BKKRS | = lv_i_bkkrs | |
| I_ACNUM_INT | = lv_i_acnum_int | |
| I_LANGU | = lv_i_langu | |
| IMPORTING | ||
| E_CONDAREA | = lv_e_condarea | |
| E_IBAN | = lv_e_iban | |
| E_PRODEXT | = lv_e_prodext | |
| E_VERSION | = lv_e_version | |
| E_NOSTRO | = lv_e_nostro | |
| E_ACKIND | = lv_e_ackind | |
| E_ACTEXT | = lv_e_actext | |
| E_WAERS | = lv_e_waers | |
| E_TXTACCTYPE | = lv_e_txtacctype | |
| EXCEPTIONS | ||
| IMPORT_ERROR = 1 | ||
| NOT_FOUND = 2 | ||
| . " BKK_ACCNT_GET_DATA_FOR_BAPI | ||
ABAP code using 7.40 inline data declarations to call FM BKK_ACCNT_GET_DATA_FOR_BAPI
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 BKKRS FROM IBKK42 INTO @DATA(ld_i_bkkrs). | ||||
| "SELECT single CONDAREA FROM IBKK42 INTO @DATA(ld_e_condarea). | ||||
| "SELECT single ACNUM_IBAN FROM IBKK42 INTO @DATA(ld_e_iban). | ||||
| "SELECT single ACNUM_INT FROM IBKK42 INTO @DATA(ld_i_acnum_int). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_i_langu). | ||||
| DATA(ld_i_langu) | = SY-LANGU. | |||
| "SELECT single PRODEXT FROM IBKK50 INTO @DATA(ld_e_prodext). | ||||
| "SELECT single VERSION FROM IBKK42 INTO @DATA(ld_e_version). | ||||
| "SELECT single NOSTRO FROM IBKK50 INTO @DATA(ld_e_nostro). | ||||
| "SELECT single ACKIND FROM IBKK42 INTO @DATA(ld_e_ackind). | ||||
| "SELECT single ACTEXT FROM IBKK42 INTO @DATA(ld_e_actext). | ||||
| "SELECT single WAERS FROM IBKK42 INTO @DATA(ld_e_waers). | ||||
| "SELECT single T_ACKIND FROM IBKK50 INTO @DATA(ld_e_txtacctype). | ||||
Search for further information about these or an SAP related objects