cancel
Showing results for 
Search instead for 
Did you mean: 

Set Deletion flag for Document's which are used in Document Structure.

Former Member
0 Kudos

Dear All,

We created document structure through CV11 and now my user wants to Archive that document for that he is trying to set deletion flag for the document but while doing so system is showing the message " Deletion not possible ( Document used in BOM)" how to set the deletion flag for these type of documents.

Please help me in this regard.

Thanks,

Harsha.

Accepted Solutions (0)

Answers (2)

Answers (2)

MangeshP
Active Contributor
0 Kudos
Hi Harsha,

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.
  • A document of the document type Quality Agreement is not
    linked to other R/3 objects.
  • The document is not a document in any bill of material.

So if it gives message that " Deletion not possible ( Document used in BOM)", the according to third point it will not allow you to set deletion flag as the document is used in other object. That means it is used in business process. so if this document is deleted it and if someone wants to see document linked to this BOM, it will create discripancies.

WIth Warm Regards

Mangesh Pande

former_member188883
Active Contributor
0 Kudos

Hi Harsha,

You may use function module DMS_PROC_DOC_DELETE to mark the documents for deletion.

Use function module DMS_PROC_DOC_DELETE in the "Start processing" node

If u enabale this, in cv04n results screen, u can see a button called Process and using the same you can set Mass deletion indicators for DIR's.

Later use report MCDOKDEL to delete the entries.

Hope this helps.

Regards,

Deepak Kori