Skip to Content
author's profile photo Former Member
Former Member

BAPI - BAPI_ACC_DOCUMENT_POST Error due to Currency table.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2009 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 03, 2009 at 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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.