SAP BANKCHAIN_API_CREATE Function Module for
BANKCHAIN_API_CREATE is a standard bankchain api create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bankchain api create FM, simply by entering the name BANKCHAIN_API_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FIBD_API
Program Name: SAPLFIBD_API
Main Program: SAPLFIBD_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BANKCHAIN_API_CREATE 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 'BANKCHAIN_API_CREATE'".
EXPORTING
* I_BANKS_REC = "
* I_BKREF_REC = "
* I_BKONT_REC = "
* I_BANKCHAIN = "
* I_BANKK_REC = "
* I_BANKN_REC = "
* I_IBAN_REC = "
* I_BUKRS_HB = "
* I_HBKID_HB = "
* I_HKTID_HB = "
* I_WAERS = "
* I_UZAWE = "
IMPORTING
E_MESSAGE = "
IMPORTING Parameters details for BANKCHAIN_API_CREATE
I_BANKS_REC -
Data type: TBCHAIN2-BANKSRECOptional: Yes
Call by Reference: Yes
I_BKREF_REC -
Data type: BKREFOptional: Yes
Call by Reference: Yes
I_BKONT_REC -
Data type: BKONTOptional: Yes
Call by Reference: Yes
I_BANKCHAIN -
Data type: BANKCHAINOptional: Yes
Call by Reference: Yes
I_BANKK_REC -
Data type: TBCHAIN2-BANKKRECOptional: Yes
Call by Reference: Yes
I_BANKN_REC -
Data type: TBCHAIN2-BANKNRECOptional: Yes
Call by Reference: Yes
I_IBAN_REC -
Data type: TIBAN-IBANOptional: Yes
Call by Reference: Yes
I_BUKRS_HB -
Data type: T012-BUKRSOptional: Yes
Call by Reference: Yes
I_HBKID_HB -
Data type: T012-HBKIDOptional: Yes
Call by Reference: Yes
I_HKTID_HB -
Data type: T012K-HKTIDOptional: Yes
Call by Reference: Yes
I_WAERS -
Data type: TBCHAIN2-WAERSOptional: Yes
Call by Reference: Yes
I_UZAWE -
Data type: TBCHAIN2-UZAWEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for BANKCHAIN_API_CREATE
E_MESSAGE -
Data type: BAPIRET1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BANKCHAIN_API_CREATE 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_e_message | TYPE BAPIRET1, " | |||
| lv_i_banks_rec | TYPE TBCHAIN2-BANKSREC, " | |||
| lv_i_bkref_rec | TYPE BKREF, " | |||
| lv_i_bkont_rec | TYPE BKONT, " | |||
| lv_i_bankchain | TYPE BANKCHAIN, " | |||
| lv_i_bankk_rec | TYPE TBCHAIN2-BANKKREC, " | |||
| lv_i_bankn_rec | TYPE TBCHAIN2-BANKNREC, " | |||
| lv_i_iban_rec | TYPE TIBAN-IBAN, " | |||
| lv_i_bukrs_hb | TYPE T012-BUKRS, " | |||
| lv_i_hbkid_hb | TYPE T012-HBKID, " | |||
| lv_i_hktid_hb | TYPE T012K-HKTID, " | |||
| lv_i_waers | TYPE TBCHAIN2-WAERS, " | |||
| lv_i_uzawe | TYPE TBCHAIN2-UZAWE. " |
|   CALL FUNCTION 'BANKCHAIN_API_CREATE' " |
| EXPORTING | ||
| I_BANKS_REC | = lv_i_banks_rec | |
| I_BKREF_REC | = lv_i_bkref_rec | |
| I_BKONT_REC | = lv_i_bkont_rec | |
| I_BANKCHAIN | = lv_i_bankchain | |
| I_BANKK_REC | = lv_i_bankk_rec | |
| I_BANKN_REC | = lv_i_bankn_rec | |
| I_IBAN_REC | = lv_i_iban_rec | |
| I_BUKRS_HB | = lv_i_bukrs_hb | |
| I_HBKID_HB | = lv_i_hbkid_hb | |
| I_HKTID_HB | = lv_i_hktid_hb | |
| I_WAERS | = lv_i_waers | |
| I_UZAWE | = lv_i_uzawe | |
| IMPORTING | ||
| E_MESSAGE | = lv_e_message | |
| . " BANKCHAIN_API_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM BANKCHAIN_API_CREATE
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 BANKSREC FROM TBCHAIN2 INTO @DATA(ld_i_banks_rec). | ||||
| "SELECT single BANKKREC FROM TBCHAIN2 INTO @DATA(ld_i_bankk_rec). | ||||
| "SELECT single BANKNREC FROM TBCHAIN2 INTO @DATA(ld_i_bankn_rec). | ||||
| "SELECT single IBAN FROM TIBAN INTO @DATA(ld_i_iban_rec). | ||||
| "SELECT single BUKRS FROM T012 INTO @DATA(ld_i_bukrs_hb). | ||||
| "SELECT single HBKID FROM T012 INTO @DATA(ld_i_hbkid_hb). | ||||
| "SELECT single HKTID FROM T012K INTO @DATA(ld_i_hktid_hb). | ||||
| "SELECT single WAERS FROM TBCHAIN2 INTO @DATA(ld_i_waers). | ||||
| "SELECT single UZAWE FROM TBCHAIN2 INTO @DATA(ld_i_uzawe). | ||||
Search for further information about these or an SAP related objects