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: 

BAPI_ACC_DOCUMENT_POST error RW 022 FI/CO interface: Balance in transaction currency

suman_kurdekar
Explorer
0 Kudos
13,656

Hello ,

Running bapi in se37 for posting incoming payments (to clear open items ) like f-28 . passed document header data , account recievable data and currency amount .. i want to do full payment . its giving error balance in transaction currency .Plz help someone to solve it . In scn i seen same post but those answers not helping me to solve it .

9 REPLIES 9

RaymondGiuseppi
Active Contributor
2,652

Did you check that the amount in transaction currency of the bank account is equal to the sum of cleared amounts in the customer account in your document, so document is balanced.

Regards,
Raymond

0 Kudos
2,652

Hello Raymond ,

Yes i passed full amount in currencyamount table field AMT_DOCCUR ..

0 Kudos
2,652

Did you also use correct CURR_TYPE ('00') and CURRENCY values too, and correct sign for customer/bank accounts.

CURRENCYAMOUNT-ITEMNO_ACC = '0000000001'.
CURRENCYAMOUNT-CURR_TYPE = '00'.
CURRENCYAMOUNT-CURRENCY = 'USD'.
CURRENCYAMOUNT-AMT_DOCCUR = '113-'.

Sum of AMT_DOCCUR must be zero.

Regards,
Raymond

0 Kudos
2,652

Hi Raymond,

I debugged the BAPI and verified that when 'currencyamount' is not zero, error

'FI/CO interface: Balance in transaction currency' is raised. However, how do I set this to zero? Or how do I relay this to the functional in terms that he can understand.

Thanks and Regards,

Kath

ashok_mohan
Participant
0 Kudos
2,652

Have you checked debit/credit like plus and minus sign when specifying the amount?

0 Kudos
2,652

Hello Ashok ,

yes i specified debit/credit .

Thank you ,

Suman

0 Kudos
2,652

Hello Ashok ,

yes i specified debit/credit .

Thank you ,

Suman

iklovski
Active Contributor
2,652

Hi,

Set a breakpoint on your BAPI, when you fill it, and check 'currencyamount' BAPI's internal table. You should have zero amount in result. If you still experience problem, post the outcome of this table in this thread.

Regards,

Eli

0 Kudos
2,652

Hi Eli,

As per your comment, I debugged the BAPI and verified that when 'currencyamount' is not zero, error '

FI/CO interface: Balance in transaction currency' is raised. However, how do I set this to zero? Or how do I relay this to the functional in terms that he can understand.

Thanks and Regards,

Kath