RFBVBIC2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program uses a global bank directory to import files, compares these files with existing bank data, and saves the new and changed data in the bank master (BNKA table)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFBVBIC2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BIC2 - Transfer BIC Data
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.
Selection Text: S_LISO = D .
Selection Text: S_LAND = D .
Selection Text: P_TESTU = D .
Selection Text: P_LOEVM = D .
Selection Text: S_EXPERT = Extended Settings
Selection Text: S_BUCODE = Exclude Business Code
Selection Text: P_FNAME = File Name and Path
Selection Text: P_FLOCA = Upload From
Title: Report RFBVBIC2
Text Symbol: ST3 = Banks
Text Symbol: ST2 = Lines selected
Text Symbol: ST1 = Lines in File
Text Symbol: ST0 = Status
Text Symbol: SP5 = Display Change Documents
Text Symbol: SP4 = Update Database
Text Symbol: SP3 = (Country Summary at End of List)
Text Symbol: SP2 = Overview of Changes in Bank Master
Text Symbol: SP1 = Country Summary
Text Symbol: S02 = ISO Code
Text Symbol: S01 = Country Key
Text Symbol: P14 = Update Run
Text Symbol: P07 = File Structure
Text Symbol: P06 = ALE Distribution
Text Symbol: P05 = Set Deletion Flag
Text Symbol: P04 = Test Run
Text Symbol: P03 = Compatibility Mode (RFBVBIC_0)
Text Symbol: P02 = Path and File Name
Text Symbol: P01 = Upload From
Text Symbol: LCK = Lock Bank Master for Update
Text Symbol: ST4 = Selected
Text Symbol: ST5 = Created
Text Symbol: ST6 = Modified
Text Symbol: ST7 = Flagged
Text Symbol: ST8 = for Deletion
Text Symbol: ST9 = Unchanged
Text Symbol: STA = Country
Text Symbol: STB = ISO Code
Text Symbol: STC = Banks with
INCLUDE RFBVBIC01.
INCLUDE RFBVBIC04.
INCLUDE RFBVBIC21.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = g_lfilename CHANGING physical_filename = p_fname EXCEPTIONS OTHERS = 1.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynp_fields.
KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING static = 'X' * mask = '*.TXT'
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynp_fields.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = g_lfilename including_dir = 'X' IMPORTING file_name = g_fname_a EXCEPTIONS file_not_found = 1 OTHERS = 2.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P_KEYTYP' values = gt_bnkey5_value.
CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P_KEYTYP' values = gt_bnkey_value.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = l_id values = lt_value.
BANK_PROCESS CALL FUNCTION 'BANK_PROCESS' EXPORTING i_banks = wa_master-land1 TABLES itab_bnka = wa_master-tbnka dbnka = ibnka tab_insert = tab_insert tab_delete = tab_delete tab_modify = tab_modify tab_nomodi = tab_nomodi.
BANK_INSERT CALL FUNCTION 'BANK_INSERT' EXPORTING i_real = real IMPORTING cnt_sinsert = cnt-sinsert cnt_einsert = cnt-einsert TABLES tab_insert = tab_insert suctab = suctab errtab = errtab.
BANK_MODIFY CALL FUNCTION 'BANK_MODIFY' EXPORTING i_real = real IMPORTING cnt_supdate = cnt-supdate cnt_eupdate = cnt-eupdate TABLES tab_modify = tab_modify suctab = suctab errtab = errtab.
BANK_MARK_FOR_DELETION CALL FUNCTION 'BANK_MARK_FOR_DELETION' EXPORTING i_real = real i_dele = p_loevm IMPORTING cnt_sdelete = cnt-sdelete cnt_edelete = cnt-edelete TABLES tab_delete = tab_delete suctab = suctab errtab = errtab.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_prc text = l_text EXCEPTIONS OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = text_p06 EXCEPTIONS OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 25 text = text_sp4 EXCEPTIONS OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_prc text = text_sp5 EXCEPTIONS OTHERS = 0.
BANK_WRITE_DOCUMENT CALL FUNCTION 'BANK_WRITE_DOCUMENT' EXPORTING objectid = l_objectid tcode = sy-tcode utime = sy-uzeit udate = sy-datum username = sy-uname object_change_indicator = wa_result-updkz n_bnka = wa_bnkn o_bnka = wa_bnko upd_bnka = wa_result-updkz.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 99 text = text_sp2 EXCEPTIONS OTHERS = 0.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'LIST_USER_COMMAND' it_fieldcat = b_fields is_layout = b_layout it_events = b_events TABLES t_outtab = gt_bnku.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_tabname langu = sy-langu lfieldname = l_fname all_types = 'X' IMPORTING dfies_wa = dfies_wa EXCEPTIONS OTHERS = 4.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_comm.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BNKA' all_types = 'X' TABLES dfies_tab = lt_dfies EXCEPTIONS OTHERS = 3.
REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text_dt1 i_selection = ' ' i_allow_no_selection = 'X' i_zebra = 'X' i_tabname = 'LT_DETAIL' it_fieldcat = d_fields it_excluding = lt_extab TABLES t_outtab = lt_detail EXCEPTIONS OTHERS = 2.
ENQUEUE_EFBNKA CALL FUNCTION 'ENQUEUE_EFBNKA' EXCEPTIONS foreign_lock = 1 system_failure = 2.
DEQUEUE_EFBNKA CALL FUNCTION 'DEQUEUE_EFBNKA'.
ALE_BANK_GET_CONSYSTEM CALL FUNCTION 'ALE_BANK_GET_CONSYSTEM' IMPORTING e_consystem_flag = l_consystem_flag EXCEPTIONS own_logical_system_not_defined = 1 cons_system_not_defined = 2 OTHERS = 3.
ALE_ASYNC_BAPI_GET_RECEIVER CALL FUNCTION 'ALE_ASYNC_BAPI_GET_RECEIVER' EXPORTING object = 'BUS1011' method = l_method TABLES receivers = lt_receivers filterobject_values = lt_filterobject_values EXCEPTIONS error_in_filterobjects = 1 error_in_ale_customizing = 2 OTHERS = 3.
MASTERIDOC_CREATE_REQ_ADRMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ADRMAS' EXPORTING obj_type = 'BUS1011' obj_id = l_object_id context = '0001' TABLES receivers = lt_receivers EXCEPTIONS OTHERS = 6.
ALE_BANK_SAVEREPLICA CALL FUNCTION 'ALE_BANK_SAVEREPLICA' EXPORTING bankctry = wa_bnka-banks bankkey = wa_bnka-bankl bankaddress = l_bankaddress bankdetail = l_bankdetail TABLES receivers = lt_receivers communication_documents = lt_docs EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.
ADDR_GET_COMPLETE CALL FUNCTION 'ADDR_GET_COMPLETE' EXPORTING addrnumber = wa_bnka-adrnr IMPORTING addr1_complete = l_addr1_complete EXCEPTIONS parameter_error = 1 address_not_exist = 2 internal_error = 3 OTHERS = 4.
ADDR_CONVERT_TO_BAPIADDR1 CALL FUNCTION 'ADDR_CONVERT_TO_BAPIADDR1' EXPORTING addr1_complete = l_addr1_complete IMPORTING addr1_complete_bapi = l_bankaddress1.
BAPI_BANK_GETDETAIL CALL FUNCTION 'BAPI_BANK_GETDETAIL' DESTINATION wa_receivers-logsys EXPORTING bankcountry = wa_bnka-banks bankkey = wa_bnka-bankl IMPORTING return = l_return.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'BAPIADDR1X' TABLES dfies_tab = l_dfies EXCEPTIONS not_found = 1 OTHERS = 2.
ALE_BANK_CHANGE CALL FUNCTION 'ALE_BANK_CHANGE' EXPORTING bankcountry = wa_bnka-banks bankkey = wa_bnka-bankl bankaddress = l_bankaddress bankaddressx = l_bankaddressx bankdetail = l_bankdetail bankdetailx = l_bankdetailx bankaddress1 = l_bankaddress1 bankaddress1x = l_bankaddress1x TABLES receivers = lt_receivers_change communication_documents = lt_docs EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.
ALE_BANK_CREATE CALL FUNCTION 'ALE_BANK_CREATE' EXPORTING bankctry = wa_bnka-banks bankkey = wa_bnka-bankl bankaddress = l_bankaddress bankmethod = wa_bnka-chkme bankaddress1 = l_bankaddress1 TABLES receivers = lt_receivers_create communication_documents = lt_docs EXCEPTIONS error_creating_idocs = 1 OTHERS = 2.
EDI_DOCUMENT_DEQUEUE_LATER CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER' EXPORTING docnum = l_docnum.
EDI_DOCUMENT_DEQUEUE_LATER CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER' EXPORTING docnum = l_docnum.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 1 text = text_tit EXCEPTIONS OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_prc text = l_text EXCEPTIONS OTHERS = 0.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = l_filename filetype = 'ASC' TABLES data_tab = lt_plain EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = g_lfilename CHANGING physical_filename = l_filename EXCEPTIONS OTHERS = 1.
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 RFBVBIC2 or its description.