on 01-10-2012 3:33 AM
Hello Experts,
I want to delete the Document through code.
I have used BAPI BAPI_DOCUMENT_DELETE but it is throwing error message as
You cannot set the deletion indicator (document is used in a BOM) .
Can you please suggest how to delete the document ?
Regards,
Ravindra Sahu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravindra,
If you want to remove the original in CV02N through ABAP coding, then I think you can only implement BADI DOCUMENT_MAIN01 (method AFTER_READ_DATA) or DOCUMENT_FILES01 (method AFTER_ASSIGN_FILE) where you need to implement your own coding to delete the previous existing original file.
Hope this is useful.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CV12 transaction for maintenance of BOM structure would be the only way which would permit you to delete DIR's that are part of a document BOM.See if this helps.
Regards,
Pradeepkumar Haragoldavar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.