<?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 error bapi BAPI_ACC_DOCUMENT_POST 848 FF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294324#M1989697</link>
    <description>&lt;P&gt;error bapi BAPI_ACC_DOCUMENT_POST gives me error: "Tax insertion for 'xxxx'&amp;gt; impossible due to tax base 0" the problem is that I fill it in the currencyamount table, but even looking in debug I find the fwbas field equal to 0 like the following screenshot, what am I wrong?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868925-riempimento-campi.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868924-errore-bapi.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 08:59:00 GMT</pubDate>
    <dc:creator>mark_fryu</dc:creator>
    <dc:date>2020-12-16T08:59:00Z</dc:date>
    <item>
      <title>error bapi BAPI_ACC_DOCUMENT_POST 848 FF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294324#M1989697</link>
      <description>&lt;P&gt;error bapi BAPI_ACC_DOCUMENT_POST gives me error: "Tax insertion for 'xxxx'&amp;gt; impossible due to tax base 0" the problem is that I fill it in the currencyamount table, but even looking in debug I find the fwbas field equal to 0 like the following screenshot, what am I wrong?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868925-riempimento-campi.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868924-errore-bapi.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 08:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294324#M1989697</guid>
      <dc:creator>mark_fryu</dc:creator>
      <dc:date>2020-12-16T08:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: error bapi BAPI_ACC_DOCUMENT_POST 848 FF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294325#M1989698</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;mark.fryu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Refer to the note &lt;A href="https://launchpad.support.sap.com/#/notes/0001801684" target="_blank"&gt;1801684 - Posting via BAPI issues error message FF 848&lt;/A&gt; that describes your problem and explains the tax entry logic of the BAPI. &lt;/P&gt;&lt;P&gt;Also look at the note &lt;A href="https://launchpad.support.sap.com/#/notes/626235" target="_blank"&gt;626235 - Tax postings with accounting BAPIs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 09:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294325#M1989698</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2020-12-16T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: error bapi BAPI_ACC_DOCUMENT_POST 848 FF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294326#M1989699</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;mark.fryu&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt; In my case I want to create GL line as Tax item. I solved it by implement BADI &lt;STRONG&gt;ACC_DUCUMENT&lt;/STRONG&gt; to force the line to be  Tax Item (  &lt;STRONG&gt;ACCIT-TAXIT&lt;/STRONG&gt; = 'X' )  at this point I assign value to Base Amount  (&lt;STRONG&gt;ACCCR-FWBAS&lt;/STRONG&gt;) also. &lt;/P&gt;&lt;P&gt;Step.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.CALL BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt; and pass value in parameter&lt;STRONG&gt; "EXTENSION2" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    1.1 Value &lt;STRONG&gt;ACCIT-TAXIT = 'X' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      EXTENSION2-STRUCTURE = '&lt;STRONG&gt;ACCIT&lt;/STRONG&gt;'.  "Structure name that need to change&lt;/P&gt;&lt;P&gt;     EXTENSION2-VALUEPART1 = '000001'.  "Item that you need to change&lt;/P&gt;&lt;P&gt;     EXTENSION2-VALUEPART2 = '&lt;STRONG&gt;TAXIT&lt;/STRONG&gt;'.  "Field name that need to change&lt;/P&gt;&lt;P&gt;     EXTENSION2-VALUEPART3 = 'X'.     "Value that you need to set&lt;/P&gt;&lt;P&gt;   1.2. Value &lt;STRONG&gt;ACCCR-FWBAS = &lt;/STRONG&gt; Your base amount eg. 1000&lt;/P&gt;&lt;P&gt;      EXTENSION2-STRUCTURE = '&lt;STRONG&gt;ACCCR&lt;/STRONG&gt;'. "Structure name that need to change&lt;/P&gt;&lt;P&gt;     EXTENSION2-VALUEPART1 = '000001'. "Item that you need to change&lt;/P&gt;&lt;P&gt;     EXTENSION2-VALUEPART2 = '&lt;STRONG&gt;FWBAS&lt;/STRONG&gt;'.  "Field name that need to change&lt;/P&gt;&lt;P&gt;   EXTENSION2-VALUEPART3 = '10000'.     "Value that you need to set&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.Implement BADI "ACC_DOCUMENT_POST&lt;/STRONG&gt;" tcode SE19.&lt;/P&gt;&lt;P&gt;  At &lt;STRONG&gt;Method&lt;/STRONG&gt; &lt;STRONG&gt;CHANGE&lt;/STRONG&gt; you can implement the logic to assign value from parameter &lt;B&gt;"EXTENSION2".&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;3.You can test the result now.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Enjoy !.&lt;/P&gt;&lt;P&gt;Sayan. &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 08:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-bapi-bapi-acc-document-post-848-ff/m-p/12294326#M1989699</guid>
      <dc:creator>Sayan_C</dc:creator>
      <dc:date>2020-12-20T08:46:45Z</dc:date>
    </item>
  </channel>
</rss>

