on 10-12-2004 5:43 PM
Hi all,
how can I delete single files of a Document Info Record. Only found BAPI to delete the entire DIR.
Add. INFO:
The Upload is done in the Document Management System (/cv01-2-3-4n) by a BSP application / BAPI_DOC_CREATE and CHECKIN .
Thanks in advance,
Christoph
Message was edited by: Christoph Aschauer
it worked! thanx!
christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all!
the following problem occured:
I used the BAPIs in the given order: GET_DETAIL2, CHECKOUTSET2, (and CHANGE2) as suggested.
the change2 has the effect that the file is deleted physically in the DIR. the way without change2 does not really work properly. I do not see any effect. For example when processing the GET_DETAIL2 for a second time, the delete_value is not set (as at the beginning,).
the way with CHANGE2 deletes the file, but I need only the delete flag. Sorry for the preterm OK answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all!
i'll give it a try! Thankx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
- read Document Info Record with BAPI BAPI_DOCUMENT_GETDETAIL2. Table documentfiles contains your files.
- check out the file you want to delete using BAPI BAPI_DOCUMENT_CHECKOUTSET2.
- use BAPI BAPI_DOCUMENT_CHANGE2 to change the Document Info Record. Table documentfiles must contain your files including the one you want to delete. Before calling the BAPI, set field 'deletevalue' to 'X' in the record, that represents the file you want to delete.
Dont' forget to COMMIT WORK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.