ARFA_RESET_ARCHIVE_STATUS 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 ARFA_RESET_ARCHIVE_STATUS 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: P_OBJECT = Archiving Scenario
Selection Text: P_UPDVW = Name of Update View
Title: Report ARFA_RESET_ARCHIVE_STATUS
Text Symbol: 001 = @1A@ All Objects in Status 4 Will Be Reset to Status 2
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 = p_object IMPORTING OBJECT_DEFINITION = l_arch_obj EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2 .
ENQUEUE_E_AR_ENGINE01 CALL FUNCTION 'ENQUEUE_E_AR_ENGINE01' EXPORTING object = p_object EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_ADMIN_CHECK_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_CHECK_STATUS' EXPORTING object = p_object IMPORTING * archive_program_is_running = g_archive_program_is_running " <--- this might not be reliable with regard to RFC/dialog processing * (we use the engine phase lock to ensure we are running alone)
not_deleted_file_exists = l_flg_not_deleted_file EXCEPTIONS object_not_found = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_E_AR_ENGINE01 CALL FUNCTION 'DEQUEUE_E_AR_ENGINE01' EXPORTING object = p_object.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ARFA_RESET_ARCHIVE_STATUS - Report ARFA_RESET_ARCHIVE_STATUS ARFA_RESET_ARCHIVE_STATUS - Report ARFA_RESET_ARCHIVE_STATUS ARFA_MAC_LCL_DBTAB_BUFFER - ARFAMACLCLDBTABBUFFER ARFA_LIF_DATABASE - ARFALIFDATABASE ARFA_LCL_CHANGEBUFFER_IMP - ARFALCLCHANGEBUFFERIMP ARFA_LCL_CHANGEBUFFER_DEF - ARFALCLCHANGEBUFFERDEF