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

error in BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
517

Im trying to post a document via BAPI_ACC_DOCUMENT_POST but im getting the error 'Balance in transaction currency'

The values in the document amount (both debit and credit) are the same, and when totalling, they are 0

so the figures balance, isnt it?

is there any reason why this error is getting displayed?

2 REPLIES 2
Read only

Former Member
0 Likes
483

the posting date was not correct, i guess

when i changed it, it worked

Read only

naimesh_patel
Active Contributor
0 Likes
483

You have to pass the currency with the leading Sign, if it is negative. Like if you want to post the document with 100 USD from GL1 to GL2, than you must pass 100 USD for the GL2 and -100 USD for the GL1 in the amount fields of the BAPI.

Regards,

Naimesh Patel