SAP Reports / Programs | Financial Accounting(FI) SAP FI

RDRBFI00 SAP ABAP Report - Accounting Documents







RDRBFI00 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 RDRBFI00 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 RDRBFI00. "Basic submit
SUBMIT RDRBFI00 AND RETURN. "Return to original report after report execution complete
SUBMIT RDRBFI00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: XBLNR = D Reference
Selection Text: MONAT = D Posting Period
Selection Text: MAXHITS = Maximum Number of Hits
Selection Text: GJAHR = D Fiscal Year
Selection Text: BUKRS = D Company Code
Selection Text: BUDAT = D Posting Date
Selection Text: BLART = D Document Type
Selection Text: BELNR = D Document Number
Title: Accounting Documents
Text Symbol: 005 = Read Database
Text Symbol: 004 = Read Archive Information System:
Text Symbol: 003 = Display being prepared
Text Symbol: 002 = Read Archive Index
Text Symbol: 001 = Read Archive


INCLUDES used within this REPORT RDRBFI00

No INCLUDES are used within this REPORT code!


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:

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = 'FI_DOCUMNT' IMPORTING archive_handle = l_handle TABLES archive_files = t_rng_archiv[] selected_files = lt_files[].

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = l_handle EXCEPTIONS end_of_file = 1.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_handle.

ARCHIVE_READ_OBJECT CALL FUNCTION 'ARCHIVE_READ_OBJECT' EXPORTING object = 'FI_DOCUMNT' archivkey = -archivekey offset = -archiveofs IMPORTING archive_handle = l_handle EXCEPTIONS OTHERS = 42.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = l_handle.

AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = v_fieldcat i_selections = lt_frange IMPORTING e_result = lt_archptr[] EXCEPTIONS no_infostruc_found = 0.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = 'BKPF' TABLES x031l_tab = lt_x031l[].

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_user_command = 'ALV_USER_COMMAND' it_fieldcat = lt_fieldcat[] i_save = 'A' is_variant = l_disvariant is_layout = l_layout TABLES t_outtab = gt_bkpf[].

ASH_HIERARCHY_SHOW CALL FUNCTION 'ASH_HIERARCHY_SHOW' EXPORTING i_borident = l_borident.

FI_ADD_AUTHORITY_CHECK CALL FUNCTION 'FI_ADD_AUTHORITY_CHECK' EXPORTING i_bukrs = u_bkpf-bukrs IMPORTING e_xblar = l_blar_check.

FI_BLART_AUTH_CHECK CALL FUNCTION 'FI_BLART_AUTH_CHECK' EXPORTING i_bukrs = u_bkpf-bukrs i_blart = u_bkpf-blart i_aktvt = '03' IMPORTING e_rtcode = l_rtcode.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = l_percentage text = l_text.

RS_SUBMIT_INFO CALL FUNCTION 'RS_SUBMIT_INFO' IMPORTING p_submit_info = ls_submit_info.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'STANDARD' p_program = 'RDRBFI00' TABLES p_exclude = lt_excl_dummy.

KARL_DATA_INPUT_INIT CALL FUNCTION 'KARL_DATA_INPUT_INIT' EXPORTING i_report = 'RDRBFI00' IMPORTING e_xusedb = r_usedb e_xusear = r_usear e_infosys = r_infosys TABLES t_objects = lt_object[] t_arch_sel = t_rng_archiv[].

KARL_DATA_INPUT_SELECT CALL FUNCTION 'KARL_DATA_INPUT_SELECT' EXPORTING i_db_and_arc = 'X' i_infosys_possible = 'X' i_object_fixed = 'X' i_documentation = 'DEFAULT' i_report = 'RDRBFI00' TABLES t_objects = lt_object[] t_arch_sel = t_rng_archiv CHANGING c_xusedb = r_usedb c_xusear = r_usear c_infosys = r_infosys.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = v_handle record_structure = 'BKPF' all_records_of_object = 'X' TABLES table = lt_bkpf.



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