<?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 box.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336476#M514512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for the domain of the city ,&lt;/P&gt;&lt;P&gt;either you can put fixed values or define a value table ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the dropdown will appear while creating entries..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward if helpful&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 07:49:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T07:49:17Z</dc:date>
    <item>
      <title>drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336471#M514507</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;          I have created a ZTABLE in that table there is one field called CITY. Here my requirement is while creating entries for that table i have to display a drop down list box for that CITY field with list of cities. How can i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Laxman.P&lt;/P&gt;&lt;P&gt;B'lore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:21:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336471#M514507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T07:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336472#M514508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Laxman , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can create a search help for this field and attach to this field, so that when you want to enter values you will geta  help for it !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else you can use a finction module F4_if_* search for the function modules you will get a function module for getting dropdown list box .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else refer program Demo_dropdown_list_box.&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;revert back if you need further help !&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Reward if helpful  !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336472#M514508</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-06-08T07:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336473#M514509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a Value table for this field, and maintain the values in the Value table and Give in the Domain, then you will only those values in that table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can maintain the List box in the Program and the screens only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336473#M514509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T07:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336474#M514510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi laxman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating in a table u have to go to SE51 and from there u have to create ur own screen and from there u can call this drop down list before that u have to create a tCode and call this screen over there so that u can get the expected data as drop down box or other &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create in a report follow this procedure&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPE-POOLS : vrm.
tables: bkpf.

DATA : values TYPE vrm_values.
DATA : wa LIKE LINE OF values.

PARAMETERS : list_box(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.

PARAMETERS: dd type bkpf-BSTAT user-command abc.

select-options: a for bkpf-bukrs MODIF ID buk.

select-options: b for bkpf-belnr MODIF ID SEL.

at selection-screen output.
If list_box = 2.
loop at screen.

if screen-group1 = 'SEL'.
screen-input = 0.
modify screen.
endif.

endloop.

endif.

INITIALIZATION.

wa-key = '1'.
wa-text = 'Orange'.
APPEND wa TO values.

wa-key = '2'.
wa-text = 'Red'.
APPEND wa TO values.

wa-key = '3'.
wa-text = 'Blue'.
APPEND wa TO values.

wa-key = '4'.
wa-text = 'Gray'.
APPEND wa TO values.


CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'LIST_BOX'
values = values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ref Program: &amp;lt;b&amp;gt;DEMO_DROPDOWN_LIST_BOX&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Link: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2951115"&gt;&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdesignguild.org/resources/MiniSG/2_Layout/2_Dropdown_Listbox.htm" target="test_blank"&gt;http://www.sapdesignguild.org/resources/MiniSG/2_Layout/2_Dropdown_Listbox.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link it will solve ur problem &lt;/P&gt;&lt;P&gt;as i said earlier u can get easier through screen painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdesignguild.org/community/design/combo.asp" target="test_blank"&gt;http://www.sapdesignguild.org/community/design/combo.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        pavan praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336474#M514510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T07:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336475#M514511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Design a program like the sample one for that field with the values and use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zwa_test2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOLS : vrm.&lt;/P&gt;&lt;P&gt;tables: bkpf.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA : values TYPE vrm_values.&lt;/P&gt;&lt;P&gt;DATA : wa LIKE LINE OF values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PARAMETERS : list_box(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PARAMETERS: dd type bkpf-BSTAT user-command abc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select-options: a for bkpf-bukrs MODIF ID buk.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select-options: b for bkpf-belnr MODIF ID SEL.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  If list_box = 2.&lt;/P&gt;&lt;P&gt;    loop at screen.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      if screen-group1 = 'SEL'.&lt;/P&gt;&lt;P&gt;        screen-input = 0.&lt;/P&gt;&lt;P&gt;        modify screen.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;     endloop.&lt;/P&gt;&lt;P&gt;   endif.&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;  wa-key = '1'.&lt;/P&gt;&lt;P&gt;  wa-text = 'Orange'.&lt;/P&gt;&lt;P&gt;  APPEND wa TO values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  wa-key = '2'.&lt;/P&gt;&lt;P&gt;  wa-text = 'Red'.&lt;/P&gt;&lt;P&gt;  APPEND wa TO values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  wa-key = '3'.&lt;/P&gt;&lt;P&gt;  wa-text = 'Blue'.&lt;/P&gt;&lt;P&gt;  APPEND wa TO values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  wa-key = '4'.&lt;/P&gt;&lt;P&gt;  wa-text = 'Gray'.&lt;/P&gt;&lt;P&gt;  APPEND wa TO 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              = 'LIST_BOX'&lt;/P&gt;&lt;P&gt;            values          = 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;Ref Program:  DEMO_DROPDOWN_LIST_BOX&lt;/P&gt;&lt;P&gt;Link: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2951115"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336475#M514511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T07:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336476#M514512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for the domain of the city ,&lt;/P&gt;&lt;P&gt;either you can put fixed values or define a value table ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the dropdown will appear while creating entries..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward if helpful&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336476#M514512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T07:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: drop down list box....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336477#M514513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can maintain the values of the field CITY at the domain level. &lt;/P&gt;&lt;P&gt;U just need to create a new domain for ur city field and maintain values under the value range tab of the domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now when u create new entries it will show u as a drop down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 07:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-list-box/m-p/2336477#M514513</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-06-08T07:50:28Z</dc:date>
    </item>
  </channel>
</rss>

