<?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 give me solution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303082#M503553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abap gurus,&lt;/P&gt;&lt;P&gt;    I have one selection screen fields i:e mblnr and mjahr. mblnr is range. and i have to get mseg-matnr,makt-maktx,mseg-meins,resb-bdmng  and mseg-menge. where we have to display single item of matnr of perticular mblnr.if there is more than one matnr with same matnr we have to add menge and display single item.to display bdmng there is mblnr=s_mblnr and resb-rspos=mseg-rspos and resb-rsnum=mseg-rsnum.&lt;/P&gt;&lt;P&gt;plz give solution to this.&lt;/P&gt;&lt;P&gt;thanking you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2007 06:02:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-28T06:02:51Z</dc:date>
    <item>
      <title>give me solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303082#M503553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abap gurus,&lt;/P&gt;&lt;P&gt;    I have one selection screen fields i:e mblnr and mjahr. mblnr is range. and i have to get mseg-matnr,makt-maktx,mseg-meins,resb-bdmng  and mseg-menge. where we have to display single item of matnr of perticular mblnr.if there is more than one matnr with same matnr we have to add menge and display single item.to display bdmng there is mblnr=s_mblnr and resb-rspos=mseg-rspos and resb-rsnum=mseg-rsnum.&lt;/P&gt;&lt;P&gt;plz give solution to this.&lt;/P&gt;&lt;P&gt;thanking you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303082#M503553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: give me solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303083#M503554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if there is more than one enty use collect statement to add them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303083#M503554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: give me solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303084#M503555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use "&amp;lt;b&amp;gt;COLLECT&amp;lt;/b&amp;gt;" statement.&lt;/P&gt;&lt;P&gt;*If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields. &lt;/P&gt;&lt;P&gt;*If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields. &lt;/P&gt;&lt;P&gt;*If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line. &lt;/P&gt;&lt;P&gt;ex-&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF COMPANIES OCCURS 10,&lt;/P&gt;&lt;P&gt;        NAME(20),&lt;/P&gt;&lt;P&gt;        SALES TYPE I,&lt;/P&gt;&lt;P&gt;      END   OF COMPANIES.&lt;/P&gt;&lt;P&gt;COMPANIES-NAME = 'Duck'.  COMPANIES-SALES = 10.&lt;/P&gt;&lt;P&gt;COLLECT COMPANIES.&lt;/P&gt;&lt;P&gt;COMPANIES-NAME = 'Tiger'. COMPANIES-SALES = 20.&lt;/P&gt;&lt;P&gt;COLLECT COMPANIES.&lt;/P&gt;&lt;P&gt;COMPANIES-NAME = 'Duck'.  COMPANIES-SALES = 30.&lt;/P&gt;&lt;P&gt;COLLECT COMPANIES.&lt;/P&gt;&lt;P&gt;for Duck sales value will be 40(10+30)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 06:16:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-me-solution/m-p/2303084#M503555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T06:16:51Z</dc:date>
    </item>
  </channel>
</rss>

