cancel
Showing results for 
Search instead for 
Did you mean: 

Can't delete originals after create docs from template-DIS

Former Member
0 Kudos

Hi,

i have create documents from a template-document with bapi "BAPI_DOCUMENT_CREATEFROMSRC2".

Now i have to replace the original in the template-DIS (delete the old one and upload a new one) but the system is answering "Deletion not possible, original is being used in other documents".

First Question:

Now i have "found" the import-flag COPYORIGINALS = 'X'

Deletes this flag the reference to the original?

Second Question:

Is there any way to delete the referenced original?

I'm grateful for any advice.

Thank's

Sebastian

Edited by: Sebastian Brüchert on Apr 28, 2011 10:24 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Check for solution

https://wiki.sdn.sap.com/wiki/display/PLM/Referencesbetweenoriginals

Former Member
0 Kudos

Hi Surjitsingh,

thank's for your help. Done this and now it works for the new created docs from template BUT

have you or anyone else an answer how i can fix the second problem?

We have many docs with this stupid reference and i need a simple way to fix this.

Thank's

Sebastian

Former Member
0 Kudos

To fast. Have an idea...

I write a small report wich loop over the docs and use the FuBa 'CV120_KPRO_RESOLVE_REFERENCE' to breake the reference.. what do you think?

Former Member
0 Kudos

i guess it should work....