<?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/3298228#M789362</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;Have a look at the program DEMO_DYNPRO_DROPDOWN_LISTBOX, specifically the module user_command_200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selected value in the list box is stored in the structure as given in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 10:46:10 GMT</pubDate>
    <dc:creator>sharat_chandra</dc:creator>
    <dc:date>2008-01-28T10:46:10Z</dc:date>
    <item>
      <title>LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298227#M789361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below is the code that I have used to populate my listboxes. Please help me with the code; how to fetch back the key value from the listbox during runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT ACCNUMBER INTO ACCNUMBER FROM ZTABCSCUSTMASTER WHERE SAPUSER = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DROPDOWN-KEY = ACCNUMBER.&lt;/P&gt;&lt;P&gt;    DROPDOWN-TEXT = ' '.&lt;/P&gt;&lt;P&gt;    APPEND DROPDOWN TO VAL.&lt;/P&gt;&lt;P&gt;  ENDSELECT. "ZTABCSCUSTMASTER&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              = 'ACCNO'&lt;/P&gt;&lt;P&gt;      VALUES          = VAL&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;Thanks&lt;/P&gt;&lt;P&gt;Anand D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298227#M789361</guid>
      <dc:creator>former_member359513</dc:creator>
      <dc:date>2008-01-28T10:36: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/3298228#M789362</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;Have a look at the program DEMO_DYNPRO_DROPDOWN_LISTBOX, specifically the module user_command_200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selected value in the list box is stored in the structure as given in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298228#M789362</guid>
      <dc:creator>sharat_chandra</dc:creator>
      <dc:date>2008-01-28T10:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298229#M789363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anand , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I hope you atre getting the value in the list box and able to select the value from the list for your UI filed .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Now you can directly use the field ( STR-FIELDNAME ) used in the UI screen to fetch the value back to the program and use it further . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need further information then revert back . &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;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298229#M789363</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2008-01-28T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298230#M789364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjitha,&lt;/P&gt;&lt;P&gt;Only the first value is obtained directly using the field ( STR-FIELDNAME ) name on the UI screen. But subsequent values cannot be fetched. i.e. they are blank when we get them directly using screen field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anand D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298230#M789364</guid>
      <dc:creator>former_member359513</dc:creator>
      <dc:date>2008-01-28T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298231#M789365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be I understood it in a different way , but if you are able to show the filled listbox in the UI, that means you already have an internal table which has got the values. So you need not fetch back the list from the UI,  instead you can use the value filled internal table which you used previously . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If this is not exactly what you want then please be specific on the requirement so that we can figure out the solution .. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298231#M789365</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2008-01-28T11:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298232#M789366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjitha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me with a code snippet for populating and retrieving value from the list box. I need to get the user selected list box value on a button click event. I am fine with any sample code for the above requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Anand D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 15:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298232#M789366</guid>
      <dc:creator>former_member359513</dc:creator>
      <dc:date>2008-01-28T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298233#M789367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   This code sample will make you understand how to fill the listbox and retrieve values from it .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTRY&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTRY.&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;DATA: NAME TYPE VRM_ID,&lt;/P&gt;&lt;P&gt;LIST TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;VALUE LIKE LINE OF LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.&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;NAME = 'PS_PARM'.&lt;/P&gt;&lt;P&gt;VALUE-KEY = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the list with values LINE 1 and LINE 2 .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;VALUE-TEXT = 'LINE 1'.         &lt;/P&gt;&lt;P&gt;APPEND VALUE TO LIST. VALUE-KEY = '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE-TEXT = 'LINE 2'.&lt;/P&gt;&lt;P&gt;APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set the dropdown list for the required screen field&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE: / 'PARAMETER:', PS_PARM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is of help .&lt;/P&gt;&lt;P&gt;&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>Tue, 29 Jan 2008 05:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298233#M789367</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2008-01-29T05:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298234#M789368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 05:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298234#M789368</guid>
      <dc:creator>former_member359513</dc:creator>
      <dc:date>2008-01-29T05:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298235#M789369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome ... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 07:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298235#M789369</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2008-01-29T07:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298236#M789370</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 an issue where in i ve to populate the dropdown list at runtime in case of a normal report program (R/3 system). please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********&lt;STRONG&gt;Points will be awarded&lt;/STRONG&gt;****************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 14:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/3298236#M789370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T14:34:22Z</dc:date>
    </item>
  </channel>
</rss>

