<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785167#M1308970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing i noticed is to post any FI document, there should be either - Posting Key or Posting Indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone let me know which field i can use in this BAPI for 'Posting key' or 'Posting Indicator'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the entire forum, but i am still stuck in using this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help/guide me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2009 15:25:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-04T15:25:59Z</dc:date>
    <item>
      <title>Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785153#M1308956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question on BAPI_ACC_GL_POSTING_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to search in the forum, but didn't find any pointers on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am getting error message like:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;T ID                   NUM MESSAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E RW                   609 Error in document: BKPFF 50000000542009 DW1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E F5                   702 Balance in transaction currency&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please guide me on how to use this bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 09:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785153#M1308956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785154#M1308957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the total line item the amount should be zero...(debit and credit).. or if you are using multiple currency and if there is a difference either u have to take care or the config should be there to post the diff in some default gl account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 09:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785154#M1308957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T09:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785155#M1308958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the given link. hope It will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7476545"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shamma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 11:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785155#M1308958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785156#M1308959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For posting the Documents, the basic rule is the Debit and Credit Values (Total) should be equal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you add both values, you should get '0'. (ZERO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check the Document and Balance the totals. If the Document is ok, then the Problem is in the Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to Debug the Program and find whether the totals are passing Correctly to the respective structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Credit Values should pass as Negative values to the Structures and Debit Values as +VE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 11:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785156#M1308959</guid>
      <dc:creator>Adi_Bathineni</dc:creator>
      <dc:date>2009-07-01T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785157#M1308960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all your sugestions, but still I am facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still getting error as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;T ID                   NUM MESSAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E RW                   609 Error in document: BKPFF 50000000542009 DW1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E F5                   702 Balance in transaction currency&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785157#M1308960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785158#M1308961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message is telling you exactly what the problem is. See Atul's answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 14:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785158#M1308961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785159#M1308962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the amount should be balanced, and i have doen that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried with different GL accounts, but of no use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still facing the same issue - "Error in document,  Balance in transaction currency".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the possible root cause, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 12:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785159#M1308962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785160#M1308963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the amounts you're transfering in CURRENCYAMOUNT parameter: the total has to be ZERO, so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CURRENCYAMOUNT-CURR_TYPE    = 00 - transaction currency
