‎2009 Nov 03 7:50 AM
Hi Guys ,
I am facing an error while posting documents using BAPI_ACC_DOCUMENT_POST. The error occurs is in the tables parameters "currencyamount" .I am appending Amt in document currency, Amt in Local currency, Amount in 2nd Currency and Amount in 3rd Currency using Currency type (CURR_TYP) 00,10,30 and 60 respectively for every line item. All these 4 currency fields might have different values.The error in the "return" parameter says "Balance in currencies".
Can anyone suggest an appropriate way to pass all the above 4 currency fields to the same line item ?
Thanks,
Venkat.
‎2009 Nov 03 11:15 AM
Hi
I think you are passing wrong values to currency table.
Based on the line item numbers of GL / Account Payable / Account receivable data, pass the credit / debit values to currency table.
Basically When you sum up the currency values, it should become zero.
Regards
Madhan D
‎2009 Nov 03 11:15 AM
Hi
I think you are passing wrong values to currency table.
Based on the line item numbers of GL / Account Payable / Account receivable data, pass the credit / debit values to currency table.
Basically When you sum up the currency values, it should become zero.
Regards
Madhan D
‎2009 Nov 03 11:34 AM
Hi Madhan,
Thanks for the resolution. It works fine now.
Regards,
Venkat.
‎2012 Feb 02 5:38 PM
‎2009 Nov 03 11:23 AM
Hi VG,
while using this bapi...the total amount or net amount should be zero.
Thru Txn we assign posting key ..and system autiomatically take the sign on the basiss of Posting key..but in this bapi we dont have posting key field....so we have to give the amount with the sign...and total of all the line items should be zero ...
Thnx
RK
‎2009 Nov 03 11:35 AM
Hi Rahul ,
Thanks for the resolution. The error is resolved now.
Thanks,
Venkat.