‎2008 Oct 23 1:24 AM
Hello Experts,
I am parking a document in FV60 . When the parked document is posted i am generating a NEW DOCUMENT NUMBER by clearing some fields in some global internal tables(using BTE event). SAP is generating a new DOCUMENT NUMBER when the PARKED DOCUMENT is posted.
When a new DOCUMENT NUMBER is generated , the document number of the PARKED DOCUMENT remains in the system.When i try to delete the parked document number from FV60. It shows that the parked document is deleted, but when i check BKPF/BSEG,table for the entires of the PARKED DOCUMENT NUMBE can be still found.
Can you guys please tell me the BAPI that can be used delete the parked document. It will be of great help if it is possible to let me know the how to use that bapi.
I would be very greatfull for any help!.
Thanks and Regards,
Sharath Kumar M G.
‎2008 Oct 23 5:52 AM
Hi,
try these FM's
FM_PARKED_DOC_DELETE
K_PARKED_DOCUMENT_DELETE
Regards,
Amit
‎2008 Oct 23 12:14 PM
Hi,
BAPI_ACC_DOCUMENT_POST
BAPI_ACC_INVOICE_RECEIPT_POST
BAPI_INCOMINGINVOICE_PARK
BAPI_INCOMINGINVOICE_CREATE
MRM_PARKED_INVOICE_POST
Function module
PRELIMINARY_POSTING_POST_ALL
Also, check in Function Group F040
Regards,
Neenu
Edited by: Neenu Jose on Oct 23, 2008 1:15 PM
Edited by: Neenu Jose on Oct 23, 2008 1:16 PM
Edited by: Neenu Jose on Oct 23, 2008 1:18 PM
‎2008 Oct 23 2:32 PM
The document header should remain in BKPF with a status of 'Z' (deleted parked document).But are there really still items in BSEG?
Rob