<?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: Default Select Option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426435#M542027</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;&amp;lt;b&amp;gt;Use RANGE table for the Default values rather than Select Option.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;RANGES Tables&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can use the RANGES statement to create internal tables of the same type as selection tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES &amp;lt;rangetab&amp;gt; FOR &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement is simply a shortened form of the following statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF &amp;lt;rangetab&amp;gt; OCCURS 0,&lt;/P&gt;&lt;P&gt;         SIGN(1),&lt;/P&gt;&lt;P&gt;         OPTION(2)&lt;/P&gt;&lt;P&gt;         LOW  LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;         HIGH LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;      END OF &amp;lt;rangetab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal tables created with RANGES have the same structure as selection tables, but they do not have the same functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjit Thakur.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Mark The Helpful Answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2007 08:40:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-28T08:40:02Z</dc:date>
    <item>
      <title>Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426434#M542026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to default a Select-option with a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426434#M542026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426435#M542027</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;&amp;lt;b&amp;gt;Use RANGE table for the Default values rather than Select Option.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;RANGES Tables&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can use the RANGES statement to create internal tables of the same type as selection tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES &amp;lt;rangetab&amp;gt; FOR &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement is simply a shortened form of the following statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF &amp;lt;rangetab&amp;gt; OCCURS 0,&lt;/P&gt;&lt;P&gt;         SIGN(1),&lt;/P&gt;&lt;P&gt;         OPTION(2)&lt;/P&gt;&lt;P&gt;         LOW  LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;         HIGH LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;      END OF &amp;lt;rangetab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal tables created with RANGES have the same structure as selection tables, but they do not have the same functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjit Thakur.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Mark The Helpful Answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426435#M542027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426436#M542028</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;&lt;/P&gt;&lt;P&gt;Check this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: S_WERKS FOR IT_OPENRESPOS-WERKS.

INITIALIZATION.
s_werks-sign = 'I'.
s_werks-option = 'BT'.
s_werks-low = 'AAAA'.
s_werks-high = 'BBBB'.

Append s_werks.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426436#M542028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426437#M542029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If U want to do it at INITIALIZATION,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do it like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_OPT-LOW = Value.&lt;/P&gt;&lt;P&gt;S_OPT-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;S_OPT-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND S_OPT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426437#M542029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426438#M542030</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;1.select-options s_bukrs for bkpf-bukrs default 1000 to 3000.&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
s_akont-low = '0000004711'.
s_akont-sign = 'I'.
s_akont-option = 'EQ'.
APPEND s_akont.
s_akont-low = '0000005000'.
APPEND s_akont.
s_akont-low = '0000006000'.
APPEND s_akont.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426438#M542030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T08:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426439#M542031</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 suppy initial values to PARAMTERS OR SELECT-OPTIONS In the INITIALIZATION event of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below.&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;sel_crit-low = 'LOW_VALUE'&lt;/P&gt;&lt;P&gt;sel_crit-sign = 'I'&lt;/P&gt;&lt;P&gt;sel_crit-option = 'EQ'&lt;/P&gt;&lt;P&gt;append sel_crit.&lt;/P&gt;&lt;P&gt;sel_crit-high = 'HIGH_VALUE'&lt;/P&gt;&lt;P&gt;sel_crit-sign = 'I'&lt;/P&gt;&lt;P&gt;sel_crit-option = 'EQ'&lt;/P&gt;&lt;P&gt;append sel_crit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426439#M542031</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-28T08:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Default Select Option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426440#M542032</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;tables mara.&lt;/P&gt;&lt;P&gt;select-options s_matnr for mara-matnr default '123'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to populate full range or many values,it should be done in initialization as suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 08:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-select-option/m-p/2426440#M542032</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-28T08:45:26Z</dc:date>
    </item>
  </channel>
</rss>

