SAP Reports / Programs

/SAPAPO/OM_READ_OM_LOGGING SAP ABAP Report - Read Log for OM Modules







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPAPO/OM21 - Read Log for OM Modules


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 /SAPAPO/OM_READ_OM_LOGGING. "Basic submit
SUBMIT /SAPAPO/OM_READ_OM_LOGGING AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_READ_OM_LOGGING 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_AGGR = Aggregated View
Selection Text: P_EXPORT = Results Export
Selection Text: P_GUID = GUID
Selection Text: P_RC = D .
Selection Text: SL_DATE = D .
Selection Text: SL_FUNC = D .
Selection Text: SL_MANDT = D .
Selection Text: SL_TCODE = D .
Selection Text: SL_TIME = D .
Selection Text: SL_UNAME = D .
Title: Read Log for OM Modules
Text Symbol: 001 = No more detailed information available
Text Symbol: 002 = Log for OM Modules
Text Symbol: 003 = Number of Calls
Text Symbol: 004 = Calls
Text Symbol: 005 = C:\temp\om21.xls written successfully


INCLUDES used within this REPORT /SAPAPO/OM_READ_OM_LOGGING

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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout_hdr it_fieldcat = gt_fieldcat_hdr it_events = gt_events TABLES t_outtab = gt_hdr EXCEPTIONS program_error = 0 OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout_hdr it_fieldcat = gt_fieldcat_hdr_agg it_events = gt_events TABLES t_outtab = gt_hdr_agg EXCEPTIONS program_error = 0 OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = iv_struc i_client_never_display = space i_bypassing_buffer = 'X' CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = iv_struc TABLES dd03p_tab = lt_dd03p EXCEPTIONS illegal_input = 0 OTHERS = 0.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = iv_struc TABLES dd03p_tab = lt_dd03p EXCEPTIONS illegal_input = 0 OTHERS = 0.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = ct_events.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout_tab it_fieldcat = gt_fieldcat_tab it_events = gt_events i_screen_start_column = 3 i_screen_start_line = 2 i_screen_end_column = 42 i_screen_end_line = lv_lines TABLES t_outtab = gt_tab EXCEPTIONS program_error = 0 OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout_tab it_fieldcat = gt_fieldcat_tab it_events = gt_events i_screen_start_column = 3 i_screen_start_line = 2 i_screen_end_column = 42 i_screen_end_line = lv_lines TABLES t_outtab = ls_tab_agg-parameters EXCEPTIONS program_error = 0 OTHERS = 0.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = gv_repid is_layout = gs_layout_clu it_fieldcat = lt_fieldcat it_events = gt_events i_screen_start_column = 7 i_screen_start_line = 7 i_screen_end_column = 95 i_screen_end_line = 25 tables t_outtab = &1 exceptions program_error = 0 others = 0.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = '&2' tables dfies_tab = lt_dfies exceptions not_found = 1 internal_error = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FUNCNAME' value_org = 'S' dynpprog = '/SAPAPO/OM_READ_OM_LOGGING' dynpnr = '1000' dynprofield = 'SL_FUNC-LOW' TABLES value_tab = gt_funcs.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_screen_start_column = 3 i_screen_start_line = 2 i_screen_end_column = 62 i_screen_end_line = lv_lines TABLES t_outtab = lt_maintabs EXCEPTIONS program_error = 0 OTHERS = 0.

CALL FUNCTION CONCATENATE 'CALL FUNCTION ''/SAPAPO/' gs_hdr-funcname '''' INTO lv_coding.

CALL FUNCTION 'CALL FUNCTION ''FLUSH''', 'EXCEPTIONS', 'OTHERS = 1.',

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_22 = lv_guid22.



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 /SAPAPO/OM_READ_OM_LOGGING or its description.