<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768739#M644975</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;selection-screen : begin of block blk1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_sorg for vbak-vkorg default 'LPKZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2007 12:13:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-31T12:13:29Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768729#M644965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to declare select option with default value,&lt;/P&gt;&lt;P&gt; for example in my select-options i want to display sales org with default of LPKZ.&lt;/P&gt;&lt;P&gt;how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768729#M644965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768730#M644966</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;SLECT-OPTIONS : S_MATNR for MARA-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITILIZATION.&lt;/P&gt;&lt;P&gt;S_MATNR-LOW = '1234'.&lt;/P&gt;&lt;P&gt;S_MATNR-HIGH = '4321'.&lt;/P&gt;&lt;P&gt;S_MATNR-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;S_MATNR-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;Append S_MATNR.&lt;/P&gt;&lt;P&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768730#M644966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768731#M644967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: VBAK.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_VKORG FOR VBAK-VKORG.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  S_VKORG-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;  S_VKORG-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;  S_VKORG-LOW    = 'LPKZ'.&lt;/P&gt;&lt;P&gt;  APPEND S_VKORG.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768731#M644967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768732#M644968</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;&lt;/P&gt;&lt;P&gt;under the INITIALIZATION event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-option acts like an internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:-&lt;/P&gt;&lt;P&gt;Select-options : s_matnr for mara-matnr.&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_matnr-low = &amp;#145;1000&amp;#146;.&lt;/P&gt;&lt;P&gt;S_matnr-high = &amp;#145;2000&amp;#146;.&lt;/P&gt;&lt;P&gt;S_matnr-option = &amp;#145;bt&amp;#146;.&lt;/P&gt;&lt;P&gt;S_matnr-sign = &amp;#145;i&amp;#146;.&lt;/P&gt;&lt;P&gt;Append s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here low = lower limit value &lt;/P&gt;&lt;P&gt; High= higher limit value &lt;/P&gt;&lt;P&gt;Sign = inclusive or exclusive &lt;/P&gt;&lt;P&gt;Option = equal , between , lessthan etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768732#M644968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768733#M644969</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT OPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&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;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CUST_NO-LOW = '01'.&lt;/P&gt;&lt;P&gt;    CUST_NO-HIGH = '5000'.&lt;/P&gt;&lt;P&gt;    CUST_NO-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;    CUST_NO-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;    APPEND CUST_NO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768733#M644969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768734#M644970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS - value_options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;... [DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]] &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;These additions allow you to specify a start value, allow lower case, and integrate a search help or a SET/GET parameter. &lt;/P&gt;&lt;P&gt;This addition defines start values for the columns in the first line of the selection table . Without the addition DEFAULT, initial values of the corresponding type are used as start values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;val1 and val2 are used to define start values for columns low and high. These start values can either be specified as literals or as previously defined data objects. If the data type of the specified start values does not match the data type of the columns, these are converted according to the conversion rules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition OPTION is used to define the start value for the option column. If the addition TO is not specified, you must specify one of the expressions eq, ne, ge, gt, le, lt, cp, or np directly for opt. If the addition TO is specified, you must either specify bt or nb. If the addition OPTION is not used, the content of the option column is set to "EQ" or "BT". If you specify cp or np, the start value in val1 must contain at least one of the wildcard characters "*" oder "+" when data transfer takes place to the selection table, otherwise the program terminates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition SIGN is used to define the start value for the sign column. You must either specify i or e directly for sign. If the addition SIGN is not used, the content of column sign is changed to "I". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The times at which the start values are transferred to the first position in the selection table are processed in the same way as with the addition DEFAULT to the PARAMETERS statement. If the selection table is not empty when the transfer takes place, the start values are not transferred to the first position. Only the header line in the selection table is filled with these values, which does not influence the selection criterion. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The corresponding input fields on the selection screen are only filled with the start values if the first line in the selection table is not changed before the selection screen is sent. The system displays the value contained in the selection table when the event AT SELECTION-SCREEN OUTPUT has been processed. Start values for multiple selection can only be defined by inserting lines in the selection table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg :&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS  s_vkorg  FOR   vbrk-vkorg  DEFAULT 'LPKZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768734#M644970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768735#M644971</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;Check the following&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: so_vkorg FOR tvko-vkorg DEFAULT  'JP40'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768735#M644971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768736#M644972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select-options s_vkorg for bseg-vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;s_vkorg-low = 'LPKZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful, get back in case of query...&lt;/P&gt;&lt;P&gt;Cheers!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768736#M644972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768737#M644973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SLECT-OPTIONS : S_vkorg for vbak-vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITILIZATION.&lt;/P&gt;&lt;P&gt;S_vkorg-LOW = 'LPKZ'.&lt;/P&gt;&lt;P&gt;S_vkorg-HIGH = '     '.   [ if u want assign any thing there if not dont write this statement at all ] &lt;/P&gt;&lt;P&gt;S_vkorg-OPTION = 'eq'.&lt;/P&gt;&lt;P&gt;S_vkorg-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;Append S_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768737#M644973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768738#M644974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gowri Shankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select option is an internal table with 4 fields: sign, option, low, high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;possible values:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sign --&amp;gt; E, I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option --&amp;gt; =  &amp;lt;&amp;gt; &amp;lt;= &amp;gt;= &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;low  --&amp;gt; lower interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;High --&amp;gt; Higher interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Youcan declare select option with default values using &amp;lt;b&amp;gt;INITIALIZATION&amp;lt;/b&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_sample-sign = 'I'&lt;/P&gt;&lt;P&gt;s_sample-option = 'EQ' &lt;/P&gt;&lt;P&gt;s_sample-low = 'LPKZ'&lt;/P&gt;&lt;P&gt;s_sample-high = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append s_sample.&lt;/P&gt;&lt;P&gt;clear s_sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now automatically when u run this code you will get default value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 11:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768738#M644974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768739#M644975</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;selection-screen : begin of block blk1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_sorg for vbak-vkorg default 'LPKZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 12:13:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768739#M644975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768740#M644976</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 the following line.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: so_vkorg FOR tvko-vkorg DEFAULT 'JP40'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and reward if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 12:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2768740#M644976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T12:14:14Z</dc:date>
    </item>
  </channel>
</rss>

