10-06-2008 2:10 PM
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?
10-06-2008 2:23 PM
the posting date was not correct, i guess
when i changed it, it worked
10-06-2008 2:23 PM
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