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: 

Intercompany posting through BAPI_ACC_DOCUMENT_POST

former_member438956
Active Participant
0 Kudos
1,232

Hi,

We have a requirement for Intercompany GL posting , we are using BAPI_ACC_DOCUMENT_POST for standard posting but looks like it does not work with intercompany posting.

We tried posting it thr bapi BAPI_ACC_DOCUMENT_POST bt it gives an error as "Minor difference * USD 30 cannot be allocated across company codes" bt the document is getting posted properly using FB01.

We needed help on this if anyone may have worked on a similar requirement.

Thanks,

Regards,

Anil N.

2 REPLIES 2

Former Member
0 Kudos
309

Anil, we are facing similar problem can you share how did you resolve it

Former Member
0 Kudos
309

HI Anil:

    When you enter a document in a foreign currency, the amount in the local currency is calculated for each line item.If the document is simulated or posted, the system checks for a zero balance.Due to rounding, a balance can be created in the local currency, that is, the total of the line items in the local currency deviates slightly from the total amount of the document in the local currency.


      I suggest you may:

       1. Pay attention to the AMT of foreign currency and local currency in the BAPI,  you may calculate by yourself  and make sure they are equal in both DR/CR item line

        2. Check SAP note: 106094

     

    Hope can help.

    

Regards!

Jay