<?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 SELECTION SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297113#M1533588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;product hierarchy filed&lt;/STRONG&gt; in my selection screen. &lt;/P&gt;&lt;P&gt;i.e; &lt;STRONG&gt;S_PRODH  FOR LIPS-PRODH obligatory&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i am facing one problem, whenever user enter the value in &lt;STRONG&gt;S_PRODH-low&lt;/STRONG&gt;. (LIPS have two values for this same value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in select quiery it is fetching data only one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my select quires is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT VBELN&lt;/P&gt;&lt;P&gt;           MATNR&lt;/P&gt;&lt;P&gt;           MATKL&lt;/P&gt;&lt;P&gt;           PRODH&lt;/P&gt;&lt;P&gt;           LFIMG&lt;/P&gt;&lt;P&gt;           ARKTX&lt;/P&gt;&lt;P&gt;           VTWEG&lt;/P&gt;&lt;P&gt;           MVGR5&lt;/P&gt;&lt;P&gt;           SERAIL&lt;/P&gt;&lt;P&gt;      FROM LIPS&lt;/P&gt;&lt;P&gt;      INTO TABLE IT_LIPS&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN IT_LIKP&lt;/P&gt;&lt;P&gt;      WHERE VBELN = IT_LIKP-VBELN&lt;/P&gt;&lt;P&gt;        AND MATKL IN S_MATKL&lt;/P&gt;&lt;P&gt;        AND PRODH IN &lt;STRONG&gt;S_PRODH&lt;/STRONG&gt; "&lt;/P&gt;&lt;P&gt;        AND MATNR IN S_MATNR&lt;/P&gt;&lt;P&gt;        AND VTWEG IN S_VTWEG&lt;/P&gt;&lt;P&gt;        AND MVGR5 IN S_MVGR5&lt;/P&gt;&lt;P&gt;        AND SERAIL EQ P_SERAIL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;margani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 14:51:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-16T14:51:28Z</dc:date>
    <item>
      <title>SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297113#M1533588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;product hierarchy filed&lt;/STRONG&gt; in my selection screen. &lt;/P&gt;&lt;P&gt;i.e; &lt;STRONG&gt;S_PRODH  FOR LIPS-PRODH obligatory&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i am facing one problem, whenever user enter the value in &lt;STRONG&gt;S_PRODH-low&lt;/STRONG&gt;. (LIPS have two values for this same value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in select quiery it is fetching data only one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my select quires is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT VBELN&lt;/P&gt;&lt;P&gt;           MATNR&lt;/P&gt;&lt;P&gt;           MATKL&lt;/P&gt;&lt;P&gt;           PRODH&lt;/P&gt;&lt;P&gt;           LFIMG&lt;/P&gt;&lt;P&gt;           ARKTX&lt;/P&gt;&lt;P&gt;           VTWEG&lt;/P&gt;&lt;P&gt;           MVGR5&lt;/P&gt;&lt;P&gt;           SERAIL&lt;/P&gt;&lt;P&gt;      FROM LIPS&lt;/P&gt;&lt;P&gt;      INTO TABLE IT_LIPS&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN IT_LIKP&lt;/P&gt;&lt;P&gt;      WHERE VBELN = IT_LIKP-VBELN&lt;/P&gt;&lt;P&gt;        AND MATKL IN S_MATKL&lt;/P&gt;&lt;P&gt;        AND PRODH IN &lt;STRONG&gt;S_PRODH&lt;/STRONG&gt; "&lt;/P&gt;&lt;P&gt;        AND MATNR IN S_MATNR&lt;/P&gt;&lt;P&gt;        AND VTWEG IN S_VTWEG&lt;/P&gt;&lt;P&gt;        AND MVGR5 IN S_MVGR5&lt;/P&gt;&lt;P&gt;        AND SERAIL EQ P_SERAIL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;margani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 14:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297113#M1533588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T14:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297114#M1533589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty basic. When using FOR ALL ENTRIES, if the combination of the fields used in the select query is duplicated, only one record is fetched. Make sure you make the combination of fields unique to fetch all records. In your case add POSNR in the select query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Please use a meaningful subject line in future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 14:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297114#M1533589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T14:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297115#M1533590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends whether LIKP has both the records or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 14:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297115#M1533590</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-09-16T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297116#M1533591</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;  The 'For all entries' type of search in the query work like select singe in the data base level search. Because of the very same reason, you may have to use all primary keys as part of the search in order to retrieve records accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, it's VBELN &amp;amp; POSNR. I've seen this very problem in the past and this is the only solution, if you would like to use  'For all entries' type search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &amp;lt;removed by moderator&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gopakumar&lt;/P&gt;&lt;P&gt;Sr.SAP Tech.Lead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Sep 16, 2010 5:32 PM - &lt;STRONG&gt;please do not ask for ...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/7297116#M1533591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T15:14:34Z</dc:date>
    </item>
  </channel>
</rss>

