on 04-21-2010 11:05 AM
Hello Expert,
I am using BAPI_DOCUMENT_CREATE2 to create documents.
If there is a duplicate document, i want it to be overwritten. How to make this possible.
Please suggest.
Thanks,
Kunal.
Hi Nishant,
In SAP DMS, you are prompted to create a new version of the earlier DIR you are attempting to create. You may incorporate the additional changes in this new version.
Regards,
Pradeepkumar H.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in this case you would have to use the BAPI_DOCUMENT_CHANGE2. I would recommend you to read the document details from the existing document info record and then hand it over to CHANGE2 BAPI. Here add the new original file and set the
deletion flag for the existing one. Then the new file should get uploaded and the previous file should be deleted.
Best regards,
Christoph
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.