<?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: select-options pattern in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895784#M374375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;select-options : s_city for LFA1-CITY.

INITIALIZATION.

s_city-sign = 'I'.
s_city-option = 'CP'.
s_city-low = 'A*'.
s_city-high = 'H*'.
append s_city.
clear s_city.


s_city-sign = 'I'.
s_city-option = 'CP'.
s_city-low = 'a*.
s_city-high = 'h*.
append s_city.
clear s_city.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2007 05:55:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-02T05:55:41Z</dc:date>
    <item>
      <title>select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895783#M374374</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;i'm new to abap.&lt;/P&gt;&lt;P&gt;on selection screen there is a select-option for field city of LFA1 table.&lt;/P&gt;&lt;P&gt;the user wants that all city starting with (A* or a&lt;STRONG&gt;)  till  (H&lt;/STRONG&gt; or h*) should be displayed.&lt;/P&gt;&lt;P&gt;how should i go about it.&lt;/P&gt;&lt;P&gt;plz help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 05:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895783#M374374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T05:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895784#M374375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;select-options : s_city for LFA1-CITY.

INITIALIZATION.

s_city-sign = 'I'.
s_city-option = 'CP'.
s_city-low = 'A*'.
s_city-high = 'H*'.
append s_city.
clear s_city.


s_city-sign = 'I'.
s_city-option = 'CP'.
s_city-low = 'a*.
s_city-high = 'h*.
append s_city.
clear s_city.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 05:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895784#M374375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T05:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895785#M374376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_city-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_city-option = 'CP'.&lt;/P&gt;&lt;P&gt;s_city-low = 'A'.&lt;/P&gt;&lt;P&gt;s_city-high = 'HZ'.&lt;/P&gt;&lt;P&gt;append s_city.&lt;/P&gt;&lt;P&gt;clear s_city.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895785#M374376</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-02-02T06:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895786#M374377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can initialize the value by giving the range in INITIALIZATION events.&lt;/P&gt;&lt;P&gt;like city-low = 'a'&lt;/P&gt;&lt;P&gt;      city-high = ' h'. and city is your select-options name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895786#M374377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895787#M374378</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;do like this&lt;/P&gt;&lt;P&gt;data : it_lfa1 type standard table of lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_ort01 for lfa1-ort01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfa1&lt;/P&gt;&lt;P&gt;into corresponding fields of&lt;/P&gt;&lt;P&gt;table it_lfa1&lt;/P&gt;&lt;P&gt;where ort01 in s_ort01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can enter A* &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895787#M374378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895788#M374379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Annie,&lt;/P&gt;&lt;P&gt;This link gives all the possible patterns:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72da6df74873e10000009b38f9b8/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/34/8e72da6df74873e10000009b38f9b8/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In particular:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES SBOOK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS FL_DATE FOR SBOOK-FLDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'I' TO FL_DATE-SIGN,&lt;/P&gt;&lt;P&gt;'EQ' TO FL_DATE-OPTION,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SY-DATUM TO FL_DATE-LOW.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;APPEND FL_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'BT' TO FL_DATE-OPTION,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;'19960101' TO FL_DATE-LOW,&lt;/P&gt;&lt;P&gt;'19960630' TO FL_DATE-HIGH.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;APPEND FL_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the selection screen is displayed, FL_DATE already contains the selection by the single value SY-DATUM (current date) and the interval from January 1 to June 30, 1996.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**Reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895788#M374379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895789#M374380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't i do it without hardcoding the values.&lt;/P&gt;&lt;P&gt;As the requirement can be starting with (J* or j&lt;STRONG&gt;) upto (R&lt;/STRONG&gt; or r*).&lt;/P&gt;&lt;P&gt;the requirement may change.&lt;/P&gt;&lt;P&gt;how should i go about it.&lt;/P&gt;&lt;P&gt;plz help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:06:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895789#M374380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895790#M374381</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;try as shown above by me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895790#M374381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895791#M374382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the user has to enter the values manually. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if he need A to H, then have to enter   A  to HZ (in selection screen)&lt;/P&gt;&lt;P&gt;J to R ---&amp;gt; J to RZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895791#M374382</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-02-02T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895792#M374383</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;Try simply in the selection screen j* and rzzzz(maximum z as suggested).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the coding as usual,&lt;/P&gt;&lt;P&gt;select * from db into table itab where field in s_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here s_field is a select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jayanthi Jayaraman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895792#M374383</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-02-02T06:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: select-options pattern</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895793#M374384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Try With Serch Help Option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get your requirment esely&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.use list box (combo box) and add most resanly option like (a-h, a-c, p-s ....)&lt;/P&gt;&lt;P&gt;2.use it to your serch help option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add rewards if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 06:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-pattern/m-p/1895793#M374384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T06:33:16Z</dc:date>
    </item>
  </channel>
</rss>

