SRMGS_RECORD_PROTO_VIEWER 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 SRMGS_RECORD_PROTO_VIEWER into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SRMPROTOVIEW - Records Management Log Viewer
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.
SRM Logs
Selection Text: RECORD = Maximum Number of Lines
Selection Text: POID_ID = D .
Selection Text: MAX_ROWS = Maximum lines
Selection Text: END_DATE = End Date
Selection Text: CLIENT = Client
Selection Text: BEG_DATE = Start Date
Selection Text: AREA_ID = AREA ID
Title: Display Logs
Text Symbol: 211 = Delete Role
Text Symbol: 210 = Add Role
Text Symbol: 209 = Print Record
Text Symbol: 208 = Change Record
Text Symbol: 207 = Display Record
Text Symbol: 206 = Delete Record
Text Symbol: 205 = Change Element
Text Symbol: 204 = Move Element
Text Symbol: 203 = Display Element
Text Symbol: 202 = Insert Element
Text Symbol: 201 = Delete Element
Text Symbol: 103 = Record/Document Name:
Text Symbol: 102 = End Date :
Text Symbol: 101 = Start Date:
Text Symbol: 100 = Logging Record Access
Text Symbol: 006 = Record Unknown:
Text Symbol: 005 = Choose Element Type of Record:
Text Symbol: 004 = Choose RMS ID of Record:
Text Symbol: 003 = Document Has No Name:
Text Symbol: 002 = Element Unknown:
Text Symbol: 001 = Element Deleted:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SRMPV_VIEW' CHANGING ct_fieldcat = g_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_BACKGROUND_ID = 'ALV_BACKGROUND' i_buffer_active = '' i_callback_program = g_repid * i_callback_user_command = my_fcode_detail it_fieldcat = g_fieldcat * i_structure_name = 'SRMPV_VIEW' is_layout = gs_layout i_save = g_save is_variant = gs_variant it_events = gt_events[] IMPORTING e_exit_caused_by_caller = g_exit_caused_by_caller es_exit_caused_by_user = gs_exit_caused_by_user TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
SUSR_SHOW_USER_DETAILS CALL FUNCTION 'SUSR_SHOW_USER_DETAILS' EXPORTING bname = wa_entry-user no_display = 'X' CHANGING user_usr03 = wa_usr03.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = 'ENJOYSAP_LOGO' it_list_commentary = gt_list_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.