SAP Reports / Programs | Basis Components | Use Subcomponents | Archive Development Kit(BC-CCM-ADK) SAP BC

RSARCH_STORE_FILE SAP ABAP Report - Report for Storing Archive Files in Storage System







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSARCH_STORE_FILE. "Basic submit
SUBMIT RSARCH_STORE_FILE AND RETURN. "Return to original report after report execution complete
SUBMIT RSARCH_STORE_FILE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Report for Storing Archive Files in Storage System


INCLUDES used within this REPORT RSARCH_STORE_FILE

INCLUDE ADK_CONST.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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'.

SCMS_ARCHIVE_INFO_GET





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.



Contribute (Add Comments)

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.