<?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: BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380410#M1994155</link>
    <description>&lt;P&gt;There is a good example for the BAPI call under this URL,&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/3117081/sample-code-for-bapiaccdocumentpost.html" target="test_blank"&gt;https://answers.sap.com/questions/3117081/sample-code-for-bapiaccdocumentpost.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;just check the return parameter after the call to see what is wrong.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 16:29:45 GMT</pubDate>
    <dc:creator>gurkanyilmaz</dc:creator>
    <dc:date>2021-02-15T16:29:45Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380409#M1994154</link>
      <description>&lt;P&gt;I have been given excel sheet data with 1st line item with gl_account field &amp;amp; tax_code field filled and passing that entry into GLACCOUNT table and 2nd line item contains Vendor data filled and passing this entry into ACCOUNTPAYABLE table. The 1st line item derives multiple line items and passed them into ACCOUNTTAX table. &lt;/P&gt;
  &lt;P&gt;Now,&lt;/P&gt;
  &lt;P&gt; glaccount table has ---&amp;gt;1 entry&lt;/P&gt;
  &lt;P&gt;accountpayable---&amp;gt;1 entry&lt;/P&gt;
  &lt;P&gt;taxaccount table ---&amp;gt;2 entries&lt;/P&gt;
  &lt;P&gt;currencyamount table --&amp;gt; 4 entries( all the entries clubbed together) and passed them to BAPI_ACC_DOCUMENT_POST. along with document header and customercpd structures. But unable to find the derived line entries in BSEG table after committing the BAPI.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 16:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380409#M1994154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-02-15T16:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380410#M1994155</link>
      <description>&lt;P&gt;There is a good example for the BAPI call under this URL,&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/3117081/sample-code-for-bapiaccdocumentpost.html" target="test_blank"&gt;https://answers.sap.com/questions/3117081/sample-code-for-bapiaccdocumentpost.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;just check the return parameter after the call to see what is wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 16:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380410#M1994155</guid>
      <dc:creator>gurkanyilmaz</dc:creator>
      <dc:date>2021-02-15T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380411#M1994156</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;vamshisaichand23&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The note &lt;A href="https://launchpad.support.sap.com/#/notes/626235" target="_blank"&gt;626235 - Tax postings with accounting BAPIs&lt;/A&gt; provides nice examples of how to fill the BAPI_ACC_DOCUMENT_POST. It also contains to sample reports.&lt;/P&gt;&lt;P&gt;Have a look.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 17:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380411#M1994156</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2021-02-15T17:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380412#M1994157</link>
      <description>&lt;P&gt;Nowadays SAP provided  a method (fi_tax_services=&amp;gt;calculate, this method is also wrapped in FM FI_TAX_SERVICES_CALCULATE) that provides the required TAX records.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Prepare parameters
" ...
" Evaluate Taxes
CALL METHOD fi_tax_services=&amp;gt;calculate
  EXPORTING
    documentheader    = documentheader
    taxamount         = l_amount
    accountpayable    = accountpayable
  IMPORTING
    return_code       = l_return_code
  CHANGING
    accountgl         = accountgl
    accounttax        = accounttax
    currencyamount    = currencyamount
    return            = return.
" Call BAPI
IF l_return_code = 0.
  CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Ref: Check OSS notes 1873588 'Filling tax information for BAPIs' and 2070697 'Filling tax information for BAPIs'&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 11:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post/m-p/12380412#M1994157</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-02-24T11:45:14Z</dc:date>
    </item>
  </channel>
</rss>

