<?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: problem with repeated quantity in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250180#M1212969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my case can any one tell about        (at new matnr) move quantity to display.else move '0' to quantity.&lt;/P&gt;&lt;P&gt;how to write.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2009 09:29:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-26T09:29:12Z</dc:date>
    <item>
      <title>problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250175#M1212964</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;vendor        materialno     quantity       receivedmaterial        excess&lt;/P&gt;&lt;P&gt;                                                          (stpo-idnrk)&lt;/P&gt;&lt;P&gt;ROHV        SUBFERT       150             SUBSCRAP              10&lt;/P&gt;&lt;P&gt;ROHV        SUBFERT       150             SCRAP1                   15&lt;/P&gt;&lt;P&gt;ROHV        BATCHFINISH  200            SCRAP2                   25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first two rows from the output,vendor-materialno-quantity are same except received material.&lt;/P&gt;&lt;P&gt;Excess is calculate with the difference between some other fields.In my thing I want 150 to come &lt;/P&gt;&lt;P&gt;only one time.If  i clear that 150 while getting from selection,that excess calculation is not happening.&lt;/P&gt;&lt;P&gt;how to clear that 150.&lt;/P&gt;&lt;P&gt;loop at it_final.&lt;/P&gt;&lt;P&gt;      write : / it_final-lifnr,it_final-matnr,it_final-menge,it_final-idnrk,it_final-excess.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my internal table format.I am doing it in alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bathri..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250175#M1212964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T08:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250176#M1212965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bathri,&lt;/P&gt;&lt;P&gt;  You can use &lt;STRONG&gt;where&lt;/STRONG&gt; cluase in your loop statement like &lt;/P&gt;&lt;P&gt;loop at itab where w_num = 150.&lt;/P&gt;&lt;P&gt;something like this or You can delete adjacent duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that first SORT the table and use &lt;STRONG&gt;delete adjacent duplicates&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250176#M1212965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250177#M1212966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question was bit confusing, you dont want to print 150 or you want to skip the second record.&lt;/P&gt;&lt;P&gt;If you want to skip the second records use at new quantity so that a unique record will come, if you dont want to print 150 again keep the write statement in at new in the loop which you are doing for the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250177#M1212966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250178#M1212967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;         first sort your internal table on the basis of first three fields as u mentioned.&lt;/P&gt;&lt;P&gt;then use&lt;/P&gt;&lt;P&gt;delete adjacent duplicates comparing lifnr matnr menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your problem will be solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250178#M1212967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T08:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250179#M1212968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I dont want to skip.In the second 150 i need 0.000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250179#M1212968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T08:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250180#M1212969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my case can any one tell about        (at new matnr) move quantity to display.else move '0' to quantity.&lt;/P&gt;&lt;P&gt;how to write.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 09:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250180#M1212969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T09:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with repeated quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250181#M1212970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 05:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-repeated-quantity/m-p/5250181#M1212970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T05:31:59Z</dc:date>
    </item>
  </channel>
</rss>

