RFGMARTTRD 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 RFGMARTTRD 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.
Selection Text: S_BUKRS = D .
Selection Text: S_FUND = D .
Selection Text: S_GRANT = D .
Title: Archiving GM Total Records - Read Program
Text Symbol: 010 = Selection
Text Symbol: 029 = Details to Table &1
Text Symbol: 102 = Column
Text Symbol: 103 = Content
Text Symbol: 221 = Dynamic Selections
Text Symbol: 222 = active
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ call function 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = u_object IMPORTING archive_handle = c_archive_handle EXCEPTIONS others = 1.
ARCHIVE_GET_INFORMATION call function 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = c_archive_handle IMPORTING object_number_in_file = gf_process_info-counter-total.
ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = u_archive_handle EXCEPTIONS end_of_file = 1.
ARCHIVE_READ_OBJECT_BY_HANDLE call function 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = u_archive_handle CHANGING ct_obj_data = lt_object_data.
ARCHIVE_PROTOCOL_WRITE_APPL call function 'ARCHIVE_PROTOCOL_WRITE_APPL'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = u_archive_handle.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = l_repid i_callback_user_command = 'USER_COMMAND' i_structure_name = gmar_allrecords TABLES t_outtab = gt_alvout.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = uf_alvout-tabname TABLES dfies_tab = lt_dfies[] EXCEPTIONS others = 99.
LVC_ITEM_DETAIL CALL FUNCTION 'LVC_ITEM_DETAIL' EXPORTING i_title = l_title it_fieldcatalog = lt_fcat[] is_layout = ls_layout TABLES t_outtab = lt_outtab[].
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GRANTMGMT' i_msgno = '761' i_processed = gf_process_info-counter-processed i_total = gf_process_info-counter-total i_output_immediately = l_immidiate.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' EXPORTING i_msgid = 'GRANTMGMT' i_msgno = '761' i_processed = gf_process_info-counter-processed i_total = gf_process_info-counter-total i_output_immediately = l_immidiate IMPORTING e_progress_sent = l_progress_sent.
DB_COMMIT call function 'DB_COMMIT'. "otherwise messag will not appear in the job-log
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFGMARTTRD - Archiving GM Total Records - Read Program RFGMARTTRD - Archiving GM Total Records - Read Program RFGMARTTDL - Archiving GM Total Records - Delete Program RFGMARTTDL - Archiving GM Total Records - Delete Program RFGMARGR_GENERAL_INCL - Include RFGMARGR_GENERAL_INCL RFGMARGRWR - Archiving GM Grant Master - Write Program