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

Items with same GL account got fused using BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
710

Hi Experts,

We are encountering an issue when posting via BAPI_ACC_DOCUMENT_POST. We have 4 items with the same GL account.

 

But after posting, the items got fused. See below results from BAPI and manual posting below. What could be the cause of the issue here?

We want to have the same result as manual posting. I would really need some help on this.

Thanks,

Trixa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
676

I solved this on my own. The fix is to populate ACCOUNTGL-CMMT-ITEM with the same value as ACCOUNTGL-ITEMNO_ACC.

I solved this on my own. The fix is to populate ACCOUNTGL-CMMT-ITEM with the same value as ACCOUNTGL-ITEMNO_ACC.

1 REPLY 1
Read only

Former Member
0 Likes
677

I solved this on my own. The fix is to populate ACCOUNTGL-CMMT-ITEM with the same value as ACCOUNTGL-ITEMNO_ACC.