<?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: tax base amount problem with BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329792#M797678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACCOUNTGL : mention only G/L line items here&lt;/P&gt;&lt;P&gt;ACCOUNTTAX : mention the VAT items here only but with the same item number like in currencyamount, the amounts are not important here, simply zero...&lt;/P&gt;&lt;P&gt;CURRENCYAMOUNT : mention all items here, in case of normal posting the amount comes to field AMT_DOCCUR, in case of VAT posting the amount of VAT comes to AMT_DOCCUR, the base amount comes to AMT_BASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 13:20:10 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-02-05T13:20:10Z</dc:date>
    <item>
      <title>tax base amount problem with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329791#M797677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;regarding bapi BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;We are facing following problem regarding tax: &lt;/P&gt;&lt;P&gt;we have a document with 3 line items, one of them is a tax item. It's not clear how do we fill the ACCOUNTTAX structure. We tried to fill all three items into the ACCOUNTGL str. and the tax item into the ACCOUNTTAX. When we run the BAPI it posts the document. It looks correct when looking at the items in FB03. However when we look at the tax data it's not correct. The tax base amount is wrong and tax amount is 0. Has anybody solved this problem? &lt;/P&gt;&lt;P&gt;please reply ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329791#M797677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: tax base amount problem with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329792#M797678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACCOUNTGL : mention only G/L line items here&lt;/P&gt;&lt;P&gt;ACCOUNTTAX : mention the VAT items here only but with the same item number like in currencyamount, the amounts are not important here, simply zero...&lt;/P&gt;&lt;P&gt;CURRENCYAMOUNT : mention all items here, in case of normal posting the amount comes to field AMT_DOCCUR, in case of VAT posting the amount of VAT comes to AMT_DOCCUR, the base amount comes to AMT_BASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329792#M797678</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-02-05T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: tax base amount problem with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329793#M797679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi eric,&lt;/P&gt;&lt;P&gt;thanks for your reply, however i got the solution for it yesterday,most of what you replied is right except CURRENCYAMOUNT table is to be filled twice for every line item, one for CURR_TYPE = 00 (document currency) and the other for 10 (company code currency) i.e the local currency it is because foreign currency translation is not supported for the tax items.&lt;/P&gt;&lt;P&gt;now i have a new problem iam trying to update the profitability segment(PS) fields using the table CRITERIA, bapi is posting the document but the PS fields are not updated it is also not giving any errors.&lt;/P&gt;&lt;P&gt; example code&lt;/P&gt;&lt;P&gt;T_CRITERIA-ITEMNO_ACC = 2.&lt;/P&gt;&lt;P&gt;T_CRITERIA-FIELDNAME  = 'KNDNR'.&lt;/P&gt;&lt;P&gt;T_CRITERIA-CHARACTER  = '0003000355'.&lt;/P&gt;&lt;P&gt;APPEND T_CRITERIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR T_CRITERIA.&lt;/P&gt;&lt;P&gt;T_CRITERIA-ITEMNO_ACC = 2.&lt;/P&gt;&lt;P&gt;T_CRITERIA-FIELDNAME  = 'PRCTR'.&lt;/P&gt;&lt;P&gt;T_CRITERIA-CHARACTER  = '0000809098'.&lt;/P&gt;&lt;P&gt;APPEND T_CRITERIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR T_CRITERIA.&lt;/P&gt;&lt;P&gt;T_CRITERIA-ITEMNO_ACC = 2.&lt;/P&gt;&lt;P&gt;T_CRITERIA-FIELDNAME  = 'VKORG'.&lt;/P&gt;&lt;P&gt;T_CRITERIA-CHARACTER  = '8001'.&lt;/P&gt;&lt;P&gt;APPEND T_CRITERIA.&lt;/P&gt;&lt;P&gt;am i missing something, there are only three fields in this table, do i need to pass anything else in some other table.&lt;/P&gt;&lt;P&gt;please reply.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329793#M797679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: tax base amount problem with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329794#M797680</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 below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://codemare.blogspot.com/2007/11/bapiaccdocumentpost.html" target="test_blank"&gt;http://codemare.blogspot.com/2007/11/bapiaccdocumentpost.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329794#M797680</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-02-06T06:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: tax base amount problem with BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329795#M797681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;we also facing the same problem. we tried by passing to table accounttax.getting message documnet posted with key.but i couldn't find the entry in table with that key.are the tables bkpf &amp;amp; bseg where it stores in case of account tax also?&lt;/P&gt;&lt;P&gt;can you send us the example code  to set flag .&lt;/P&gt;&lt;P&gt;Its so urgent for us.Please help us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;salini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 14:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-base-amount-problem-with-bapi-acc-document-post/m-p/3329795#M797681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T14:31:10Z</dc:date>
    </item>
  </channel>
</rss>

