Show TOC

 Changing the Deletion Indicator Locate this document in the navigation structure

Use

You can use the deletion indicator to control that documents are deleted after the next archiving run.

The same function enables you to set or remove the deletion indicator.

Prerequisites

You can set the deletion indicator in the following circumstances:

  • There is an authorization check for setting the deletion indicator. When you set the deletion indicator, the system checks that you are authorized to maintain the deletion indicator for documents of this document type. See: Authorization Objects for Documents

  • A document of the document type Quality Agreement is not linked to other SAP objects.

  • The document is not a document in any bill of material.

Procedure

  • From the Edit menu option, choose Change deletion ind. . The system immediately sets or deletes the deletion indicator as appropriate.

  • The system checks the link with other SAP objects when you set the indicator with this function.

    If the document is linked to other SAP objects, you see a warning message.

    If you confirm this message, the system sets the indicator.

    As soon as the deletion indicator is set the fields can no longer be changed.

    Note Note

    You can still enter a document for which the deletion indicator is set as a superior document. You see a warning message if you enter a superior document that has this indicator.

    End of the note.

Result

You can edit documents that have the deletion indicator in the following way:

  • To delete the documents physically from the database, you must run the MCDOKDEL program using the ABAP/4 editor. This program deletes all documents of a selected document type for which this indicator is set.

  • In Archiving , you can select documents that have the deletion indicator to be archived. After the archiving run, you can delete all the documents that have the deletion indicator.