‎2008 Jul 04 10:26 AM
Hi Gurus,
I am using the BAPI_ACC_DOCUMENT_POST to post the accounting documents related to Material documents.
Its working fine and documents are created.
But I didnt find the relation between Acc.doc and material doc.
In MB03 when i click on Accounting Doc. , the posted document is not appearing.
How to Solve this.
and how to give reference document in BAPI.
‎2008 Jul 04 10:32 AM
Hi,
Importing parameters of FM-
DOCUMENTHEADER type BAPIACHE09. In this struture we have XBLNR(referenrce document) tyr to use this. Try to pass this value of header parameter
Reward if helpful.
Best Wishes,
Chandralekha
Edited by: Chandralekha on Jul 4, 2008 11:33 AM
‎2008 Jul 04 10:33 AM
USe BAPI_TRANSACTION_COMMIT after your BAPI run.
This will update the tables and actuall create the document.
Pelase reward if useful.
Thanks