<?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: List box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354548#M1232829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A list box is for one field only.  However, in your case, you really do only want one field (company id).  What I believe you want your list box to do is display the company name next to the company id.  This can be done and is usually done for you if you use the proper field name in your list box definition.  Otherwise you can "roll you own" using the PROCESS ON VALUE-REQUEST section of your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a little research in the documentation and you will find your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2009 16:26:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-18T16:26:25Z</dc:date>
    <item>
      <title>List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354543#M1232824</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 a question regarding the module pool dropdown listboxes.&lt;/P&gt;&lt;P&gt;Is it possible to have a list box for two fields . &lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field 1 --&amp;gt; company id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field 2 --&amp;gt; company name&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have to associate a listbox in such a way that when i click it i should get a drop down with both the fields( &lt;STRONG&gt;id and name&lt;/STRONG&gt;) but when i select a entry it should take only the &lt;STRONG&gt;company id&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 15:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354543#M1232824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T15:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354544#M1232825</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;[List box in module pool|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4214496"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354544#M1232825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T16:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354545#M1232826</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;Refer to the demo program DEMO_DYNPRO_DROPDOWN_LISTBOX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the element Attributes Display of the List box field select the Drop Down as List Box with Ley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354545#M1232826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T16:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354546#M1232827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you  for quick reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but these programs lso display only one field as a drop down. i want to see two fields in dropdown as in the search help( we can see more than one field as a drop down).&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;can someone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354546#M1232827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354547#M1232828</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;In the element Attributes Display of the List box field select the Drop Down as List Box with Key.&lt;/P&gt;&lt;P&gt;But in the demo program it is selected as List Box because of which it is showing only one column if you select the List Box with Key you can get the key field also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the highlighted box with red color in the link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://i678.photobucket.com/albums/vv145/avinashkodarapu/untitled.jpg" target="test_blank"&gt;http://i678.photobucket.com/albums/vv145/avinashkodarapu/untitled.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the demo program it is selected as List Box you need to select as List Box  with key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Avinash Kodarapu on Mar 18, 2009 9:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354547#M1232828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354548#M1232829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A list box is for one field only.  However, in your case, you really do only want one field (company id).  What I believe you want your list box to do is display the company name next to the company id.  This can be done and is usually done for you if you use the proper field name in your list box definition.  Otherwise you can "roll you own" using the PROCESS ON VALUE-REQUEST section of your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a little research in the documentation and you will find your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354548#M1232829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: List box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354549#M1232830</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't inlcude two fields in one listbox. Instead you have to concatenate the content of these fields into one custom and display this one. When you pick an entry, read the two tables content with appropriate row index or key (which in turn should be stored in some internal table as you only display string not the key itself).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create self-defined listbox refer [example with VRM_SET_VALUES fm|http://sap.niraj.tripod.com/id38.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 16:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/5354549#M1232830</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-03-18T16:29:02Z</dc:date>
    </item>
  </channel>
</rss>

