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

Getting Error while posting through BAPI_ACC_DOCUMENT_POST

Hi folks,

I'm getting the below error while i'm trying to post the G/L account using BAPI_ACC_DOCUMENT_POST.Kindly help me in rectifying this error.

Error in document : BKPFF $ BH2CLNT200 400.00 USD

Balance in transaction currency.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 08, 2010 at 07:23 AM


    Set a breakpoint when ends the function module BAPI_ACC_DOCUMENT_POST, you must have an structure (internal table) related with RETURN (like BAPIRET2). You can see the last error message, but surely you have more messages that explains you the reasons. Check also tcode SM13.



    PD: check too how populate the value of BH2CLNT200. Perhaps you have it harcoded in ABAP, because is a concatenation of system, mandant, etc.... and development enviroment and production enviroment don't have the same name

    Edited by: E_Hinojosa on Oct 8, 2010 9:24 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 08, 2010 at 08:36 AM

    May be the debits and credis total did not match in the transaction currency . Have you checked that?

    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.