Skip to Content
author's profile photo Former Member
Former Member

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

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.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 10, 2013 at 04:13 AM

    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.


    Deepak Kori

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2013 at 06:29 AM
    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.