<?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 External Tax Calculation for BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156773#M1621846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Folks - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt; for creating FI document (GL/AP/AR Invoice).  I have hit a major road block because of Tax Lines.  Since this BAPI does not calculate taxes automatically (need to be passed explicitely to ACCOUNTTAX), I would like to know how it needs to be done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  External Tax System (&lt;STRONG&gt;VERTEX&lt;/STRONG&gt;) is being used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Since the tax needs to be calculated separately and then passed to BAPI, I used the FM &lt;STRONG&gt;CALCULATE_TAX_FROM_NET_AMOUNT&lt;/STRONG&gt;.  However this is creating another problem.  Since tax is calculated from external tax system, I do not understand how to pass the Tax Jurisdiction Code to this FM.  I have the Company Code, Tax Code and Amount, but not the jurisdiction code.  Tried using the RFC &lt;STRONG&gt;'RFC_DETERMINE_JURISDICTION'&lt;/STRONG&gt; using sample Location data and got the tax jurisdiction code.  But I am not sure how to get this Location data (country, state, region, pincode etc).  I guess these needs to be taken from ADRC, but not sure whether address number should be taken from Company Code Master (T001), Cost Center Master (CSKS), Project Master (PRPS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether I need to stop using the BAPI and go with other approaches like BDC / RFBIBL00 / FIDCC2 Idoc for resolving the tax calculation issue.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the best approach for solving the above issue.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Sep 2011 18:10:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-10T18:10:37Z</dc:date>
    <item>
      <title>External Tax Calculation for BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156773#M1621846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Folks - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt; for creating FI document (GL/AP/AR Invoice).  I have hit a major road block because of Tax Lines.  Since this BAPI does not calculate taxes automatically (need to be passed explicitely to ACCOUNTTAX), I would like to know how it needs to be done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  External Tax System (&lt;STRONG&gt;VERTEX&lt;/STRONG&gt;) is being used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Since the tax needs to be calculated separately and then passed to BAPI, I used the FM &lt;STRONG&gt;CALCULATE_TAX_FROM_NET_AMOUNT&lt;/STRONG&gt;.  However this is creating another problem.  Since tax is calculated from external tax system, I do not understand how to pass the Tax Jurisdiction Code to this FM.  I have the Company Code, Tax Code and Amount, but not the jurisdiction code.  Tried using the RFC &lt;STRONG&gt;'RFC_DETERMINE_JURISDICTION'&lt;/STRONG&gt; using sample Location data and got the tax jurisdiction code.  But I am not sure how to get this Location data (country, state, region, pincode etc).  I guess these needs to be taken from ADRC, but not sure whether address number should be taken from Company Code Master (T001), Cost Center Master (CSKS), Project Master (PRPS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether I need to stop using the BAPI and go with other approaches like BDC / RFBIBL00 / FIDCC2 Idoc for resolving the tax calculation issue.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the best approach for solving the above issue.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 18:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156773#M1621846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-10T18:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: External Tax Calculation for BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156774#M1621847</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;In my experience please choose method BDC for posting FI document in this scenario...&lt;/P&gt;&lt;P&gt;BDC can capture the screen sequence of standard program flow logic after pressing &lt;STRONG&gt;enter&lt;/STRONG&gt; in online transaction, which makes life easy...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen in BAP / IDOC (which also use FM) to post it can do most of important data transfer but some subtle which standard program calculates in online transaction can not capture....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 21:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156774#M1621847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-10T21:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: External Tax Calculation for BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156775#M1621848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have requirement to read RFC call data from Sabrix tax system. Using EXIT_SAPLFYTX_USER_001 to map SAP data. &lt;/P&gt;&lt;P&gt;Q: ACCOUNTTAX / CURRENCYAMOUNTS tables not filling with right data while doing RFC call? Can anyone tell me which FM to use before calling BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 13:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/external-tax-calculation-for-bapi-acc-document-post/m-p/8156775#M1621848</guid>
      <dc:creator>former_member584048</dc:creator>
      <dc:date>2020-09-11T13:09:34Z</dc:date>
    </item>
  </channel>
</rss>

