<?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 example in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246404#M1013546</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;[Example|http://www.sap-img.com/ab012.htm]&lt;/P&gt;&lt;P&gt;[Function Module|http://www.sap-img.com/abap/fm-vrm-set-value-to-list-box.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2008 04:16:59 GMT</pubDate>
    <dc:creator>bpawanchand</dc:creator>
    <dc:date>2008-07-29T04:16:59Z</dc:date>
    <item>
      <title>list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246403#M1013545</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 had made a report in which i have to display the list box option in which there will be 3 options . i had searched about it but i am not able to have examples of it which fulfill my requierment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody provide me examples of it as i had never used list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246403#M1013545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246404#M1013546</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;[Example|http://www.sap-img.com/ab012.htm]&lt;/P&gt;&lt;P&gt;[Function Module|http://www.sap-img.com/abap/fm-vrm-set-value-to-list-box.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246404#M1013546</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-29T04:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246405#M1013547</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;Please refer the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS:
listbox(1) AS LISTBOX VISIBLE LENGTH 10 DEFAULT 'N'.
AT SELECTION-SCREEN OUTPUT.
DATA:
name TYPE vrm_id,
list TYPE vrm_values,
value TYPE vrm_value.
name = 'LISTBOX'. " Name should be in UPPER CASE

value-key = '1'.
value-text = 'Text 1'.
APPEND value TO list.
value-key = '2'.
value-text = 'Text 2'.
APPEND value TO list.

CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list
EXCEPTIONS
id_illegal_name = 0
OTHERS = 0. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246405#M1013547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246406#M1013548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab012.htm" target="test_blank"&gt;http://www.sap-img.com/ab012.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap-abapinfo.blogspot.com/2008/05/alv-list-display-sample-code.html" target="test_blank"&gt;http://sap-abapinfo.blogspot.com/2008/05/alv-list-display-sample-code.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246406#M1013548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246407#M1013549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/e3/00db4269b2f340e10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/e3/00db4269b2f340e10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.howforge.com/how-to-create-parameter-as-listbox-in-abap-4" target="test_blank"&gt;http://www.howforge.com/how-to-create-parameter-as-listbox-in-abap-4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id38.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id38.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List Box in ABAP Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZLIST.&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;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;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 ex will help u..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246407#M1013549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246408#M1013550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is the steps to create list box....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create according to ur need.. i hope this will help u..-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST BOX                      &lt;/P&gt;&lt;P&gt;Drop down list box can be created in a dialog screen(SE51) as well as selection screen.&lt;/P&gt;&lt;P&gt;  The sap list box allows to select a value from the list but we cannot enter our own value in the list box .The value list that will be displayed consists of two&lt;/P&gt;&lt;P&gt;fields TEXT field of TYPE 80(C) and internal KEY field of TYPE 40(C).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; In screen painter to create a input/output field into list box we use &lt;/P&gt;&lt;P&gt; 'L" as a value for dropdown attribute for the i/o field.&lt;/P&gt;&lt;P&gt; In screen painter to determine the type of method that will be used to fill the value&lt;/P&gt;&lt;P&gt;list we use the attribute value list.&lt;/P&gt;&lt;P&gt;If it is blank  the value list will be filled by the first column of the input help assigned to the screen field.This input help can be defined in the ABAP Dictionary, on screen using SELECT,VALUES screen statements or in event POV (PROCESS ON VALUE-REQUEST ) and the input help that will be passed to the field should consists of 2 columns ,the key column is filled automatically by the system.SAP recommends value list field should be blank.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;The value  can be 'A' meaning that the value list will be filled in the event PBO(PROCESS BEFORE OUTPUT) or before the screen is displayed.In this method we use function module VRM_SET_VALUES to fill the values and pass it to the i/o field.&lt;/P&gt;&lt;P&gt; If a function code is attached to the list box the selection of a value triggers a PAI&lt;/P&gt;&lt;P&gt;otherwise PAI will not trigger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST BOX in SELECTION SCREEN&lt;/P&gt;&lt;P&gt;  List Box is created in selection screen using PARAMETERS staement &lt;/P&gt;&lt;P&gt;with AS LISTBOX addition other attributes like VISIBLE LENGTH (width of listbox)&lt;/P&gt;&lt;P&gt;can be specified with the declaration.&lt;/P&gt;&lt;P&gt;PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n.&lt;/P&gt;&lt;P&gt; Here n is an integer and name is the name of parameter.&lt;/P&gt;&lt;P&gt; To populate the value list we use the FM VRM_SET_VALUES  and the &lt;/P&gt;&lt;P&gt;selection screen event AT SELECTION-SCREEN OUTPUT is used to write the code to fill it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM_SET_VALUES     &lt;/P&gt;&lt;P&gt; The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So &lt;/P&gt;&lt;P&gt;we should declare TYPE-POOLS VRM before using this FM.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Some important types declared in the VRM type group are&lt;/P&gt;&lt;P&gt;VRM_ID&lt;/P&gt;&lt;P&gt;   It refers to the name of the input/output field associated with list box&lt;/P&gt;&lt;P&gt;VRM_VALUES&lt;/P&gt;&lt;P&gt;  It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C&lt;/P&gt;&lt;P&gt;that will be used to create the list 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                =  name of screen element ,it is of TYPE VRM_ID&lt;/P&gt;&lt;P&gt;      VALUES      =  internal table containing values,of TYPE VRM_VALUES  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;LIST BOX with value list from input help&lt;/P&gt;&lt;P&gt; In this example the screen element attribute value list is set to blank as such the value list will be filled with the 1st column of the input help,We use PROCESS ON VALUE-REQUEST event to pass the value list  to the listbox.In the MODULE call used to fill the value list we can use FM like F4IF_INT_TABLE_VALUE_REQUEST to create input help as explained in the input help.The value of first column will be shown in the field when selected.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;FIELD list MODULE fill_list_100&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FIELD list MODULE fill_list_100 INPUT&lt;/P&gt;&lt;P&gt;SELECT f1 f2 FROM table INTO int &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            retfield        = 'input/output screen field'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = itab "it contains 2 fields that will be shown in the list box&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            parameter_error = 1&lt;/P&gt;&lt;P&gt;            no_values_found = 2&lt;/P&gt;&lt;P&gt;            OTHERS          = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;VALUE LIST CREATED IN PBO&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In this method we set the value list attribute to 'A'.The value list will be filled in the PBO by using FM VRM_SET_VALUES .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOLS : VRM&lt;/P&gt;&lt;P&gt;DATA : field_id TYPE VRM_ID ,&lt;/P&gt;&lt;P&gt;            values  TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;             value   LIKE LINE OF values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT&lt;/P&gt;&lt;P&gt;MODULE list_fill_100&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE list_fill_100 OUTPUT&lt;/P&gt;&lt;P&gt;SELECT f1 f2 f3  FROM tab WHERE condition.&lt;/P&gt;&lt;P&gt;value-KEY = f1.&lt;/P&gt;&lt;P&gt;value-TEXT = f2&lt;/P&gt;&lt;P&gt;APPEND value 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     = 'i/o screen field' &lt;/P&gt;&lt;P&gt;            values = values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST BOX with Selection Screen&lt;/P&gt;&lt;P&gt; For this the FM VRM_SET_VALUES is used to fill the value table and is passed to the parameter created with TYPE LISTBOX in the selection screen event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROGRAM zlist&lt;/P&gt;&lt;P&gt;TYPE-POOLS : VRM.&lt;/P&gt;&lt;P&gt;DATA: param TYPE vrm_id, &lt;/P&gt;&lt;P&gt;       values     TYPE vrm_values, &lt;/P&gt;&lt;P&gt;       value LIKE LINE OF values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_name(10) AS LISTBOX VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;  param = 'P_NAME'. &lt;/P&gt;&lt;P&gt;  value-key = '1'.&lt;/P&gt;&lt;P&gt;  value-text = 'JOHN'.&lt;/P&gt;&lt;P&gt;  APPEND value TO values.&lt;/P&gt;&lt;P&gt;  value-key = '2'. &lt;/P&gt;&lt;P&gt;  value-text = 'PETER'.&lt;/P&gt;&lt;P&gt;  APPEND value TO values. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VRM_SET_VALUES' &lt;/P&gt;&lt;P&gt;    EXPORTING id     = param &lt;/P&gt;&lt;P&gt;              values = values. &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;Ashu Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246408#M1013550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246409#M1013551</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;Go through this links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbacf735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbacf735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id38.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id38.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Eshwar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246409#M1013551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246410#M1013552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friend ,&lt;/P&gt;&lt;P&gt; this link may help you........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id38.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id38.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:20:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246410#M1013552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246411#M1013553</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;[http://www.sapabapsdmm.com/ABAPReportingPage24.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246411#M1013553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246412#M1013554</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;&lt;/P&gt;&lt;P&gt;Try this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/33/ae0d4113eff16fe10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/33/ae0d4113eff16fe10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id38.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id38.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246412#M1013554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246413#M1013555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest a demo program for Drop down list box example - DEMO_DYNPRO_DROPDOWN_LISTBOX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest a couple of references, as it is similar to your case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Reference for Dropdown list display in module pool|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="308855"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Standard Reference for How to use the List Box selector in Xcelsius |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes&lt;SPAN __jive_macro_name="6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393337333733353331"&gt;&lt;/SPAN&gt;.do]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Reference for list box display on selection screen|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="402958"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Reference for Drop Down list box for Select-Options|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="411844"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that's usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246413#M1013555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246414#M1013556</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;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to display the dropdown list box in your selection screen than below code will help you in that.&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;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;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;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246414#M1013556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246415#M1013557</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 had tried to do it in my code but it is not working as when i execute it &lt;/P&gt;&lt;P&gt;it does not show any field text at time of output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Actually my logic is stored in the variables like P,F and T....which are there in the Switch statement i.e. when it is F the it will execute &lt;/P&gt;&lt;P&gt;whole output,if it is 'P' then it will display the 'minimum values output' and when it is 'T' then it will display maximum level out put' *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here 's d part of code for list box i am using :-&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;data: p_mark type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 20.&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;&lt;/P&gt;&lt;P&gt;VALUE-KEY = 'F'.&lt;/P&gt;&lt;P&gt;VALUE-TEXT = 'All Materials'.&lt;/P&gt;&lt;P&gt;APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE-KEY = 'P'.&lt;/P&gt;&lt;P&gt;VALUE-TEXT = 'Maximum Level'.&lt;/P&gt;&lt;P&gt;APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE-KEY = 'T'.&lt;/P&gt;&lt;P&gt;VALUE-TEXT = 'Minimum Level'.&lt;/P&gt;&lt;P&gt;APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&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;&lt;/P&gt;&lt;P&gt;WRITE: / 'PARAMETER:', PS_PARM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz provide me guidelines is solving the problem.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jul 29, 2008 7:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 05:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246415#M1013557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T05:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: list box example</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246416#M1013558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had to close this thread as my requirement is not able to be full filled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 06:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-example/m-p/4246416#M1013558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T06:49:21Z</dc:date>
    </item>
  </channel>
</rss>

