RFTR_COEX_ARCHIVE_READ 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 RFTR_COEX_ARCHIVE_READ 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: SO_BUKRS = D .
Title: Archiving Commodity Price Exposures - Read Program
Text Symbol: 001 = General Selection Screen
Text Symbol: 003 = Commodity Price Exposures
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = gc_arch_obj * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = g_handle_archive * TABLES * ARCHIVE_FILES = * SELECTED_FILES = EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = g_handle_archive IMPORTING * OBJECT_ID = * OBJECT_OFFSET = archive_name = g_archiv_nam * COMPR_OBJECT_LENGTH = * SESSION = EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_READ_OBJECT_BY_HANDLE CALL FUNCTION 'ARCHIVE_READ_OBJECT_BY_HANDLE' EXPORTING iv_handle = g_handle_archive * IV_READ_CLASS_DATA = 'CONTEXT' CHANGING ct_obj_data = g_tab_object_data.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = g_handle_archive EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = con_struct_nam CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS OTHERS = 0.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid * i_callback_pf_status_set = 'SET_PF_STATUS' * i_callback_user_command = 'USER_COMMAND' i_grid_title = text-003 * is_layout = gs_layout it_fieldcat = gt_fieldcat * it_events = gt_event TABLES t_outtab = gt_cty_expos_data_arch EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFTR_COEX_ARCHIVE_READ - Archiving Commodity Price Exposures - Read Program RFTR_COEX_ARCHIVE_READ - Archiving Commodity Price Exposures - Read Program RFTR_COEX_ARCHIVE_DELETE - Archiving Commodity Price Exposures - Delete Program RFTR_COEX_ARCHIVE_DELETE - Archiving Commodity Price Exposures - Delete Program RFTR_BOE_REPRINT - Printout of Transaction Records RFTR_BOE_REPRINT - Printout of Transaction Records