<?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 Tax Data calculation using BAPI_ACC_INVOICE_RECEIPT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-data-calculation-using-bapi-acc-invoice-receipt-post/m-p/4068525#M972580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are creating invoices using BAPI_ACC_INVOICE_RECEIPT_POST. However Tax is not getting calculated for the line items even if we pass the tax data through the field u201CTAX_CODEu201D in the table u201CACCOUNTGLu201D. The Tax value is to be updated in table BSEG and BSET, which is not happening after the IDOC posting. Please advice whether we need to pass the parameter (table) u201CACCOUNTTAXu201D (with data filled) in order to calculate the tax for the line items.&lt;/P&gt;&lt;P&gt;We are passing the following parameters presently and IDOCS are getting posted successfully even though tax amounts are not getting calculated.&lt;/P&gt;&lt;P&gt;         CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;   DOCUMENTHEADER = DOCUMENTHEADER  (With data)&lt;/P&gt;&lt;P&gt;   CUSTOMERCPD = CUSTOMERCPD                  (blank)&lt;/P&gt;&lt;P&gt;              importing&lt;/P&gt;&lt;P&gt;                OBJ_TYPE = OBJ_TYPE (blank)&lt;/P&gt;&lt;P&gt;                OBJ_KEY = OBJ_KEY     (blank)&lt;/P&gt;&lt;P&gt;                OBJ_SYS = OBJ_SYS      (blank)&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;         ACCOUNTPAYABLE = ACCOUNTPAYABLE   (Filled with data)&lt;/P&gt;&lt;P&gt;         ACCOUNTGL = ACCOUNTGL                           (Filled with data)&lt;/P&gt;&lt;P&gt;         ACCOUNTTAX = ACCOUNTTAX              (blank)&lt;/P&gt;&lt;P&gt;         CURRENCYAMOUNT = CURRENCYAMOUNT                          (Filled with data)&lt;/P&gt;&lt;P&gt;         PURCHASEORDER = PURCHASEORDER            (blank)&lt;/P&gt;&lt;P&gt;         PURCHASEAMOUNT = PURCHASEAMOUNT            (blank)&lt;/P&gt;&lt;P&gt;         RETURN = RETURN&lt;/P&gt;&lt;P&gt;         CRITERIA = CRITERIA&lt;/P&gt;&lt;P&gt;         VALUEFIELD = VALUEFIELD&lt;/P&gt;&lt;P&gt;         EXTENSION1 = EXTENSION1&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;         OTHERS =  1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2008 11:52:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-30T11:52:51Z</dc:date>
    <item>
      <title>Tax Data calculation using BAPI_ACC_INVOICE_RECEIPT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-data-calculation-using-bapi-acc-invoice-receipt-post/m-p/4068525#M972580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are creating invoices using BAPI_ACC_INVOICE_RECEIPT_POST. However Tax is not getting calculated for the line items even if we pass the tax data through the field u201CTAX_CODEu201D in the table u201CACCOUNTGLu201D. The Tax value is to be updated in table BSEG and BSET, which is not happening after the IDOC posting. Please advice whether we need to pass the parameter (table) u201CACCOUNTTAXu201D (with data filled) in order to calculate the tax for the line items.&lt;/P&gt;&lt;P&gt;We are passing the following parameters presently and IDOCS are getting posted successfully even though tax amounts are not getting calculated.&lt;/P&gt;&lt;P&gt;         CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;   DOCUMENTHEADER = DOCUMENTHEADER  (With data)&lt;/P&gt;&lt;P&gt;   CUSTOMERCPD = CUSTOMERCPD                  (blank)&lt;/P&gt;&lt;P&gt;              importing&lt;/P&gt;&lt;P&gt;                OBJ_TYPE = OBJ_TYPE (blank)&lt;/P&gt;&lt;P&gt;                OBJ_KEY = OBJ_KEY     (blank)&lt;/P&gt;&lt;P&gt;                OBJ_SYS = OBJ_SYS      (blank)&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;         ACCOUNTPAYABLE = ACCOUNTPAYABLE   (Filled with data)&lt;/P&gt;&lt;P&gt;         ACCOUNTGL = ACCOUNTGL                           (Filled with data)&lt;/P&gt;&lt;P&gt;         ACCOUNTTAX = ACCOUNTTAX              (blank)&lt;/P&gt;&lt;P&gt;         CURRENCYAMOUNT = CURRENCYAMOUNT                          (Filled with data)&lt;/P&gt;&lt;P&gt;         PURCHASEORDER = PURCHASEORDER            (blank)&lt;/P&gt;&lt;P&gt;         PURCHASEAMOUNT = PURCHASEAMOUNT            (blank)&lt;/P&gt;&lt;P&gt;         RETURN = RETURN&lt;/P&gt;&lt;P&gt;         CRITERIA = CRITERIA&lt;/P&gt;&lt;P&gt;         VALUEFIELD = VALUEFIELD&lt;/P&gt;&lt;P&gt;         EXTENSION1 = EXTENSION1&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;         OTHERS =  1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 11:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-data-calculation-using-bapi-acc-invoice-receipt-post/m-p/4068525#M972580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tax Data calculation using BAPI_ACC_INVOICE_RECEIPT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tax-data-calculation-using-bapi-acc-invoice-receipt-post/m-p/4068526#M972581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go throgh following link..it will solve your problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="756073"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 12:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tax-data-calculation-using-bapi-acc-invoice-receipt-post/m-p/4068526#M972581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T12:25:02Z</dc:date>
    </item>
  </channel>
</rss>

