Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to deleteFI parked document

Former Member
0 Likes
4,380

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.

3 REPLIES 3
Read only

Former Member
0 Likes
2,292

Hi,

try these FM's

FM_PARKED_DOC_DELETE

K_PARKED_DOCUMENT_DELETE

Regards,

Amit

Read only

Former Member
0 Likes
2,292

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

Read only

Former Member
0 Likes
2,292

The document header should remain in BKPF with a status of 'Z' (deleted parked document).But are there really still items in BSEG?

Rob