<?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 problem in BAPI_ACC_DOCUMENT_POST - Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956224#M945432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir i mentioned that I had already tried that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I retried anyway:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: Foreign currency translation not supported for tax calculation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 07:14:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-04T07:14:14Z</dc:date>
    <item>
      <title>Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956222#M945430</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;I am having problems with catering to the Tax scenario with the bapi  BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario is as follows:&lt;/P&gt;&lt;P&gt;doctype = SA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;key = 19&lt;/P&gt;&lt;P&gt;Customer  =1000000796&lt;/P&gt;&lt;P&gt;special GL indicator =T&lt;/P&gt;&lt;P&gt;wrbtr =1350-&lt;/P&gt;&lt;P&gt;baseline date = 30112007&lt;/P&gt;&lt;P&gt;Tax code = O3&lt;/P&gt;&lt;P&gt;business area = 1202&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;Now the problem is with this line; Tax code 03 is 15% for vendor. In this is case it will be 202.5 or 203.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUT the business process is such that the tax code only exists for informational purposes- no tax amount is calculated or placed in.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives a warning which we ignore and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if no tax code is entered, it gives an error -no tax code entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;Now if fill the ACCOUNTRECEIVABLE &lt;/P&gt;&lt;P&gt;without the tax code- it gives an error-.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If i fill the tax code it gives the error = Tax code O3 does not appear in any G/L account item&lt;/P&gt;&lt;P&gt;without filling the ACCOUNTTAX&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i fill the tax line :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ACCOUNTTAX&lt;/P&gt;&lt;P&gt;ITEMNO_ACC = 0000000030&lt;/P&gt;&lt;P&gt;GL_ACCOUNT = 0002381029&lt;/P&gt;&lt;P&gt;COND_KEY  = MWAS&lt;/P&gt;&lt;P&gt;ACCT_KEY = MWS&lt;/P&gt;&lt;P&gt;TAX_CODE = O3&lt;/P&gt;&lt;P&gt;TAX_RATE = 15.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CURRENCYAMOUNT&lt;/P&gt;&lt;P&gt;ITEMNO_ACC = 0000000030&lt;/P&gt;&lt;P&gt;CURRENCY = PKR&lt;/P&gt;&lt;P&gt;AMT_DOCCUR = 0&lt;/P&gt;&lt;P&gt;AMT_BASE = 1350-&lt;/P&gt;&lt;P&gt;TAX_AMT =0&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;At this it gives the error : Foreign currency translation not supported for tax calculation&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the forums and have looked around. I changed the business transaction to RMRP&lt;/P&gt;&lt;P&gt;and it returns to&lt;/P&gt;&lt;P&gt;Tax code O3 does not appear in any G/L account item&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help with this scenario.&lt;/P&gt;&lt;P&gt;Points will be rewarded&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 07:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956222#M945430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T07:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956223#M945431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;copy this and try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

ACCOUNTTAX
ITEMNO_ACC = 0000000030
GL_ACCOUNT = 0002381029
COND_KEY = MWAS
ACCT_KEY = MWS
TAX_CODE = 03
TAX_RATE = 15.000

CURRENCYAMOUNT
ITEMNO_ACC = 0000000030
CURRENCY = PKR
AMT_DOCCUR = 0
AMT_BASE = 1350-
TAX_AMT =0

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 07:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956223#M945431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T07:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956224#M945432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir i mentioned that I had already tried that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I retried anyway:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: Foreign currency translation not supported for tax calculation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 07:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956224#M945432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956225#M945433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been searching around for a similar problem but cant seem to find one~ there was one case where the special gl indicator did not require an entry in the ACCOUNTTAX table but even that did not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone have an idea for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 07:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956225#M945433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T07:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956226#M945434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An update to this:&lt;/P&gt;&lt;P&gt;I found that the &lt;/P&gt;&lt;P&gt;Foreign currency translation not supported for tax calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was because the currency type field was being taken as 00 as 10. 10 is used as our currtype. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document is still in error though. resolving&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Zeeshan Shah on Jun 4, 2008 3:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 08:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956226#M945434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T08:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956227#M945435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the problem with message id FF753 is extensive. I have searched around on sapnotes and found some notes related to inconsistencies in BSET and BSEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone tell me how the field DIRECT_TAX in ACCOUNTTAX works? Maybe that would help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 04:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956227#M945435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T04:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956228#M945436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well i finally identified the error location:&lt;/P&gt;&lt;P&gt;its in CALCULATE_TAX_DOCUMENT&lt;/P&gt;&lt;P&gt;which is in SAPLTAX1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line664&lt;/P&gt;&lt;P&gt;It tries to check a value in BSET but fails and gives the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;if i_xsimu = space&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;    &lt;EM&gt;and i_xnoms = space.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;loop at skftabn.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;if skftabn-mwskz ne '**'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;loop at xbset where mwskz = skftabn-mwskz.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;exit.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;endloop.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;if sy-subrc ne 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;call function 'CUSTOMIZED_MESSAGE'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;              &lt;EM&gt;exporting&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;                &lt;EM&gt;i_arbgb = 'FF'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*               i_dtype = 'W'                         "n877942&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;                &lt;EM&gt;i_dtype = 'E'                         "n877942&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;                &lt;EM&gt;i_msgnr = '753'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;                &lt;EM&gt;i_var01 = skftabn-mwskz.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;            &lt;EM&gt;exit.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;          &lt;EM&gt;endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;        &lt;EM&gt;endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;endloop.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone have had this scenario, please help&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 05:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956228#M945436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Tax problem in BAPI_ACC_DOCUMENT_POST - Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956229#M945437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldnt use this scenario. Replaced it with a background bdc recording&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 06:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-problem-in-bapi-acc-document-post-help/m-p/3956229#M945437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T06:21:40Z</dc:date>
    </item>
  </channel>
</rss>

