RSARCH_RETRIEVE_FILE 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 RSARCH_RETRIEVE_FILE 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 for the Retrieval of Archive Files from Storage System
INCLUDE ADK_CONST.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIV_CONNECTINFO_GET_META CALL FUNCTION 'ARCHIV_CONNECTINFO_GET_META' EXPORTING object_id = lv_archivelink_object_id sap_object = 'ARCHIVE' IMPORTING count = lv_count "number of entries in CONNECT_INFO TABLES connect_info = lt_connect_info EXCEPTIONS OTHERS = 1.
SCMS_AO_FILE_GET CALL FUNCTION 'SCMS_AO_FILE_GET' EXPORTING arc_id = lv_crep doc_id = lv_arch_docid file = ev_physical_file_name path = ev_physical_path EXCEPTIONS OTHERS = 1.
ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = archive_key physical_filename = iv_physical_file_name logical_pathname = iv_logical_path IMPORTING filesystem = lv_filesystem EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSARCH_RETRIEVE_FILE - Report for the Retrieval of Archive Files from Storage System RSARCH_RETRIEVE_FILE - Report for the Retrieval of Archive Files from Storage System RSARCH_OBJ_IND_CUS - Cross-Object Customizing Data Archiving RSARCH_OBJ_IND_CUS - Cross-Object Customizing Data Archiving RSARCH_LIST_STORED - Search stored files RSARCH_LIST_STORED - Search stored files