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_ACC_DOCUMENT_POST

Former Member
0 Likes
723

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.

2 REPLIES 2
Read only

Former Member
0 Likes
553

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

Read only

Former Member
0 Likes
553

USe BAPI_TRANSACTION_COMMIT after your BAPI run.

This will update the tables and actuall create the document.

Pelase reward if useful.

Thanks