Skip to Content
0

how to call BAPI_ACC_DOCUMENT_POST to do cross company posting

Sep 19, 2017 at 10:20 PM

126

avatar image
Former Member

Hi experts,

I can call BAPI_ACC_DOCUMENT_POST to do intercompany posting, it is no problem. I pass parameter to DOCUMENTHEADER/ACCOUNTGL/CURRENCYAMOUNT, call BAPI_ACC_DOCUMENT_POST/BAPI_TRANSACTION_COMMIT, then I get a doc#

Now I need to do cross company posting.System will generate 2 doc# after one cross company posting.I don't know how to do this, need your help.

Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Sep 20, 2017 at 06:07 AM
0

Did you try to fill COMP_CODE in ACCOUNTGL, ACCOUNTRECEIVABLE, etc. (But perform some search on OSS as there are some limitations)

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 20, 2017 at 11:36 PM
0

Thanks Raymond.

I fill accountreceivable table, it looks like it is working, but cross-comp.no. is empty. how to fill that?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Insure that there is consistency between your parameter (e.g. same leading company code in header and first item)

0