on 09-22-2008 3:30 PM
Hello!
I would like a deleting from 1 of 2 Original of Document (cv02n). I have old function for Archivlink, but this don't worked now.
Is a function you know?
Thanks for help!
Jens Meyer
(Germany)
Hi Jens,
I think the best BAPI would be BAPI_DOCUMENT_CHANGE2 to achieve the desired behavior.
For deleting an original from a document info record I would recommend you to use the following sample sequence:
1. BAPI_DOCUMENT_GETDETAIL2
This BAPI will return all the current data of the document info record. This also includes the original data with PHIO and LOIO IDs too.
2. BAPI_DOCUMENT_CHANGE2
This BAPI will do the necessary changes. For the originals you can set the 'Deletion' flag in table DOCUMENTFILES
3. BAPI_TRANSACTION_COMMIT
This is necessary to write the changes to the database tables.
For further information on this BAPIs you can also see the documentation in transaction BAPI.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.