<?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: dropdown list in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868378#M1476751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Boss,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Along with the default,  I want the other values to appear in the list. But for example I want 3rd value to be default.&lt;/P&gt;&lt;P&gt;Tellme if that is possible or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Apr 2010 11:37:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-23T11:37:51Z</dc:date>
    <item>
      <title>dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868374#M1476747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a drop down list of 5 values in my selection screen.&lt;/P&gt;&lt;P&gt;I am able to show the list of values in the droplist of the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I set default value in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 10:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868374#M1476747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T10:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868375#M1476748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mac,&lt;/P&gt;&lt;P&gt;   Did you give a try to set the default value when you are declaring the selection screen parameter or selection option ? i think that should be defaulted in the input box along with the dropdown available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Lohith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 10:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868375#M1476748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T10:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868376#M1476749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ztest1234.&lt;/P&gt;&lt;P&gt;type-POOLs : vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : dr1 as LISTBOX VISIBLE LENGTH 20,&lt;/P&gt;&lt;P&gt;dr2 as LISTBOX VISIBLE LENGTH 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lv_values TYPE vrm_values,&lt;/P&gt;&lt;P&gt;lv_values1 TYPE vrm_values,&lt;/P&gt;&lt;P&gt;gw_values like LINE OF lv_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw_values-key = '1'.&lt;/P&gt;&lt;P&gt;gw_values-text = 'One'.&lt;/P&gt;&lt;P&gt;append gw_values to lv_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw_values-key = '2'.&lt;/P&gt;&lt;P&gt;gw_values-text = 'Two'.&lt;/P&gt;&lt;P&gt;append gw_values to lv_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw_values-key = '3'.&lt;/P&gt;&lt;P&gt;gw_values-text = 'Three'.&lt;/P&gt;&lt;P&gt;append gw_values to lv_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ID = 'dr1'&lt;/P&gt;&lt;P&gt;VALUES = lv_values&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ID_ILLEGAL_NAME = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;dr1 = '1'. ( Just give ur id number which u wants to be default)&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumodh P on Apr 23, 2010 12:25 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumodh P on Apr 23, 2010 12:26 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumodh P on Apr 23, 2010 12:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 10:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868376#M1476749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T10:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868377#M1476750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer given below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_logsys type LOGSYS AS LISTBOX VISIBLE LENGTH 15 OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on VALUE-REQUEST FOR p_logsys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: name4 TYPE VRM_ID,&lt;/P&gt;&lt;P&gt;  list4 TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;  list_wa3 like line of list4.&lt;/P&gt;&lt;P&gt;  refresh list4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  list_wa3-key = 'BWDEV020'.&lt;/P&gt;&lt;P&gt;  list_wa3-text = 'Development'.&lt;/P&gt;&lt;P&gt;  append list_wa3 to list4.&lt;/P&gt;&lt;P&gt;  clear list_wa3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   list_wa3-key = 'MPBCLNT100'.&lt;/P&gt;&lt;P&gt;  list_wa3-text = 'Production'.&lt;/P&gt;&lt;P&gt;  append list_wa3 to list4.&lt;/P&gt;&lt;P&gt;  clear list_wa3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  name4 = 'P_LOGSYS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/STRONG&gt;    &lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;      ID     = name4&lt;/P&gt;&lt;P&gt;      VALUES = list4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 11:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868377#M1476750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T11:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868378#M1476751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Boss,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Along with the default,  I want the other values to appear in the list. But for example I want 3rd value to be default.&lt;/P&gt;&lt;P&gt;Tellme if that is possible or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 11:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868378#M1476751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T11:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868379#M1476752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try DEFAULT'ing the value of the parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETER: MY_PARAM TYPE STRING AS LISTBOX DEFAULT 'Third Value'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this should work for listbox as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 11:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868379#M1476752</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-04-23T11:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868380#M1476753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After filling internal table, you can insert the constant value or default value on 3rd position.&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;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 11:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868380#M1476753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T11:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868381#M1476754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can you set default value on 3 record of an internal table.&lt;/P&gt;&lt;P&gt;Do you have any code for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 12:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868381#M1476754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868382#M1476755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MOhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the ques has been marked answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yoou can use &lt;STRONG&gt;INSERT Statement&lt;/STRONG&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;Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 12:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-selection-screen/m-p/6868382#M1476755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-23T12:07:12Z</dc:date>
    </item>
  </channel>
</rss>

