RSARCH_STORE_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_STORE_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 Storing Archive Files in Storage System
INCLUDE ADK_CONST.
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ADK_MON_FILE_STORED CALL FUNCTION 'ADK_MON_FILE_STORED' EXPORTING object = archiving_object session = archiving_session filekey = archive_key jobname = lv_jobname jobcount = lv_jobcount.
ARCHIVE_GET_CUSTOMIZING_MONIT CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_MONIT' IMPORTING monitoring_enabled = monitor_store_job.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '417' msgarg1 = archiving_object.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '185' msgarg1 = archiving_object.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '413'.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'ADMI_FILES' varkey = lv_enqueue_key EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING tabname = 'ADMI_FILES' varkey = lv_enqueue_key EXCEPTIONS OTHERS = 0.
ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = archive_key filesystem_only = 'X' IMPORTING filesystem = lv_filesystem physical_file_with_path = rv_phys_file_with_path EXCEPTIONS OTHERS = 1.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '194' msgarg1 = archive_key.
SCMS_AO_FILE_CREATE CALL FUNCTION 'SCMS_AO_FILE_CREATE' EXPORTING arc_id = iv_crep path = lv_phys_path file = lv_phys_file doc_type = 'REO' no_delete = 'X' IMPORTING doc_id = lv_arch_docid EXCEPTIONS OTHERS = 1.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '149' msgarg1 = archive_key.
ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = archive_key webdav_system_only = 'X' webdav_dest = iv_webdav_dest uri = iv_uri EXCEPTIONS OTHERS = 1.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '194' msgarg1 = archive_key.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '196' msgarg1 = archive_key.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '196' msgarg1 = archive_key.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'SCMS_ARCHIVE_INFO_GET' EXPORTING arc_id = iv_crep IMPORTING version = lv_version EXCEPTIONS OTHERS = 1.
ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = archive_key archive_system_only = 'X' content_repository = iv_crep document_id = iv_arch_docid EXCEPTIONS OTHERS = 1.
ADK_MON_ERROR CALL FUNCTION 'ADK_MON_ERROR' EXPORTING object = archiving_object msgno = '194' msgarg1 = archive_key.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_SCHEDULE_JOB CALL FUNCTION 'ARCHIVE_SCHEDULE_JOB' EXPORTING object = archiving_object jobtype = gc_job_del variant = lv_variant start_immediate = lv_start_immediate start_condition = ls_start_condition inherit_spool_parms = 'X' ext_user = gc_user_sap file_key = archive_key session = archiving_session EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RSARCH_STORE_FILE or its description.
RSARCH_STORE_FILE - Report for Storing Archive Files in Storage System RSARCH_STORE_FILE - Report for Storing Archive Files in Storage System RSARCH_SHOW_MONITOR - Display Data Archiving Monitor RSARCH_SHOW_MONITOR - Display Data Archiving Monitor 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