SAP Reports / Programs

BC_DBLOGS_READ_AR_BY_INDEX SAP ABAP Report - Program BC_DBLOGS_READ_AR_BY_INDEX







BC_DBLOGS_READ_AR_BY_INDEX 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 BC_DBLOGS_READ_AR_BY_INDEX 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 BC_DBLOGS_READ_AR_BY_INDEX. "Basic submit
SUBMIT BC_DBLOGS_READ_AR_BY_INDEX AND RETURN. "Return to original report after report execution complete
SUBMIT BC_DBLOGS_READ_AR_BY_INDEX 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: P_CLIENT = D .
Selection Text: P_SYSID = D .
Selection Text: S_LGDATE = D .
Selection Text: S_LGID = D .
Selection Text: S_TABLE = D .
Title: Program BC_DBLOGS_READ_AR_BY_INDEX
Text Symbol: 010 = Tables
Text Symbol: 012 = Log Records of Table Changes


INCLUDES used within this REPORT BC_DBLOGS_READ_AR_BY_INDEX

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:

AS_DATASOURCE_INIT CALL FUNCTION 'AS_DATASOURCE_INIT' EXPORTING i_report = sy-repid i_reporttype = space IMPORTING e_use_database = cp_readdb e_use_archive = cp_readar e_use_infosys = cp_readas et_arch_sel = cs_files[].

AS_DATASOURCE_SELECT CALL FUNCTION 'AS_DATASOURCE_SELECT' EXPORTING i_report = sy-repid i_reporttype = space it_objects = lt_arch_obj[] CHANGING c_use_database = cp_readdb c_use_archive = cp_readar c_use_infosys = cp_readas ct_arch_sel = cs_files[].

AS_API_INFOSTRUC_FIND CALL FUNCTION 'AS_API_INFOSTRUC_FIND' EXPORTING i_fieldcat = gc_arch_fieldcat i_fields = lt_fields_filled[] IMPORTING e_infostruc = lv_info_struct_name e_matching_fields = lt_matching_fields[] EXCEPTIONS no_infostruc_found = 1.

READ_BC_DBLOGS CALL FUNCTION 'READ_BC_DBLOGS' EXPORTING it_lgdate = ps_lgdate it_lgtime = s_lgtime[] it_lgid = ps_lgid it_table = ps_table it_files = ps_files iv_readdb = ip_readdb iv_readar = ip_readar iv_readas = ip_readas CHANGING ct_dbtablog = ct_table.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = gc_tabname i_inclname = sy-repid CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = text-012 i_callback_program = sy-repid it_fieldcat = lt_fieldcat[] TABLES t_outtab = pt_table.



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