<?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: Parameter List Box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693196#M1103088</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;Do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS      : year1 TYPE yyear1 AS LISTBOX VISIBLE LENGTH 20 OBLIGATORY.

INITIALIZATION.
 WRITE 'F' TO year1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" create a data type say 'yyear1' via se11 whose domains contains the value you require to dsplay...in the value range of the domain give the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 08:44:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T08:44:43Z</dc:date>
    <item>
      <title>Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693192#M1103084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;My requirement is to diplay a parameter as listbox with only 2 values. &lt;/P&gt;&lt;P&gt;but right now i am getting all the value from the respective table into the list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the code which i have written :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS :     &lt;/P&gt;&lt;P&gt;                 p_obtyp  TYPE hrp1000-otype OBLIGATORY&lt;/P&gt;&lt;P&gt;                          AS LISTBOX VISIBLE LENGTH 20&lt;/P&gt;&lt;P&gt;                          USER-COMMAND onli&lt;/P&gt;&lt;P&gt;                          DEFAULT '  '.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693192#M1103084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693193#M1103085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will show all the values because  the domain of the OTYPE is having a value table so that's why you are able to get all the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693193#M1103085</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-11-04T08:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693194#M1103086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;Thanx for the reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, how can i display the two value in the list box..&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693194#M1103086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693195#M1103087</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;The reason why you ar getting ll the values is beacause of the use of "hrp1000-otype " in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead create a z-data element with the required attributes and assign fixed-values to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Goodluck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693195#M1103087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693196#M1103088</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;Do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS      : year1 TYPE yyear1 AS LISTBOX VISIBLE LENGTH 20 OBLIGATORY.

INITIALIZATION.
 WRITE 'F' TO year1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" create a data type say 'yyear1' via se11 whose domains contains the value you require to dsplay...in the value range of the domain give the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693196#M1103088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693197#M1103089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gautam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U declare the parameter with type C&lt;/P&gt;&lt;P&gt;p_obtyp TYPE C.(Remaining things Common for List Box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u will get only the list box without any values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now select the data upto 2 rows with respect to &lt;/P&gt;&lt;P&gt;hrp1000-otype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Call FM f4if_int_table_on_valuerequest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and get the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope useful to U.&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;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693197#M1103089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693198#M1103090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the function VRM_SET_VALUES in initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just append the two values in table vrm_values and call the following FM.&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                    = 'P_OBTYP'&lt;/P&gt;&lt;P&gt;      values                = vrm_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;&lt;/P&gt;&lt;P&gt;Hope it helps !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693198#M1103090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T08:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter List Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693199#M1103091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to populate the List box using VRM_SET_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then only u can get what u have desired...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 09:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-list-box/m-p/4693199#M1103091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T09:01:29Z</dc:date>
    </item>
  </channel>
</rss>

