VSS
Data Archiving
You can archive VSS order and package data that you no longer need to access directly in the system by using archiving programs accessed via transaction SARA. The system copies the data into archive files. If the procedure was successful, the system subsequently deletes the data.
Features
Archiving Programs and Objects
You can archive and delete this data using the following archiving programs:
- /DBE/ORD_ARC_PRE
Sets the deletion flag for VSS orders
- /DBE/ORD_ARC_WRI
Creates archiving objects in an archive
- /DBE/ORD_ARC_DEL
Physical deletion of the database entries for the archiving objects created by /DBE/ORD_ARC_WRI; /DBE/ORD_ARC_DEL should always be run after /DBE/ORD_ARC_WRI; this is ensured by transaction SARA.
- /DBE/PACK_ARC_PRE
Sets the deletion flag for VSS packages
- /DBE/PACK_ARC_WRI
Creates archiving objects in an archive
- /DBE/PACK_ARC_DEL
Physical deletion of the database entries for the archiving objects created by /DBE/PACK_ARC_WRI; /DBE/PACK_ARC_DEL should always be run after /DBE/PACK_ARC_WRI; this is ensured by transaction SARA.
And the following archiving objects:
- /DBE/ORDER for VSS orders
- /DBE/PACK for VSS packages
Initial Run (Preprocessing)
The initial run programs /DBE/ORD_ARC_PRE and /DBE/PACK_ARC_PRE prepare the data in the database for archiving. The deletion flags, with which you flagged the objects you want to archive, are also assigned the system status MARC (Flagged for archiving).
The initial run generates a log.
Archiving (Writing)
The archiving programs /DBE/ORD_ARC_WRI and /DBE/PACK_ARC_WRI write the database tables of the data to be archived to the archive.
The archiving program generates a log.
Deleting
The deletion programs /DBE/ORD_ARC_DEL and /DBE/PACK_ARC_DEL delete all database records for the VSS data that was successfully archived.
The system automatically calls the delete program after successful completion of the Archiving activity. You may have to wait briefly until archiving is complete. You can process an entire archiving session with all the archive files created 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.
Display
You can display statistical data for the archive file. To do this, choose Display Statistics in the Archive Administration: Initial Screen for archiving VSS data.
Related content
Vehicle Sales and Service