!--a11y-->
Application-Specific Features
(PM-WCM) 
You can archive work clearance management objects that you no longer need to access directly in the system using the archiving program. The data is written to the archive files and then deleted from the system if the operation was successful.
You can
archive and delete work clearance management (WCM) objects using the following
archiving
objects:
· Work approvals using the archiving object WCM_WAP
· Applications using the archiving object WCM_WAPI
· Work clearance documents using archiving object WCM_WCD
You can archive WCM objects while the online operation is in process.
The initial run program prepares the data in the database for archiving. The deletion flags, with which you flagged the work approvals you want to archive, are also assigned the system status Deletion Indicator in the initial run program. However, note that processing can only take place if the system determines that the work approvals are not being used elsewhere in the system.
The initial run generates a log.
The archiving program writes the database tables of the WCM objects listed under the object definition to the archive.

When Start automatically is set for the deletion program in Customizing of Archiving, and a productive variant is selected for the archiving program, the system starts the deletion program in connection with its productive variant. This means that the system deletes the archived data from the database.
The archiving program generates a log.
The deletion program deletes all database records for the WCM objects that have been successfully archived.
If the deletion program is not called up automatically after the activity Archive has been completed successfully, you must wait until all the archiving is completed. You can process an entire archiving session with all the archive files generated or you can select individual archive files for processing.
To avoid problems caused by data inconsistency, you should run the deletion program as near as possible to the archiving program.
The deletion program generates a log.
· You can display archived WCM objects using the Archive Information System (see Displaying Archived WCM Objects).
· You can display statistical data for the archive file. Choose Evaluate in the initial screen for the relevant WCM object.
