<?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: Method/Class that returns valid material from internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253088#M1213573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think there is any such class to fetch the material. Regarding comparing the performance, I see that you are using For all entries in your select query. So you need to make sure that the master internal table ( it_nomrp) is not empty. Also see if you can use join instead of FAE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2009 18:45:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-11T18:45:20Z</dc:date>
    <item>
      <title>Method/Class that returns valid material from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253086#M1213571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am searching for a second option to get valid material from MARA instead of using the selection below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT MATNR EXTWG&lt;/P&gt;&lt;P&gt;  APPENDING CORRESPONDING FIELDS OF TABLE tmpmara&lt;/P&gt;&lt;P&gt;  FROM MARA&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN it_nomrp&lt;/P&gt;&lt;P&gt;  WHERE MATNR = it_nomrp-MATNR&lt;/P&gt;&lt;P&gt;  AND EXTWG EQ p_extwg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method where I can pass an internal table and a condition (where extwg = p_extwg) and it returns a result table of valid materials?  I am looking for an alternative to compare performance....&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;&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253086#M1213571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Method/Class that returns valid material from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253087#M1213572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not very clear..what you want your method to do...&lt;/P&gt;&lt;P&gt;in the method also you have to write same code....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 18:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253087#M1213572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T18:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Method/Class that returns valid material from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253088#M1213573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think there is any such class to fetch the material. Regarding comparing the performance, I see that you are using For all entries in your select query. So you need to make sure that the master internal table ( it_nomrp) is not empty. Also see if you can use join instead of FAE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 18:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-class-that-returns-valid-material-from-internal-table/m-p/5253088#M1213573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T18:45:20Z</dc:date>
    </item>
  </channel>
</rss>

