SAP Reports / Programs | Financials | Financial Supply Chain Management | Basic Functions(FIN-FSCM-CLM-CM-CM) SAP FIN

RFEKA700 SAP ABAP Report - Import Format BAI to the Interim Bank Data Store







RFEKA700 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 RFEKA700 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RFEKA700. "Basic submit
SUBMIT RFEKA700 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEKA700 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Import Format BAI to the Interim Bank Data Store
Text Symbol: 203 = Availability:
Text Symbol: 301 = Date Check
Text Symbol: 302 = Date Difference Between Record 1 and Record 2
Text Symbol: 303 = File is not from today
Text Symbol: 304 = Do you want to proceed?
Text Symbol: 305 = File is not from previous day
Text Symbol: 306 = Bank/Account Number:
Text Symbol: 307 = is not maintained in table T028Q
Text Symbol: 308 = Skip
Text Symbol: 309 = Evaluation
Text Symbol: 310 = File Name:
Text Symbol: 311 = Bank/Account Number:
Text Symbol: 312 = Check Subtotals
Text Symbol: 313 = Check Completed
Text Symbol: 314 = Subtotal Is OK
Text Symbol: 315 = Group Subtotal Is OK
Text Symbol: 316 = File Total Is OK
Text Symbol: 317 = Check Failed
Text Symbol: 318 = Calculated Total:
Text Symbol: 319 = Delivered Total:
Text Symbol: 320 = Check of Group Subtotal Failed
Text Symbol: 321 = Check of File Total Failed
Text Symbol: 322 = Additional Check
Text Symbol: 323 = Bank:
Text Symbol: 324 = Acct:
Text Symbol: 325 = swapped with:
Text Symbol: 326 = Does Not Exist in T028B. Customizing Needed
Text Symbol: 327 = Difference in Date Between:
Text Symbol: 328 = Date the same between:
Text Symbol: 329 = Calculated Total:
Text Symbol: 330 = Delivered Total:
Text Symbol: 331 = Messages
Text Symbol: 001 = Electronic bank statement
Text Symbol: 010 = **************************************************************************
Text Symbol: 011 = While importing electronic bank statement, the system determined
Text Symbol: 012 = that not all ext.transactions (business transaction code
Text Symbol: 013 = text keys, or posting texts) were in





Text Symbol: 014 = table T028G.
Text Symbol: 015 = Enter the transactions in table T028G.
Text Symbol: 016 = Refer to the manual for more notes.
Text Symbol: 017 = After this step, restart processing.
Text Symbol: 018 = Bank statement is already in SAP System and need not be imported again
Text Symbol: 019 = Therefore, enter a blank space in the "X - Import data"
Text Symbol: 020 = field.
Text Symbol: 030 = Following entries missing in table T028G:
Text Symbol: 031 = TranTyp. External transaction +/- sign
Text Symbol: 035 = Undefined Ext Vorg Reallocated
Text Symbol: 100 = Opening Bal.
Text Symbol: 101 = ClsgBal.
Text Symbol: 102 = Amount
Text Symbol: 111 = Acct holder:
Text Symbol: 112 = BNo:
Text Symbol: 113 = Acct number:
Text Symbol: 114 = StmtDte:
Text Symbol: 115 = Statement no:
Text Symbol: 116 = Account name:
Text Symbol: 117 = Currncy
Text Symbol: 120 = BNo Value PstDt Note to payee Posting text Primanota Amount
Text Symbol: 130 = Opening Bal.
Text Symbol: 131 = ClsgBal.
Text Symbol: 150 = Table FEBKO already has an entry with key & & & &
Text Symbol: 151 = Table FEBVW already has an entry with key & & &
Text Symbol: 200 = Available on
Text Symbol: 201 = Debited on
Text Symbol: 202 = In two or more days


INCLUDES used within this REPORT RFEKA700

INCLUDE RFEBKA03.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.

GET_POSTING_RULE CALL FUNCTION 'GET_POSTING_RULE' EXPORTING * I_VORGC = * I_BUTXT = * I_TEXTS = i_vozpm = vozpm i_vgtyp = febko-vgtyp i_vgext = xtcode * I_USING_DEFAULT = 'X' IMPORTING * e_vgext = xtcode e_vgint = xvgint e_intag = xintag * E_VGSAP = e_pform = xpform e_using_default = xfebep-vgdef 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 IMPORTING e_t012 = t012 e_t012k = t012k 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 = 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.

READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '772' IMPORTING e_msgty = l_msgtype.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '772' i_var01 = febko-ktonr i_var02 = febko-aznum i_var03 = i_febko-aznum.

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 = 'I' i_msgnr = '729' IMPORTING e_msgty = l_msgtype.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '729' i_var01 = febko-ktonr i_var02 = febko-aznum i_var03 = i_febko-aznum.

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.

CONVERT_YEAR_WITH_THRESHOLD CALL FUNCTION 'CONVERT_YEAR_WITH_THRESHOLD' EXPORTING input = numc02 * THRESHOLD = 50 IMPORTING output = numc04 EXCEPTIONS OTHERS = 1.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING currency = sap_waers idoc_amount = amount_tmp IMPORTING sap_amount = sap_amount EXCEPTIONS OTHERS = 1.

GET_TAB_DATA_FOR_FEBKO CALL FUNCTION 'GET_TAB_DATA_FOR_FEBKO' EXPORTING i_bankl = bankl i_bnkn2 = bnkn2 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.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'FEB_BSIMP' number = '070' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'FEB_BSIMP' number = '070' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'FEB_BSIMP' number = '061' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'FEB_BSIMP' number = '062' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'FEB_BSIMP' number = '074' IMPORTING return = ls_bapiret.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-301 text_question = l_mess text_button_1 = 'Yes' text_button_2 = 'No' default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

BALW_BAPIRETURN_GET2



CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'W' cl = 'FEB_BSIMP' number = '075' IMPORTING return = ls_bapiret.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-301 text_question = l_mess text_button_1 = 'Yes' text_button_2 = 'No' default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'FB' number = '911' par1 = msgv1 par2 = msgv2 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'I' cl = 'FEB_BSIMP' number = '079' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'I' cl = 'FEB_BSIMP' number = '079' par1 = msgv1 par2 = msgv2 par3 = msgv3 IMPORTING return = ls_bapiret.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'FB' number = '911' par1 = msgv1 par2 = msgv2 IMPORTING return = ls_bapiret.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = gs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = i_t_log_handle = lt_log_handle * I_T_MSG_HANDLE = i_s_display_profile = c_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = p_log_handle i_msgty = p_msgty * I_PROBCLASS = '4' i_text = p_text * I_S_CONTEXT = * I_S_PARAMS = * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4 .



Contribute (Add Comments)

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 RFEKA700 or its description.