<?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 invoice calculation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-calculation/m-p/1942063#M388734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds,&lt;/P&gt;&lt;P&gt;             i hav to do some calculations for invoice quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Units still to be invoiceIf not history (not matching records of EKPO in EKBE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOI_QTY = order_quantity = EKPO-MENGEIf there is history:INVOI_QTY = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order_quantity &amp;#150; sum_of_IR + sum_of_IR_reversal, wheresum_of_IR = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	sum_of_GR = sum of EKEB-BPMNG when history is a GR credit (IR: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EKEB-VGABE =2 &amp;amp; Credit  EKEB-SHKZG = S)sum_of_IR_reversal = sum of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EKEB-BPMNG when history is a GR debit (IR: EKEB-VGABE =2 &amp;amp; Debit: EKEB- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHKZG = S)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know one function module me_calculate_history.&lt;/P&gt;&lt;P&gt;but unable to do the calculations.&lt;/P&gt;&lt;P&gt;can any one hlp me using this function module for invoice quantity.&lt;/P&gt;&lt;P&gt;thnking u all.&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;karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 03:48:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T03:48:15Z</dc:date>
    <item>
      <title>invoice calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-calculation/m-p/1942063#M388734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds,&lt;/P&gt;&lt;P&gt;             i hav to do some calculations for invoice quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Units still to be invoiceIf not history (not matching records of EKPO in EKBE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOI_QTY = order_quantity = EKPO-MENGEIf there is history:INVOI_QTY = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order_quantity &amp;#150; sum_of_IR + sum_of_IR_reversal, wheresum_of_IR = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	sum_of_GR = sum of EKEB-BPMNG when history is a GR credit (IR: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EKEB-VGABE =2 &amp;amp; Credit  EKEB-SHKZG = S)sum_of_IR_reversal = sum of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EKEB-BPMNG when history is a GR debit (IR: EKEB-VGABE =2 &amp;amp; Debit: EKEB- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHKZG = S)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know one function module me_calculate_history.&lt;/P&gt;&lt;P&gt;but unable to do the calculations.&lt;/P&gt;&lt;P&gt;can any one hlp me using this function module for invoice quantity.&lt;/P&gt;&lt;P&gt;thnking u all.&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;karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 03:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-calculation/m-p/1942063#M388734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T03:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: invoice calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-calculation/m-p/1942064#M388735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help my dear frnds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 04:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-calculation/m-p/1942064#M388735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T04:32:27Z</dc:date>
    </item>
  </channel>
</rss>

