2009 May 15 11:01 PM
Hello,
We are trying to change/edit the line items of a parked document (NON-PO) document in the background. We dont want to update it through the standard Tcodes like FBV2 but we would prefer some FMs or BAPIs. We found this FM PP_CHANGE_DOCUMENT_ENJ but its always throwing an error after execution saying "Express document "Update was terminated" received from author" as an SAP-mail.
Has anyone used this before? Can this be made to update the document in real-time rather than as a background job?
Please reply.
Thanks,
Sam
2009 May 18 1:04 AM
Yes, you can use that FM because as far as I know, there is no standard BAPI to do it. Check out in ST22 for the dump that you've got.
Thanks & regards,
Hadiman
2009 Aug 12 10:49 AM
Hi
you can post an invoice or park a document with the following:
Check the document by pasing data to the BAPI.
BAPI_ACC_INVOICE_RECEIPT_CHECK
use the function module to post or park the doucment using the below function module
PRELIMINARY_POSTING_FB01.
I have used this to park from the custom form with sucess.