<?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 option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586529#M1435154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can pass using multiple option by omiting no-extension which is similar to suhas said&lt;/P&gt;&lt;P&gt;or u can also maintain one ztable for your required country specific and fetch from the same to acheive what ever you want&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;s.janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 03:59:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-03T03:59:54Z</dc:date>
    <item>
      <title>Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586525#M1435150</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;I have a requirements where to include my select option for different values..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say for eg .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constant  c_au10 TYPE bukrs VALUE 'AU00',&lt;/P&gt;&lt;P&gt;                c_au99 TYPE bukrs VALUE 'AU99',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_bukrs  FOR z2rlbasedat-z2bukrs no-extension,&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_bukrs-sign   = 'I'.&lt;/P&gt;&lt;P&gt;  s_bukrs-option = 'BT'.&lt;/P&gt;&lt;P&gt;  s_bukrs-low    = c_au10.                                        "005c&lt;/P&gt;&lt;P&gt;  s_bukrs-high   = c_au99.&lt;/P&gt;&lt;P&gt;  APPEND s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to include for New Zealand.....so how to include NZ specific sources .....I will declare as 2 different constants ...but how to declare in the intialization part....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: JaiKarthik on Feb 3, 2010 12:18 AM&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 23:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586525#M1435150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T23:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586526#M1435151</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;Looks like you will need your  select options to be filled in depending on the country (AU or NZ).&lt;/P&gt;&lt;P&gt;One way will be to maintain a custom table with the constants per country and read this in the initialixation block and fill up your select options from this table read.&lt;/P&gt;&lt;P&gt;The other option will be to use a case statement based on your country in the initialization.&lt;/P&gt;&lt;P&gt;I would recommend you try option 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 00:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586526#M1435151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T00:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586527#M1435152</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 not able to declare two contants, Constant will always have a single value,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am agree with the answer given by Mr.Neil, I also recommend the option one suggested by him,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be always good to maintain a seperate 'Ztable' and you can select your selection form that table, if tomorrow, say you need to add more country,  it will be esay for you to add the new country in the 'Ztable' and that time, you need not required to modify your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 03:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586527#M1435152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T03:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586528#M1435153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jai &amp;amp; others,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt, if you want NO-EXTENSION what is the use for maintaining multiple ranges ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you want to populate the SELECT-OPTION based on some condition?&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>Wed, 03 Feb 2010 03:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586528#M1435153</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-02-03T03:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586529#M1435154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can pass using multiple option by omiting no-extension which is similar to suhas said&lt;/P&gt;&lt;P&gt;or u can also maintain one ztable for your required country specific and fetch from the same to acheive what ever you want&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;s.janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 03:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586529#M1435154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T03:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586530#M1435155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use TVARVC table for maintaining the select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN OF ty_range,                                     " Type declaration for range&lt;/P&gt;&lt;P&gt;        sign            TYPE tvarv_sign,                      " Sign&lt;/P&gt;&lt;P&gt;        opti            TYPE tvarv_opti,                      " Option&lt;/P&gt;&lt;P&gt;        low             TYPE tvarv_val,                       " Low Value&lt;/P&gt;&lt;P&gt;        high            TYPE tvarv_val,                       " High Value&lt;/P&gt;&lt;P&gt;       END OF ty_range,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: c_select_option_name TYPE char25 value 'S_SELECT_OPTION'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_company_codes    TYPE STANDARD TABLE OF  ty_range,     " Internal table for document types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT sign   " Sign&lt;/P&gt;&lt;P&gt;      opti   " Option&lt;/P&gt;&lt;P&gt;      low    " Low value&lt;/P&gt;&lt;P&gt;      high   " High value&lt;/P&gt;&lt;P&gt;      FROM tvarvc&lt;/P&gt;&lt;P&gt;      INTO TABLE i_company_codes      WHERE name = c_select_option_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use I_COMPANY_CODES as your select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction STVARV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on selection options tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In name type S_SELECT_OPTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you can insert as many as company codes in against the name S_SELECT_OPTION it will get fetched using the above code in your program during program run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 12:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586530#M1435155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586531#M1435156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare the constants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then after append&lt;/P&gt;&lt;P&gt;s_bukrs-low = NEW&lt;/P&gt;&lt;P&gt;s_bukrs-high = NEW.&lt;/P&gt;&lt;P&gt;append again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 13:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/6586531#M1435156</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-03T13:07:00Z</dc:date>
    </item>
  </channel>
</rss>

