SAP FKK_BSTM_LOAD_MULTICASH_DATA Function Module for
FKK_BSTM_LOAD_MULTICASH_DATA is a standard fkk bstm load multicash data 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 fkk bstm load multicash data FM, simply by entering the name FKK_BSTM_LOAD_MULTICASH_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKKAANBMC
Program Name: SAPLFKKAANBMC
Main Program: SAPLFKKAANBMC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_BSTM_LOAD_MULTICASH_DATA 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_BSTM_LOAD_MULTICASH_DATA'".
EXPORTING
* I_X_LOAD = 'X' "
* PCUPLOAD = "
* AUSFILE = "
* UMSFILE = "
* I_LAST_STM_READ = 0 "
* I_LAST_POS_READ = 0 "
* I_LAST_POS_READ_LG = 0 "
* I_BLOCKSIZE = 999999999 "
* I_NONUNICODE = "Non Unicode
IMPORTING
E_LAST_KUKEY_READ = "
E_LAST_ESNUM_READ = "
E_LAST_ESNUM_READ_LG = "
E_X_EOF = "
TABLES
E_FEBKO = "Electronic Bank Statement Header Records
* E_FEBEP = "Electronic Bank Statement Line Items
* E_FEBRE = "Reference record for electronic bank statement line item
* E_FKKBEP = "
* E_FKKBRE = "
EXCEPTIONS
FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 CONVERSION_ERROR = 3
IMPORTING Parameters details for FKK_BSTM_LOAD_MULTICASH_DATA
I_X_LOAD -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PCUPLOAD -
Data type: RFPDO1-FEBPCUPLDOptional: Yes
Call by Reference: No ( called with pass by value option)
AUSFILE -
Data type: RFPDO1-FEBAUSZFOptional: Yes
Call by Reference: Yes
UMSFILE -
Data type: RFPDO1-FEBUMSFOptional: Yes
Call by Reference: Yes
I_LAST_STM_READ -
Data type: FEBKO-KUKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LAST_POS_READ -
Data type: FEBEP-ESNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LAST_POS_READ_LG -
Data type: FKKBEP-ESNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BLOCKSIZE -
Data type: SY-DBCNTDefault: 999999999
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NONUNICODE - Non Unicode
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_BSTM_LOAD_MULTICASH_DATA
E_LAST_KUKEY_READ -
Data type: FEBKO-KUKEYOptional: No
Call by Reference: No ( called with pass by value option)
E_LAST_ESNUM_READ -
Data type: FEBEP-ESNUMOptional: No
Call by Reference: No ( called with pass by value option)
E_LAST_ESNUM_READ_LG -
Data type: FKKBEP-ESNUMOptional: No
Call by Reference: No ( called with pass by value option)
E_X_EOF -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_BSTM_LOAD_MULTICASH_DATA
E_FEBKO - Electronic Bank Statement Header Records
Data type: FEBKOOptional: No
Call by Reference: Yes
E_FEBEP - Electronic Bank Statement Line Items
Data type: FEBEPOptional: Yes
Call by Reference: Yes
E_FEBRE - Reference record for electronic bank statement line item
Data type: FEBREOptional: Yes
Call by Reference: Yes
E_FKKBEP -
Data type: FKKBEPOptional: Yes
Call by Reference: Yes
E_FKKBRE -
Data type: FKKBREOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
FILE_OPEN_ERROR - File does not exist. It cannot be opened
Data type:Optional: No
Call by Reference: Yes
FILE_READ_ERROR - Error when reading file
Data type:Optional: No
Call by Reference: Yes
CONVERSION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_BSTM_LOAD_MULTICASH_DATA 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: | ||||
| lt_e_febko | TYPE STANDARD TABLE OF FEBKO, " | |||
| lv_i_x_load | TYPE XFELD, " 'X' | |||
| lv_file_open_error | TYPE XFELD, " | |||
| lv_e_last_kukey_read | TYPE FEBKO-KUKEY, " | |||
| lt_e_febep | TYPE STANDARD TABLE OF FEBEP, " | |||
| lv_pcupload | TYPE RFPDO1-FEBPCUPLD, " | |||
| lv_file_read_error | TYPE RFPDO1, " | |||
| lv_e_last_esnum_read | TYPE FEBEP-ESNUM, " | |||
| lv_ausfile | TYPE RFPDO1-FEBAUSZF, " | |||
| lt_e_febre | TYPE STANDARD TABLE OF FEBRE, " | |||
| lv_conversion_error | TYPE FEBRE, " | |||
| lv_e_last_esnum_read_lg | TYPE FKKBEP-ESNUM, " | |||
| lv_e_x_eof | TYPE C, " | |||
| lv_umsfile | TYPE RFPDO1-FEBUMSF, " | |||
| lt_e_fkkbep | TYPE STANDARD TABLE OF FKKBEP, " | |||
| lt_e_fkkbre | TYPE STANDARD TABLE OF FKKBRE, " | |||
| lv_i_last_stm_read | TYPE FEBKO-KUKEY, " 0 | |||
| lv_i_last_pos_read | TYPE FEBEP-ESNUM, " 0 | |||
| lv_i_last_pos_read_lg | TYPE FKKBEP-ESNUM, " 0 | |||
| lv_i_blocksize | TYPE SY-DBCNT, " 999999999 | |||
| lv_i_nonunicode | TYPE XFELD. " |
|   CALL FUNCTION 'FKK_BSTM_LOAD_MULTICASH_DATA' " |
| EXPORTING | ||
| I_X_LOAD | = lv_i_x_load | |
| PCUPLOAD | = lv_pcupload | |
| AUSFILE | = lv_ausfile | |
| UMSFILE | = lv_umsfile | |
| I_LAST_STM_READ | = lv_i_last_stm_read | |
| I_LAST_POS_READ | = lv_i_last_pos_read | |
| I_LAST_POS_READ_LG | = lv_i_last_pos_read_lg | |
| I_BLOCKSIZE | = lv_i_blocksize | |
| I_NONUNICODE | = lv_i_nonunicode | |
| IMPORTING | ||
| E_LAST_KUKEY_READ | = lv_e_last_kukey_read | |
| E_LAST_ESNUM_READ | = lv_e_last_esnum_read | |
| E_LAST_ESNUM_READ_LG | = lv_e_last_esnum_read_lg | |
| E_X_EOF | = lv_e_x_eof | |
| TABLES | ||
| E_FEBKO | = lt_e_febko | |
| E_FEBEP | = lt_e_febep | |
| E_FEBRE | = lt_e_febre | |
| E_FKKBEP | = lt_e_fkkbep | |
| E_FKKBRE | = lt_e_fkkbre | |
| EXCEPTIONS | ||
| FILE_OPEN_ERROR = 1 | ||
| FILE_READ_ERROR = 2 | ||
| CONVERSION_ERROR = 3 | ||
| . " FKK_BSTM_LOAD_MULTICASH_DATA | ||
ABAP code using 7.40 inline data declarations to call FM FKK_BSTM_LOAD_MULTICASH_DATA
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.| DATA(ld_i_x_load) | = 'X'. | |||
| "SELECT single KUKEY FROM FEBKO INTO @DATA(ld_e_last_kukey_read). | ||||
| "SELECT single FEBPCUPLD FROM RFPDO1 INTO @DATA(ld_pcupload). | ||||
| "SELECT single ESNUM FROM FEBEP INTO @DATA(ld_e_last_esnum_read). | ||||
| "SELECT single FEBAUSZF FROM RFPDO1 INTO @DATA(ld_ausfile). | ||||
| "SELECT single ESNUM FROM FKKBEP INTO @DATA(ld_e_last_esnum_read_lg). | ||||
| "SELECT single FEBUMSF FROM RFPDO1 INTO @DATA(ld_umsfile). | ||||
| "SELECT single KUKEY FROM FEBKO INTO @DATA(ld_i_last_stm_read). | ||||
| "SELECT single ESNUM FROM FEBEP INTO @DATA(ld_i_last_pos_read). | ||||
| "SELECT single ESNUM FROM FKKBEP INTO @DATA(ld_i_last_pos_read_lg). | ||||
| "SELECT single DBCNT FROM SY INTO @DATA(ld_i_blocksize). | ||||
| DATA(ld_i_blocksize) | = 999999999. | |||
Search for further information about these or an SAP related objects