Setting Deletion Flags/Indicators in the Background - Orders (PM-SMA-SC/PM-WOC-MO) 
Use
You can set deletion flags and indicators not only
online, but also for areas that meet the same selection criteria.For each selection area, you have the following options:
However, the system can only set the status when the deletion criteria described in
Checks are met.For performance reasons, we recommend that you use the initial run either to set the deletion flag or to set the deletion indicator.
Procedure
You reach the initial screen for archive management.
The system displays the available activities belonging to the object.
You reach the initial archive management screen where you can schedule a background job for the program.

You can only use a variant in one job. As long as a job with this variant exists, this variant cannot be used in another job - even if it has already run successfully.
If you want to create a new variant, enter a name for the variant and choose Maintain.
You reach the variant maintenance screen for archiving orders. The variant contains the selection criteria used to select the orders.
You can also maintain the following attributes in the section Activities:
– Setting a deletion flag
Select Set deletion flag.
– Setting a deletion indicator
Select Set deletion indicator.
– Set deletion flag and deletion indicator simultaneously
Select Set deletion flag and Set deletion indicator. Save your variant.
The deletion flags and indicators are set in the background.
See also:
Maintenance of the Start Date and Spool Parameters