RTPMARCHIVE_READ_F01 is a standard ABAP INCLUDE 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 RTPMARCHIVE_READ_F01 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: Include RTPMARCHIVE_READ_F01
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OBJECT_GET CALL FUNCTION 'ARCHIVE_OBJECT_GET' EXPORTING object = g_con_arch_object * IMPORTING * OBJECT_DEFINITION = * OBJECT_CUSTOMIZING = * DESCRIPTION_TEXT = TABLES * USED_CLASSES = * CUSTOM_TRANSACTIONS = object_structure = lt_arch_obj_struct * TABLES_TO_DELETE = * READ_REPORTS = EXCEPTIONS object_not_found = 1 OTHERS = 2.
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = g_con_arch_object IMPORTING archive_handle = lv_handle TABLES archive_files = lr_files_read_sequential[] EXCEPTIONS no_files_available = 1.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = lv_handle IMPORTING object_offset = lv_obj_offset archive_name = lv_archive_name EXCEPTIONS end_of_file = 1.
ARCHIVE_READ_OBJECT_BY_HANDLE CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = lv_handle iv_read_class_data = 'NO' "we don´t want to read archvie clas data."If you want, do provide 'YES' or 'CONTEXT'
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.
ARCHIVE_READ_OBJECT_BY_OFFSET CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_OFFSET' EXPORTING iv_archivekey =
-archivekey iv_offset = -archiveofs iv_read_class_data = 'NO' "we don´t want to read archvie clas data."If you want, do provide 'YES' or 'CONTEXT'
AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = g_con_arc_field_cat i_selections = ft_selections[] IMPORTING e_result = ft_files_and_offset_from_as[] EXCEPTIONS no_infostruc_found = 2.
ARCHIVE_FILES_ACCESS_KIND_GET CALL FUNCTION 'ARCHIVE_FILES_ACCESS_KIND_GET' TABLES it_files_and_pos = ft_files_and_offset_from_as et_files_seq_read = lt_files_read_sequential et_files_obj_read = ft_files_read_by_object.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = iv_table_name state = 'M' langu = sy-langu IMPORTING dd02v_wa = ls_dd02v EXCEPTIONS OTHERS = 1.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-title txt1 = text-t04 txt2 = sy-subrc.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-title txt1 = text-t04 txt2 = sy-subrc.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-title txt1 = text-t04 txt2 = sy-subrc.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-title txt1 = text-t05 txt2 = sy-subrc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RTPMARCHIVE_READ_F01 - Include RTPMARCHIVE_READ_F01 RTPMARCHIVE_READ_BY_INDEX - Archiving TRM-TM Positions: Read Program RTPMARCHIVE_READ_BY_INDEX - Archiving TRM-TM Positions: Read Program RTPMARCHIVE_DELETE - Archiving TRM-TM Positions: Delete Program RTPMARCHIVE_DELETE - Archiving TRM-TM Positions: Delete Program RTPDA_ADT_BP_TEST_REPORT - Report for testing line breakpoints