<?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 Calculation in Excise invoice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482393#M1419185</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;While running the Excise Invoice (J1IIN), the values are flowing properly. But when i am going to save system throwing error &lt;/P&gt;&lt;P&gt;"Divide by 0 (type F) in the program "SAPLJ1I6"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have observed that in program SAPLJ1I6,after executing this function module 'J_1I7_USEREXIT_QTY_UNIT_CONV'&lt;/P&gt;&lt;P&gt;the new_unit(condition price unti) is ZERO.&lt;/P&gt;&lt;P&gt;After this the calculation goes on like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num_unit = j_1iexctax-kpein.&lt;/P&gt;&lt;P&gt;cal_amount =  new_qty * j_1iexctax-amount / num_unit.&lt;/P&gt;&lt;P&gt;since kpein value is zero,its unable to calculate the amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked the values in the table j_1iexctax also,kpein value is ZERO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how to overcome this issue,&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharmista&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 11:15:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-05T11:15:22Z</dc:date>
    <item>
      <title>Calculation in Excise invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482393#M1419185</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;While running the Excise Invoice (J1IIN), the values are flowing properly. But when i am going to save system throwing error &lt;/P&gt;&lt;P&gt;"Divide by 0 (type F) in the program "SAPLJ1I6"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have observed that in program SAPLJ1I6,after executing this function module 'J_1I7_USEREXIT_QTY_UNIT_CONV'&lt;/P&gt;&lt;P&gt;the new_unit(condition price unti) is ZERO.&lt;/P&gt;&lt;P&gt;After this the calculation goes on like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num_unit = j_1iexctax-kpein.&lt;/P&gt;&lt;P&gt;cal_amount =  new_qty * j_1iexctax-amount / num_unit.&lt;/P&gt;&lt;P&gt;since kpein value is zero,its unable to calculate the amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked the values in the table j_1iexctax also,kpein value is ZERO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how to overcome this issue,&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharmista&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482393#M1419185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in Excise invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482394#M1419186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the condition below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

if j_1iexctax-kpein is not initial.
num_unit = j_1iexctax-kpein.
cal_amount = ( new_qty * j_1iexctax-amount ) / num_unit.
else.
cal_amount = ( new_qty * j_1iexctax ) .
endif.  

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Satish Boguda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 15:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482394#M1419186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T15:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in Excise invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482395#M1419187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot chage the code here,its standard program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sharmista&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 06:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482395#M1419187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T06:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in Excise invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482396#M1419188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharmista,&lt;/P&gt;&lt;P&gt;You need to check why j_1iexctax-kpein value is zero.&lt;/P&gt;&lt;P&gt;I believe this field gets populated while doing the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check where it is becoming zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 06:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482396#M1419188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T06:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in Excise invoice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482397#M1419189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check in the view J_1IVTXRAT, whats the value of kpein is maintained ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use J1ID T.code, there you can find excise tax rates. You can check there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 06:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculation-in-excise-invoice/m-p/6482397#M1419189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T06:57:34Z</dc:date>
    </item>
  </channel>
</rss>

