SAP FKK_BOLETO_INST_CODE_KEYS Function Module for Boleto: Instruction Code and Instruction Keys
FKK_BOLETO_INST_CODE_KEYS is a standard fkk boleto inst code keys SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Boleto: Instruction Code and Instruction Keys 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 fkk boleto inst code keys FM, simply by entering the name FKK_BOLETO_INST_CODE_KEYS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKK_BOL2
Program Name: SAPLFKK_BOL2
Main Program: SAPLFKK_BOL2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_BOLETO_INST_CODE_KEYS 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 'FKK_BOLETO_INST_CODE_KEYS'"Boleto: Instruction Code and Instruction Keys.
EXPORTING
I_OPBUK = "Reference for Organization
I_HKTID = "Short key for a house bank
I_HBKID = "Short key for a house bank
I_BOCOD = "Instruction code
CHANGING
I_KEY1 = "Instruction key 1
I_KEY2 = "Instruction key 2
I_KEY3 = "Instruction key 3
I_KEY4 = "Instruction key 4
IMPORTING Parameters details for FKK_BOLETO_INST_CODE_KEYS
I_OPBUK - Reference for Organization
Data type: DFKKBOH-ORG1ROptional: No
Call by Reference: Yes
I_HKTID - Short key for a house bank
Data type: DFKKBOH-HKTIDOptional: No
Call by Reference: Yes
I_HBKID - Short key for a house bank
Data type: DFKKBOH-HBKIDOptional: No
Call by Reference: Yes
I_BOCOD - Instruction code
Data type: DFKKBOH-BOCODOptional: No
Call by Reference: Yes
CHANGING Parameters details for FKK_BOLETO_INST_CODE_KEYS
I_KEY1 - Instruction key 1
Data type: DFKKBOH-KEY1Optional: No
Call by Reference: Yes
I_KEY2 - Instruction key 2
Data type: DFKKBOH-KEY2Optional: No
Call by Reference: Yes
I_KEY3 - Instruction key 3
Data type: DFKKBOH-KEY3Optional: No
Call by Reference: Yes
I_KEY4 - Instruction key 4
Data type: DFKKBOH-KEY4Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_BOLETO_INST_CODE_KEYS 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_key1 | TYPE DFKKBOH-KEY1, " | |||
| lv_i_opbuk | TYPE DFKKBOH-ORG1R, " | |||
| lv_i_key2 | TYPE DFKKBOH-KEY2, " | |||
| lv_i_hktid | TYPE DFKKBOH-HKTID, " | |||
| lv_i_key3 | TYPE DFKKBOH-KEY3, " | |||
| lv_i_hbkid | TYPE DFKKBOH-HBKID, " | |||
| lv_i_key4 | TYPE DFKKBOH-KEY4, " | |||
| lv_i_bocod | TYPE DFKKBOH-BOCOD. " |
|   CALL FUNCTION 'FKK_BOLETO_INST_CODE_KEYS' "Boleto: Instruction Code and Instruction Keys |
| EXPORTING | ||
| I_OPBUK | = lv_i_opbuk | |
| I_HKTID | = lv_i_hktid | |
| I_HBKID | = lv_i_hbkid | |
| I_BOCOD | = lv_i_bocod | |
| CHANGING | ||
| I_KEY1 | = lv_i_key1 | |
| I_KEY2 | = lv_i_key2 | |
| I_KEY3 | = lv_i_key3 | |
| I_KEY4 | = lv_i_key4 | |
| . " FKK_BOLETO_INST_CODE_KEYS | ||
ABAP code using 7.40 inline data declarations to call FM FKK_BOLETO_INST_CODE_KEYS
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 KEY1 FROM DFKKBOH INTO @DATA(ld_i_key1). | ||||
| "SELECT single ORG1R FROM DFKKBOH INTO @DATA(ld_i_opbuk). | ||||
| "SELECT single KEY2 FROM DFKKBOH INTO @DATA(ld_i_key2). | ||||
| "SELECT single HKTID FROM DFKKBOH INTO @DATA(ld_i_hktid). | ||||
| "SELECT single KEY3 FROM DFKKBOH INTO @DATA(ld_i_key3). | ||||
| "SELECT single HBKID FROM DFKKBOH INTO @DATA(ld_i_hbkid). | ||||
| "SELECT single KEY4 FROM DFKKBOH INTO @DATA(ld_i_key4). | ||||
| "SELECT single BOCOD FROM DFKKBOH INTO @DATA(ld_i_bocod). | ||||
Search for further information about these or an SAP related objects