<?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: BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055174#M1174929</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;Based on Debit/Credit indicator you have to fill the currency table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) First fetch the Debit/Credit indicator based on Posting Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM tbsl INTO l_tbsl WHERE bschl EQ wa_filedata-bschl.&lt;/P&gt;&lt;P&gt;  wa_bapiacgl09-de_cre_ind = l_tbsl-shkzg.&lt;/P&gt;&lt;P&gt;  wa_bapiacgl09-acct_type = l_tbsl-koart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Then add the currency to currency table as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF wa_bapiacgl09-de_cre_ind EQ 'S'.&lt;/P&gt;&lt;P&gt;    wa_bapiaccr09-amt_doccur = wa_filedata-wrbtr .&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    wa_bapiaccr09-amt_doccur = wa_filedata-wrbtr * -1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2009 10:36:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-08T10:36:15Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055171#M1174926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the BAPI_ACC_DOCUMENT_POST for posting AR &amp;amp; AP (Customer and Vendor ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i've one scenario where i'm getting the following error ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F5 846 - Debit/Credit indicator is inconsistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One CREDIT WITH ONE POSTING KEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMBER OF DEBITS WITH DIFFERENT POSTING KEYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you guys please help me in resolving the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked the currency table which i'm passing to BAPI, if i added the Debit values and Credit Values, the result is '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've debugged the BAPI, in Include  "LFACIF02", it_accit internal table contains the wrong Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the solution.&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 in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 05:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055171#M1174926</guid>
      <dc:creator>Adi_Bathineni</dc:creator>
      <dc:date>2009-01-08T05:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055172#M1174927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you posting the account document the Debit/Credit values always zero. even if you have multiple debit and credit psoting keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pst key|  account | amount&lt;/P&gt;&lt;P&gt;40|  12345 |  100 ---&amp;gt; credit pstkey&lt;/P&gt;&lt;P&gt;40| 12345  | 200 ---&amp;gt; credit pstkey&lt;/P&gt;&lt;P&gt;50| 999999| 300 -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;debit pstkey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 07:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055172#M1174927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T07:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055173#M1174928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use program ACC_BAPI_TEST_DOCUMENT if you're on the right SAP release. You can copy it to a Z-version and put your own data into it to simulate and/or post a financial document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my AP-example I have following setup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;accountgl: itemnr 2, gl_account filled&lt;/P&gt;&lt;P&gt;accountap: itemnr 1, vendor_no filled&lt;/P&gt;&lt;P&gt;accounttax: itemnr 3, gl_account filled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currencyamount:&lt;/P&gt;&lt;P&gt;itemnr 1, amt_doccur -116&lt;/P&gt;&lt;P&gt;itemnr 2, amt_doccur 100&lt;/P&gt;&lt;P&gt;itemnr 3, amt _doccur 16&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 08:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055173#M1174928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T08:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055174#M1174929</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;Based on Debit/Credit indicator you have to fill the currency table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) First fetch the Debit/Credit indicator based on Posting Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM tbsl INTO l_tbsl WHERE bschl EQ wa_filedata-bschl.&lt;/P&gt;&lt;P&gt;  wa_bapiacgl09-de_cre_ind = l_tbsl-shkzg.&lt;/P&gt;&lt;P&gt;  wa_bapiacgl09-acct_type = l_tbsl-koart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Then add the currency to currency table as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF wa_bapiacgl09-de_cre_ind EQ 'S'.&lt;/P&gt;&lt;P&gt;    wa_bapiaccr09-amt_doccur = wa_filedata-wrbtr .&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    wa_bapiaccr09-amt_doccur = wa_filedata-wrbtr * -1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 10:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055174#M1174929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T10:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Error - Debit/Credit indicator is inconistent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055175#M1174930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've resolved the Problem, the error is because of the Extension Structures i'm using in that BAPI.I'm not passing the Extension Structures in the BAPI,the Program is working Fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 21:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-error-debit-credit-indicator-is-inconistent/m-p/5055175#M1174930</guid>
      <dc:creator>Adi_Bathineni</dc:creator>
      <dc:date>2009-01-12T21:23:38Z</dc:date>
    </item>
  </channel>
</rss>

