‎2010 Nov 12 7:42 AM
Hi,
I receive an Error 'A balance has occurred in transaction currency 'EUR''
The values in the internal table passed to the parameter CURRENCYAMOUNT are not balanced.
(ie the sum of the values of field AMT_DOCCUR do not sum to 0).
Is this the cause of the error returned by the BAPI.
Is it necessary that the values passed to CURRENCYAMOUNT always need to balance to 0.
Thanks for the help.
regards,
Karen
‎2010 Nov 12 8:04 AM
>
> Is this the cause of the error returned by the BAPI.
> Is it necessary that the values passed to CURRENCYAMOUNT always need to balance to 0.
Thumb rule: you need to match the Debit & the Credit line items for an a/c'ing doc to be posted successfully. This clearly means the net balance should be zero.
BR,
Suhas
PS: You can refer to the SAP demo program ACC_BAPI_TEST_DOCUMENT.
‎2010 Nov 12 9:52 AM
Congratulations, you have found the fundamental concept of double entry bookkeeping
Thomas
‎2010 Nov 24 1:00 PM
‎2010 Nov 24 1:16 PM
First of all, your question was answered. Second, there is a new status for "closed but unanswered", please make use of it. Third, please do not leave meaningless comments when closing threads, the text box is optional.
Thomas