Skip to Content
avatar image
Former Member

how to call BAPI_ACC_DOCUMENT_POST to do cross company posting

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 20, 2017 at 06:07 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2017 at 11:36 PM

    Thanks Raymond.

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

    Add comment
    10|10000 characters needed characters exceeded