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 error: Debit/credit indicator is inconsistent

aris_hidalgo
Contributor
0 Likes
5,616

Hello Experts,

I am having problems using the said BAPI. Below are the messages that is

generated:

Error in document: BKPFF $ DEVCLNT300

Debit/credit indicator is inconsistent

Hope you can help me guys. Thank you and take care!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,308

Hi,

Are you doing any changes in the accounting strucutre "IT_ACCIT" through user exit?

Regards

Vinod

4 REPLIES 4
Read only

Former Member
0 Likes
2,309

Hi,

Are you doing any changes in the accounting strucutre "IT_ACCIT" through user exit?

Regards

Vinod

Read only

0 Likes
2,308

Yes, I am changing the posting keys in BADI ACC_DOCUMENT.

Read only

0 Likes
2,308

Debit/Credit indicator of Posting key (Refer to Table : TBSL, Column : SHKZG) of the line item

should match with the sign (+/-) of amount which is passing to the structure "currencyamount" of the corresponding line item.

Example :

Posting key : 11 - Indicator : H (credit) : Amount with - sign

Posting key : 40 - indicator : S (Debit) : Amount with + sign

Regards

Vinod

Edited by: Vinod Kumar on Apr 16, 2010 1:07 PM

Read only

jyotheswar_p2
Active Participant
0 Likes
2,308

Based on the posting keys when u fill the amounts the should send a sign to amount fields when u pass them to strucutre CURRENCYAMOUNT and the amount should be balanced.

Thanks & Regards

Jyo