SRMAUDIT_PRERUN 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 SRMAUDIT_PRERUN into the relevant SAP transactions such as SE38 or SE80
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.
Title: Report SRMAUDIT_PRERUN
Text Symbol: 001 = Enter Units for All Record Models
Text Symbol: 002 = Record Count
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'USER_COMMAND' i_structure_name = 'ls_audit_str' is_layout = gs_layout IT_FIELDCAT = gt_fieldcat "IT_EVENTS = gt_events[] "IT_SPECIAL_GROUPS = GT_SP_GROUP[] TABLES t_outtab = lt_itab_audit[].
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_structure_name = 'ls_audit_str' is_layout = gs_layout IT_FIELDCAT = gt_fieldcat TABLES t_outtab = lt_itab_audit.
SRM_RECORD_DISPLAY CALL FUNCTION 'SRM_RECORD_DISPLAY' EXPORTING OBJECTID = myobjid DOCUMENTCLASS = mydocclass * MODIFY = ' ' * DOC_CONTEXT = EXCEPTIONS NOT_AUTHORIZED = 1 INTERNAL_ERROR = 2 PARAMETER_ERROR = 3 NOT_FOUND = 4 OTHERS = 5 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.