<?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: drop-down list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597035#M1083826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a screen or a selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you already asked this question....why are you reposting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2008 07:00:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-15T07:00:44Z</dc:date>
    <item>
      <title>drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597034#M1083825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello gurus,&lt;/P&gt;&lt;P&gt;i hav to make drop-down list without using FM VRM_SET_VALUES&lt;/P&gt;&lt;P&gt;.So suggest me the approach and send me the appropiate code for that.&lt;/P&gt;&lt;P&gt;thanks and regard.&lt;/P&gt;&lt;P&gt;Ruchi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 06:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597034#M1083825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T06:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597035#M1083826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a screen or a selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you already asked this question....why are you reposting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597035#M1083826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597036#M1083827</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 one thing.&lt;/P&gt;&lt;P&gt;In your SE11 you can create a data domain ZDOM and enter the possible values you want in that domain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Creatng the domain you can create a data elemet ZELEM using that domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can declare your variable like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER: p_list TYPE ZELEM AS LISTBOX VISIBLE LENGTH N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you dont need to use FM at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.. Please revert if any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597036#M1083827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597037#M1083828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Pramod,&lt;/P&gt;&lt;P&gt;first i hav to create the list like &lt;/P&gt;&lt;P&gt;                                      male&lt;/P&gt;&lt;P&gt;                                      female&lt;/P&gt;&lt;P&gt;                                      others&lt;/P&gt;&lt;P&gt;and then this list is attached to the i/o field in selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597037#M1083828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597038#M1083829</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;First thing you need to do is go to SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a domain ZDOM :&lt;/P&gt;&lt;P&gt;In the domain screen you have a tab where you can maintain single values, value ranges and value tables.&lt;/P&gt;&lt;P&gt;There in the single value fields enter Male, Female, Others&lt;/P&gt;&lt;P&gt;Save and activate this domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again go to SE11. Select data type give a name ZELEM&lt;/P&gt;&lt;P&gt;press create. From that select the option 'Data element'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once inside give the domain name as ZDOM save and activate it. Once all these are done go to your program and declare your variable like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PARAMETER: p_var TYPE ZELEM AS LISTBOX VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will automatically get a dropdown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was of some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597038#M1083829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: drop-down list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597039#M1083830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This code may help u...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS      : P_SOBKZ TYPE sobkz AS LISTBOX VISIBLE LENGTH 11 OBLIGATORY.

AT SELECTION-SCREEN OUTPUT.
  IF values[] IS INITIAL.
    param = 'P_SOBKZ'.

    SELECT sobkz
           sotxt
           INTO (value-key, value-text)
           FROM t148t
           WHERE spras = 'EN'.
      APPEND value TO values.
    ENDSELECT.

    CALL FUNCTION 'VRM_SET_VALUES'                          "#EC *
      EXPORTING
        id              = param
        values          = values
      EXCEPTIONS
        id_illegal_name = 1
        OTHERS          = 2.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list/m-p/4597039#M1083830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:25:38Z</dc:date>
    </item>
  </channel>
</rss>

