on ‎2013 Jul 01 2:25 PM
Hello!
I would like to know how to delete documnets uploaded via /TDAG/CPI08 transaction. I just want to write delete flag in ESTDH.
First, I tried 'BAPI_DOCUMENT_DELETE' and 'BAPI_DOCUMENT_DELETE_DIRECT' function. However, these function made change only in DRAW with delete flag , not in ESTDH.
Also, I found some comments about C1F3 fucntions like 'C1F3_REPORTS_DELETE' .
At that time it should be used in regular order. I tried to use C1F3_REPORTS_READ & C1F3_REPORTS_RELEASE_LOCKS &
C1F3_REPORTS_DELETE & C1F3_REPORTS_SAVE_TO_DB. But, it dosen't work in delete step. It has an error flag but the exceptions can't catch the error. and then I'm lost!
If you know any other transaction code or function to delete report with making delete flag in ESTDH, plz let me know.
Thanks!
Request clarification before answering.
Hi, everyone.
I found the function module to set a delete flag on ESTDH table.
BAPI_BUS1092_DELETE function module enables setting a delete flag on ESTDH table.
Please, refer to the following sample code.
CALL FUNCTION 'BAPI_BUS1092_DELETE'
EXPORTING
key_date = sy-datum
"flg_ale_mode =
"flg_testrun =
"flg_buffer = 'X'
flg_report_header = 'X'
"flg_report_subjoin =
TABLES
return = lt_return
report_header = lt_header.
"report_subjoin
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.