Settings for Archiving (PP-BD-BOM) 
Use
F
or archiving object CS_BOM , you can use a variant to define several p arameters for the archiving run . Using these parameters you can select the BOMs to be archived according to criteria that you define.
No residence time is scheduled for BOMs. If a BOM fulfils the archiving prerequisites it can be deleted from the database without residence time.
Features
To select the BOMs to be archived you choose a selection category and restrict the BOMs to be archived with various selection criteria.
Selection category
You choose whether the BOMs to be archived are selected according to a deletion flag or a date effectivity.
If you choose this option only the BOMs, for which the deletion flag indicator is set, are archived.
BOMs are archived over the entire time period.

If you set a deletion flag for a change status, the system also transfers the deletion flag to all other change statuses. If you reset a deletion flag for a change status, the system also resets the deletion flag for all other change statuses.
If you choose this option all BOM headers and items that lose their effectivity before the key date are deleted, irrespective of whether the BOMs have a deletion flag.
You should carry out this function if, due to changes with history, you generated datasets that are no longer relevant to the current processing situation and that are only required for future reference.
If you choose this option, enter a key date in the Record invalid before field. This key date must be in the past. The system deletes all data records that lose their effectivity before this key date.
See also:
Example: Selection according to date effectivityBOM Categories
You can archive t
he following BOM categories:Additional Restrictions
With the following selection criteria you can restrict the BOMs to be archived even more:
If you enter one or more internal BOM numbers here, the system only archives these BOMs. This improves the performance.
If you want to archive a group BOM, leave the Plant field blank.
If a BOM is used in several plants with a deletion flag, then you can archive these BOMs in a single archiving run. For this, enter the special character " * " in the Plant field.
The system only selects the BOMs for the uses you choose.
If you leave the field blank, the system selects BOMs for all uses.
The system only selects the chosen alternative BOMs.
If you leave the field blank, the system selects all alternatives.