<?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: How to initialize the Select Options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300658#M790127</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 it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_field for mara-matnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_field [] is initial.&lt;/P&gt;&lt;P&gt;s_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_field-low = 'KG'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear s_field-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_field-low = 'ZBT'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;clear s_field-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_field-low = 'ZUN'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;&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;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 06:04:00 GMT</pubDate>
    <dc:creator>Vijay</dc:creator>
    <dc:date>2008-02-05T06:04:00Z</dc:date>
    <item>
      <title>How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300655#M790124</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 5 select-options and 3 parameters in my selection screen. I have to &lt;STRONG&gt;assign default values to the select-options&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &lt;STRONG&gt;S_VKORG&lt;/STRONG&gt; for Sales Organization. The default values for this select-option are &lt;STRONG&gt;'KF11', 'BH13', 'KF26'&lt;/STRONG&gt;. How to assign the default vales to a Select-Option..? For a parameter, we do it by adding DEFAULT VALUE stament in the declaration itself. How to do it for Select-Option..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same way, for another Select-Option, I have 7 default values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on the same how to assign default values to the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 05:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300655#M790124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T05:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300656#M790125</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 do at the at selection-screen event as below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;codeselect-options: s_uom for mara-meins no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_ucom[] is initial.&lt;/P&gt;&lt;P&gt;s_ucom-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_ucom-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_ucom-low = 'KG'.&lt;/P&gt;&lt;P&gt;append s_ucom.&lt;/P&gt;&lt;P&gt;clear s_ucom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_ucom-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_ucom-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_ucom-low = 'ZBT'.&lt;/P&gt;&lt;P&gt;append s_ucom.&lt;/P&gt;&lt;P&gt;clear s_ucom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_ucom-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_ucom-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_ucom-low = 'ZUN'.&lt;/P&gt;&lt;P&gt;append s_ucom.&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 05:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300656#M790125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T05:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300657#M790126</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;Under INITIALIZATION EVENT do like below .&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;so_mara-sign = 'I' .&lt;/P&gt;&lt;P&gt;so_mara-option = 'EQ' .&lt;/P&gt;&lt;P&gt;so_mara-low = 'JP10' .&lt;/P&gt;&lt;P&gt;APPEND so_mara .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 06:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300657#M790126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T06:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300658#M790127</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 it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_field for mara-matnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_field [] is initial.&lt;/P&gt;&lt;P&gt;s_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_field-low = 'KG'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear s_field-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_field-low = 'ZBT'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;clear s_field-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_field-low = 'ZUN'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;P&gt;&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;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 06:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300658#M790127</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2008-02-05T06:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300659#M790128</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 do as below in the initialization event :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
INITIALIZATION.

if s_vkorg[] is initial.

s_vkorg-sign = 'I'.
s_vkorg-option = 'EQ'.
s_vkorg-low = 'KF11'.
append s_vkorg.

s_vkorg-sign = 'I'.
s_vkorg-option = 'EQ'.
s_vkorg-low = 'BH13'.
append s_vkorg.

s_vkorg-sign = 'I'.
s_vkorg-option = 'EQ'.
s_vkorg-low = 'KF26'.
append s_vkorg.

endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 06:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300659#M790128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T06:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize the Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300660#M790129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PADDU,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALZATION.&lt;/P&gt;&lt;P&gt;&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;   S_VKORG-LOW     =  'KF11'.&lt;/P&gt;&lt;P&gt;   S_VKORG-HIGH     = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND s_vkorg.&lt;/P&gt;&lt;P&gt;  CLEAR s_vkorg.&lt;/P&gt;&lt;P&gt;&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;   S_VKORG-LOW     =  'BH13'.&lt;/P&gt;&lt;P&gt;   S_VKORG-HIGH     = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND s_vkorg.&lt;/P&gt;&lt;P&gt;  CLEAR s_vkorg.&lt;/P&gt;&lt;P&gt;&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;   S_VKORG-LOW     =  'KF26'.&lt;/P&gt;&lt;P&gt;   S_VKORG-HIGH     = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND s_vkorg.&lt;/P&gt;&lt;P&gt;  CLEAR s_vkorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 06:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-initialize-the-select-options/m-p/3300660#M790129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T06:06:37Z</dc:date>
    </item>
  </channel>
</rss>

