<?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 Withholding tax code XX - BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243787#M1526728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ppl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to post a document using Bapi, BAPI_ACC_DOCUMENT_POST. The document is posted successfully but the Withholding tax code is updated as XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ECC6 environment. The data is passed in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have filled the parameters &lt;STRONG&gt;documentheader&lt;/STRONG&gt;, &lt;STRONG&gt;accountgl&lt;/STRONG&gt;, &lt;STRONG&gt;accountpayable&lt;/STRONG&gt;, &lt;STRONG&gt;currencyamount&lt;/STRONG&gt;, &lt;STRONG&gt;accountwt&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The with holding tax code is passed in the parameter &lt;STRONG&gt;accountpayable-w_tax_code&lt;/STRONG&gt;. Also, in the parameter  &lt;STRONG&gt;accountwt-wt_code&lt;/STRONG&gt; the with holding tax code is passed. In the parameter  &lt;STRONG&gt;accountwt-bas_amt_tc&lt;/STRONG&gt; i have passed the withholdingtaxbase amount. In the parameter &lt;STRONG&gt;accountwt-itemno_acc&lt;/STRONG&gt; I have passed the corresponding line item number (In my case Vendor Line item number i.e., Account Payable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When these values are passed and BAPI is executed the document is posted but the taxcode is updated as XX instead of the value that is passed. (In my case 07)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode it is observed that when data is passed in parameter &lt;STRONG&gt;accountwt&lt;/STRONG&gt;, internally there is some counter whose value becomes 1. If the counter value is &amp;gt;0 then the tax code value is changed to XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know why I get this problem. Is it problem with Standard SAP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Oct 2010 07:24:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-01T07:24:55Z</dc:date>
    <item>
      <title>Withholding tax code XX - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243787#M1526728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ppl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to post a document using Bapi, BAPI_ACC_DOCUMENT_POST. The document is posted successfully but the Withholding tax code is updated as XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ECC6 environment. The data is passed in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have filled the parameters &lt;STRONG&gt;documentheader&lt;/STRONG&gt;, &lt;STRONG&gt;accountgl&lt;/STRONG&gt;, &lt;STRONG&gt;accountpayable&lt;/STRONG&gt;, &lt;STRONG&gt;currencyamount&lt;/STRONG&gt;, &lt;STRONG&gt;accountwt&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The with holding tax code is passed in the parameter &lt;STRONG&gt;accountpayable-w_tax_code&lt;/STRONG&gt;. Also, in the parameter  &lt;STRONG&gt;accountwt-wt_code&lt;/STRONG&gt; the with holding tax code is passed. In the parameter  &lt;STRONG&gt;accountwt-bas_amt_tc&lt;/STRONG&gt; i have passed the withholdingtaxbase amount. In the parameter &lt;STRONG&gt;accountwt-itemno_acc&lt;/STRONG&gt; I have passed the corresponding line item number (In my case Vendor Line item number i.e., Account Payable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When these values are passed and BAPI is executed the document is posted but the taxcode is updated as XX instead of the value that is passed. (In my case 07)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode it is observed that when data is passed in parameter &lt;STRONG&gt;accountwt&lt;/STRONG&gt;, internally there is some counter whose value becomes 1. If the counter value is &amp;gt;0 then the tax code value is changed to XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know why I get this problem. Is it problem with Standard SAP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 07:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243787#M1526728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-01T07:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Withholding tax code XX - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243788#M1526729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never got the table parameter ACCOUNTWT working and posting the correct Withholding Tax information. You have other alternatives to post withholding tax, via BADI (BADI_ACC_DOCUMENT) or BTE ([BAPI_ACC_DOCUMENT_POST Withholding Tax |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4607117"&gt;&lt;/A&gt;]) for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 10:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243788#M1526729</guid>
      <dc:creator>mrio_espinheira</dc:creator>
      <dc:date>2010-10-01T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Withholding tax code XX - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243789#M1526730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P class="almost_half_cell" id="gt-res-content"&gt;&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="long_text short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;you have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solved this issue? Please, help me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt; &lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="long_text short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 16:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243789#M1526730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-29T16:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Withholding tax code XX - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243790#M1526731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P class="almost_half_cell" id="gt-res-content"&gt;&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="long_text short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;you have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solved this issue? Please, help me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN class="long_text short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 16:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/withholding-tax-code-xx-bapi-acc-document-post/m-p/7243790#M1526731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-29T16:52:11Z</dc:date>
    </item>
  </channel>
</rss>

