<?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: Selection-screen restriction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781006#M1464535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But sometimes we use this technique to avoid hitting the DB table again. Suppose we get the list of valid company codes from T001 based on the SELECT-OPTION &amp;amp; use this internal table for further database selection using FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 07:26:01 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-03-30T07:26:01Z</dc:date>
    <item>
      <title>Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781002#M1464531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem regarding selection-screen i have brand in seletion-screen and i want to restrict brand,&lt;/P&gt;&lt;P&gt;For ex: if user put low value = 0001and high value = 0070 but user need error message if brand select more then 50 entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not ürjent at all so do reply blissfully or go for a walk in the same for a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeru&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Mar 30, 2010 10:52 AM&lt;/P&gt;&lt;P&gt;Aggitation removed from question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781002#M1464531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T07:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781003#M1464532</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;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON S_BRAND.

SELECT BRAND FROM &amp;lt;table&amp;gt; INTO ITAB WHERE &amp;lt;field&amp;gt; IN S_BRAND.
IF SY-SUBRC = 0.
  V_LINES = LINES(ITAB).
  IF V_LINE GT 50.
    MESSAGE 'More than 50 brands selected' TYPE 'E'.
  ENDIF.
ELSE.
  MESSAGE 'No Brand Selected' TYPE 'E'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: What is v.urgent for you is not v.urgent for us. Please refrain from using these phrases in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781003#M1464532</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-30T07:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781004#M1464533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you read all brand numbers into memory if you only want to know the amount?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(*) is your friend...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781004#M1464533</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-30T07:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781005#M1464534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : lv_nos(5) type n,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen of &amp;lt;select-option variable&amp;gt;&lt;/P&gt;&lt;P&gt;describe tables &amp;lt;select-option variable&amp;gt; lines lv_nos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lv_nos gt 50.&lt;/P&gt;&lt;P&gt;  give error.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar on Mar 30, 2010 12:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781005#M1464534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781006#M1464535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But sometimes we use this technique to avoid hitting the DB table again. Suppose we get the list of valid company codes from T001 based on the SELECT-OPTION &amp;amp; use this internal table for further database selection using FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781006#M1464535</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-30T07:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-screen restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781007#M1464536</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;you can use the count statement to know the no. of entries in the internal table of the select options.&lt;/P&gt;&lt;P&gt;then give mesaage accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 07:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-restriction/m-p/6781007#M1464536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T07:26:35Z</dc:date>
    </item>
  </channel>
</rss>