CURRENCYAMOUNT-CURRENCY      = &amp;lt;Currency code&amp;gt;
CURRENCYAMOUNT-AMT_DOCCUR = &amp;lt;amount&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total of the value in AMT_DOCCUR (for all records you're appending there) has to be zero: u need to transfer the amount with the sign if it has to be less than 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785160#M1308963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785161#M1308964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a snapshot of my Currency details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ITEMNO_ACC  CU CURRE CUR       AMT_DOCCUR                     EXCH_RATE    EXCH_RATE_V

0000000001               00 USD                             61.0000                                               0.00000
0000000002               00 USD                             61.0000-                                              0.00000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know where i a m going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785161#M1308964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785162#M1308965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be ok, so the error is not there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you transfering the data to ACCOUNTGL parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785162#M1308965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785163#M1308966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still facing the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing the BAPI manually thru se37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use this BAPI in my code, so before using it I am testing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me any pointers of wat might be going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 13:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785163#M1308966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785164#M1308967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data for amounts are ok, so the problem can be in the data for ACCOUNTGL? How do you fill it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 14:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785164#M1308967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785165#M1308968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the details on AccountGL data population:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ITEMNO_ACC GL_ACCOUNT COMP PSTNG_DATE DO COSTCENTER

0000000001   22980010        1001   06/26/2009    WE  100110013&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from those fields i am not populating anything else in AccountGL table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 14:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785165#M1308968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785166#M1308969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have faced this issue long back using the bapi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I my case the Currency conversion factor was the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Donno wat is the exchange rates  you are using and rounding of values that is taking place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I faced this issue with currencies like HUF,JPY as they have rounding problems in SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this point. Hope this could help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usally Balance in transaction Currency is an issue when the debit and credits doesn't match and has nothing to do with GL entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also an observation on the Currency line items passed. Document currency is in Fifth column. I am not sure in which column you are passing the currency values. Please check the same.(I am referring to structure fields BAPIACCR09) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Durga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Durgaprasad Kare on Jul 15, 2009 10:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 18:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785166#M1308969</guid>
      <dc:creator>Durga_Kare</dc:creator>
      <dc:date>2009-07-15T18:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785167#M1308970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing i noticed is to post any FI document, there should be either - Posting Key or Posting Indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone let me know which field i can use in this BAPI for 'Posting key' or 'Posting Indicator'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the entire forum, but i am still stuck in using this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help/guide me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 15:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785167#M1308970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T15:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785168#M1308971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We tried using the bapi in one of our requirement and failed to use it successfully.&lt;/P&gt;&lt;P&gt;Finally we decided to go for BDC.&lt;/P&gt;&lt;P&gt;you should convince your client for doing BDC on FB05 transaction. Its easy to post a FI doc using BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prathap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 17:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785168#M1308971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T17:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785169#M1308972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan/Pratap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have successfully implemente dteh BAPI...We have to pass the posting key as a mandatory field.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sample code...hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample code for post the GL entries in SAP....i am using bapi instead GL_DOC_POSt bapi.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;There is a 2.500 character limit for posts. Please post only relevant portions of code.***&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if u need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also send me ur code so that i can check if somethingis missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Durga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Durgaprasad Kare on Aug 4, 2009 8:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Aug 4, 2009 2:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 18:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785169#M1308972</guid>
      <dc:creator>Durga_Kare</dc:creator>
      <dc:date>2009-08-04T18:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785170#M1308973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your info, can you please paste ur sample code related to bapi filling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my way of filling the bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lwa_doc_hdr-obj_type = 'BKPFF'.
        lwa_doc_hdr-obj_key  = &amp;lt;gwa_final&amp;gt;-belnr.
        lwa_doc_hdr-obj_sys  = sy-sysid.
        lwa_doc_hdr-username = sy-uname.
        lwa_doc_hdr-header_txt = &amp;lt;gwa_final&amp;gt;-bktxt.
        lwa_doc_hdr-comp_code = &amp;lt;gwa_final&amp;gt;-bukrs.
        lwa_doc_hdr-doc_date = sy-datum.
        lwa_doc_hdr-pstng_date = p_budat.
        lwa_doc_hdr-doc_type = &amp;lt;gwa_final&amp;gt;-blart.

        lwa_accntgl-itemno_acc = sy-tabix.
        lwa_accntgl-gl_account = p_saknr.
        lwa_accntgl-comp_code  = &amp;lt;gwa_final&amp;gt;-bukrs.
        lwa_accntgl-pstng_date = p_budat.
        lwa_accntgl-doc_type   = &amp;lt;gwa_final&amp;gt;-blart.
        lwa_accntgl-profit_ctr = &amp;lt;gwa_final&amp;gt;-kostl.
        APPEND lwa_accntgl TO lt_accntgl.

        lwa_curramnt-itemno_acc = sy-tabix.
        lwa_curramnt-currency   = &amp;lt;gwa_final&amp;gt;-waers.
        lwa_curramnt-amt_doccur = &amp;lt;gwa_result&amp;gt;-diff.
        APPEND lwa_curramnt TO lt_curramnt.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am going wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please let me know which field to pass 'Posting Key/Indicator'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 14:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785170#M1308973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T14:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785171#M1308974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;There Should to Debit and Cerdit balance and There is no way to pass Posting key In BAPI_ACC_GL_POSTING_POST but  event  RWBAPI01 (BTE ) which you can use to change posting key you need to pass the   EXTENSION structure in bapi call and implements SAMPLE_INTERFACE_RWBAPI01 function module where you write logic to pass to posting .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
bapiache09-username       = sy-user'.
bapiache09-bus_act        = 'RFBU'.
bapiache09-comp_code      = 'RS01'.
bapiache09-comp_code      = 'RS01'.
bapiache09-pstng_date     = '20090230'.
bapiache09-doc_date       = '20090230'.
bapiache09-trans_date     = '20090230'.
bapiache09-fisc_year      = '2008'.
bapiache09-fis_period     = '11'.
bapiache09-doc_type       = 'KY'.

it_bapiacgl09-itemno_acc = '0000000001'.
it_bapiacgl09-gl_account = '0024520080'.
it_bapiacgl09-comp_code  = 'RS01'.
it_bapiacgl09-bus_area   = 'BARD'.
*it_bapiacgl09-doc_type   = 'KY'.
*it_bapiacgl09-acct_type  = 'K'.

APPEND it_bapiacgl09 .

it_bapiacap09-itemno_acc   = '0000000002'.
it_bapiacap09-vendor_no    = 'MSHS0100'.
*it_bapiacap09-gl_account   = '0013000001'.
*it_bapiacap09-comp_code    = 'RS01'.
*it_bapiacap09-bus_area     = 'BARD'.
*it_bapiacap09-doc_type   = 'KY'.
*it_bapiacap09-acct_type  = 'K'.
*it_bapiacap09-PYMT_AMT     = '1287'.
*it_bapiacap09-PYMT_CUR_ISO = 'INR'.
APPEND it_bapiacap09.

it_bapiaccr09-itemno_acc   = '0000000001'.
it_bapiaccr09-currency_iso = 'INR'.
it_bapiaccr09-amt_doccur   = '-1287'.
it_bapiaccr09-amt_base     = '-1287'.
APPEND it_bapiaccr09.

it_bapiaccr09-itemno_acc   = '0000000002'.
it_bapiaccr09-currency_iso = 'INR'.
it_bapiaccr09-amt_doccur   = '1287'.
it_bapiaccr09-amt_base     = '1287'.
APPEND it_bapiaccr09.


*
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
  EXPORTING
    documentheader          =  bapiache09
*   CUSTOMERCPD             =
*   CONTRACTHEADER          =
* IMPORTING
*   OBJ_TYPE                =
*   OBJ_KEY                 =
*   OBJ_SYS                 =
  TABLES
   accountgl               =  it_bapiacgl09[]
*   ACCOUNTRECEIVABLE       =
   accountpayable          =  it_bapiacap09[]
*   ACCOUNTTAX              =
    currencyamount          = it_bapiaccr09[]
*   CRITERIA                =
*   VALUEFIELD              =
*   EXTENSION1              =
    return                  = it_return[]
*   PAYMENTCARD             =
*   CONTRACTITEM            =
*   EXTENSION2              =
*   REALESTATE              =
*   ACCOUNTWT               =
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 14:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785171#M1308974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785172#M1308975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madan,&lt;/P&gt;&lt;P&gt;Follow the code carefully,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***data declatrions: dont forget this piece&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-username = sy-uname.&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-header_txt = 'HEAD'.&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-comp_code =  '1900'.&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-doc_date = sy-datum.&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-pstng_date = '20090101'.&lt;/P&gt;&lt;P&gt;lwa_doc_hdr-doc_type = 'ZI' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_accntgl-itemno_acc = '000001'.&lt;/P&gt;&lt;P&gt;lwa_accntgl-gl_account = '2169000304'.&lt;/P&gt;&lt;P&gt;lwa_accntgl-comp_code  = '1900'  .&lt;/P&gt;&lt;P&gt;lwa_accntgl-doc_type   = 'ZI'.&lt;/P&gt;&lt;P&gt;lwa_accntgl-profit_ctr = '0001000891'.&lt;/P&gt;&lt;P&gt;APPEND lwa_accntgl TO lt_accntgl.&lt;/P&gt;&lt;P&gt;lwa_accntgl-itemno_acc = '000002'.&lt;/P&gt;&lt;P&gt;lwa_accntgl-gl_account = '2950500408'.&lt;/P&gt;&lt;P&gt;APPEND lwa_accntgl TO lt_accntgl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_curramnt-itemno_acc = '000001'.&lt;/P&gt;&lt;P&gt;lwa_curramnt-curr_type = '00'.&lt;/P&gt;&lt;P&gt;lwa_curramnt-currency   = 'CAD'   .&lt;/P&gt;&lt;P&gt;lwa_curramnt-amt_doccur = '10.00' .   ******posting key value 40&lt;/P&gt;&lt;P&gt;APPEND lwa_curramnt TO lt_curramnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_curramnt-itemno_acc = '000002'.&lt;/P&gt;&lt;P&gt;lwa_curramnt-currency   = 'CAD'   .&lt;/P&gt;&lt;P&gt;lwa_curramnt-amt_doccur = '-10.00'.      ******posting key value 50&lt;/P&gt;&lt;P&gt;APPEND lwa_curramnt TO lt_curramnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_extn-field1+0(10) = '000001'.&lt;/P&gt;&lt;P&gt;lwa_extn-field1+20(4) = 'ECGL'.&lt;/P&gt;&lt;P&gt;APPEND lwa_extn TO lt_extn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lwa_extn-field1+0(10) = '000002'.&lt;/P&gt;&lt;P&gt;lwa_extn-field1+20(4) = 'ECGL'.&lt;/P&gt;&lt;P&gt;APPEND lwa_extn TO lt_extn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    documentheader       =  lwa_doc_hdr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_TYPE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_KEY              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_SYS              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    accountgl            =  lt_accntgl&lt;/P&gt;&lt;P&gt;    currencyamount       =  lt_curramnt&lt;/P&gt;&lt;P&gt;    return               =  lt_return&lt;/P&gt;&lt;P&gt;    extension1           =  lt_extn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ 'passed'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we do not require  any posting keys as the currency can be passed directly.......Im my logic i am using extension structure for populating zfields.....use them only if u have to pass them else skip it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Durga.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 20:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-document-for-bapi-acc-gl-posting-post-help-me-with-pointers/m-p/5785172#M1308975</guid>
      <dc:creator>Durga_Kare</dc:creator>
      <dc:date>2009-08-05T20:34:32Z</dc:date>
    </item>
  </channel>
</rss>

