Programme SAP SD_CHANGEDOCUMENT_REORG - Deleting change documents for deleted sales documents

Title
Report for Deleting Change Documents, that already belong to the salesdocuments deleted from the system.

Purpose
Normally change documents used in archiving are removed from thedatabase along with the relevant sales documents. If, however, thesales document is deleted, the related change document remainspermanently in the system, because it is no longer affected byarchiving.
It is therefore requested that deletion of a sales document iscomprehensive; the database should not be burdened with documents thatare no longer needed.
The report allows deletion of change documents for deleted salesdocuments. Unassigned change documents for billing documents cannot
be taken into consideration.

Prerequisites
If possible start the report at a time when there are not many users inthe system.

Features

Selection
You can restrict selection of the change documents to be deleted usingdocument numbers. It is also possible to enter selection criteria forthe point at which the last document change was made. This means that,for example, only change documents from old transactions can bedeleted.
If the test indicator is set, only the deletable change documents aredetermined, and no database changes are carried out.
Authorization to delete change documents is required for successfullyrunning the program (authorization object S_SCD0, Activity 06).

Output
The report gives statistics on the number of deletable or deletedchange documents per document category.