RFEKA400 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RFEKA400 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Import Format SWIFT MT940 into Bank Data Buffer
Text Symbol: 151 = Table FEBVW already has an entry with key & & &
Text Symbol: 150 = Table FEBKO already has an entry with key & & & &
Text Symbol: 131 = Closing Bal.
Text Symbol: 130 = Opening Balance
Text Symbol: 120 = BNo Value PstDt Note to payee Posting text Primanota Amount
Text Symbol: 117 = Currency
Text Symbol: 116 = Account name:
Text Symbol: 115 = Statement no.:
Text Symbol: 114 = StmtDte:
Text Symbol: 113 = Account number:
Text Symbol: 112 = Bank no.:
Text Symbol: 111 = Account holder:
Text Symbol: 102 = Amount
Text Symbol: 101 = Closing Bal.
Text Symbol: 100 = Opening Balance
Text Symbol: 031 = TranTyp. External transaction +/- sign
Text Symbol: 030 = Following entries missing in table T028G:
Text Symbol: 020 = field.
Text Symbol: 019 = Therefore, enter a blank space in the "X - Import data"
Text Symbol: 018 = Bank statement is already in SAP System and need not be imported again
Text Symbol: 017 = After this step, restart processing.
Text Symbol: 016 = Refer to the manual for more notes.
Text Symbol: 015 = Enter the transactions in table T028G.
Text Symbol: 014 = table T028G.
Text Symbol: 013 = text keys, or posting texts) were in
Text Symbol: 012 = that not all external transactions (business transaction code,
Text Symbol: 011 = While importing electronic bank statement, the system determined
Text Symbol: 010 = **************************************************************************
Text Symbol: 001 = Electronic bank statement
INCLUDE RFEBKA03.
No SAP DATABASE tables are accessed within this REPORT code!
READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' "n1374462 EXPORTING "n1374462 i_arbgb = 'FV' "n1374462 i_dtype = 'A' "n1374462 i_msgnr = '783' "n1374462 IMPORTING "n1374462 e_msgty = l_msgty. "n1374462
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING id_iso_code = iso_code id_bankl = bankl * ID_BNKN2 = BNKN2 "note707650 id_bigac = l_bigac "note707650 IMPORTING ed_sap_code = sap_code EXCEPTIONS no_unique_account = 0 OTHERS = 1.
ENQUEUE_E_FEBKO CALL FUNCTION 'ENQUEUE_E_FEBKO' EXPORTING anwnd = febko-anwnd absnd = febko-absnd azidt = febko-azidt EXCEPTIONS foreign_lock = 1.
BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = ls_bapiret.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "n1321257 EXPORTING funcname = 'CHECK_IBAN' EXCEPTIONS OTHERS = 1.
CHECK_IBAN CALL FUNCTION 'CHECK_IBAN' EXPORTING i_iban = l_iban EXCEPTIONS not_valid = 1 OTHERS = 2.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "start n969358 EXPORTING funcname = 'SEARCH_FOR_IBAN' EXCEPTIONS OTHERS = 1.
SEARCH_FOR_IBAN CALL FUNCTION 'SEARCH_FOR_IBAN' EXPORTING i_string = head_2 IMPORTING * e_tiban = l_tiban e_subrc = l_subrc.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' "n1051145 EXPORTING "n1051145 filename = l_auszug_file "n1051145 filetype = 'ASC' "n1051145 codepage = l_upload_codepage "n1051145 no_auth_check = 'X' "n1051145 TABLES "n1051145 data_tab = lt_swift "n1051145 EXCEPTIONS "n1051145 file_open_error = 1 "n1051145 file_read_error = 2 "n1051145 OTHERS = 18. "n1051145
GET_POSTING_RULE CALL FUNCTION 'GET_POSTING_RULE' EXPORTING * I_VORGC = * I_BUTXT = * I_TEXTS = i_vozpm = vozpm i_vgtyp = febko-vgtyp i_vgext = xfebep-vgext * I_USING_DEFAULT = 'X' IMPORTING * E_VGEXT = e_vgint = xfebep-vgint e_intag = xfebep-intag * E_VGSAP = * E_PFORM = e_using_default = xfebep-vgdef E_DADET = DADET "n1585779 EXCEPTIONS not_found = 1 input_wrong = 2 OTHERS = 3.
GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING * I_BANKL = FEBVW-BANKL "30E i_bankl = bankl "30E * I_BNKN2 = BNKN2 "note746090 i_waers = febko-waers "31I-HP i_bigac2 = u_bigac "note746090 IMPORTING e_t012 = t012 e_t012k = t012k e_iban = c_iban "note746090 EXCEPTIONS * BANK_ACCOUNT_NOT_FOUND = 01 * BANK_KEY_FALSE = 02 * BANK_KEY_NOT_FOUND = 03 * MULTIPLE_BANK_ACCOUNT = 04 * INPUT_WRONG = 05 * CURRENCY_FALSE = 06 * CURRENCY_NOT_FOUND = 06.
GET_SHORTKEY_FOR_FEBKO CALL FUNCTION 'GET_SHORTKEY_FOR_FEBKO' EXPORTING i_tname = 'FEBKO' IMPORTING e_kukey = febko-kukey EXCEPTIONS febkey_update_error = 1.
CONVERT_YEAR_WITH_THRESHOLD CALL FUNCTION 'CONVERT_YEAR_WITH_THRESHOLD' EXPORTING input = numc02 * THRESHOLD = 50 IMPORTING output = numc04 EXCEPTIONS OTHERS = 0.
DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' "n1571841 EXPORTING DATE = L_DAT EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 OTHERS = 2 .
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' "note 428736 EXPORTING i_arbgb = 'FB' i_dtype = 'A' i_msgnr = '772' i_var01 = febko-absnd i_var02 = febko-azidt i_var03 = *febko-azidt.
BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = ls_bapiret.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' "mo141101 EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '770' i_var01 = febko-absnd i_var02 = l_azidt.
CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = ls_bapiret.
CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '876' i_var01 = febko-absnd i_var02 = l_azidt.
BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = ls_bapiret.
READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'A' i_msgnr = '759' IMPORTING e_msgty = l_759.
CURRENCY_CODE_ISO_TO_SAP * CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' * EXPORTING * ISO_CODE = P_ISO_CODE * IMPORTING * SAP_CODE = P_SAP_CODE * UNIQUE = UNIQUE * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.
EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING id_iso_code = iso_code id_bankl = bankl * ID_BNKN2 = BNKN2 id_bigac = l_bigac "note746090 IMPORTING ed_sap_code = sap_code EXCEPTIONS no_unique_account = 0 OTHERS = 1.
EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING id_iso_code = iso_code id_bankl = bankl id_bnkn2 = bnkn2 IMPORTING ed_sap_code = sap_code EXCEPTIONS no_unique_account = 0 OTHERS = 1.
GET_TAB_DATA_FOR_FEBKO CALL FUNCTION 'GET_TAB_DATA_FOR_FEBKO' EXPORTING i_bankl = bankl i_bigac2 = l_bigac * i_bankn = bankn i_anwnd = febko-anwnd IMPORTING e_t012 = t012 e_t012k = t012k e_ktopl = ktopl e_bnka = bnka e_t028b = o_t028b e_bukrs = bukrs EXCEPTIONS bank_account_not_found = 01 bank_key_false = 02 bank_key_not_found = 03 multiple_bank_account = 04 input_wrong = 05 t028b_missing = 06 tr_account_missing = 07 gl_account_missing = 08 OTHERS = 05.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RFEKA400 or its description.
RFEKA400 - Import Format SWIFT MT940 into Bank Data Buffer RFEKA400 - Import Format SWIFT MT940 into Bank Data Buffer RFEKA203_NACC - RFEKA203NACC RFEKA203 - documentation and ABAP source code RFEKA200_NACC - Import MultiCash Format to Bank Data Buffer RFEKA200_NACC - Import MultiCash Format to Bank Data Buffer