<?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 box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185079#M758391</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;Check the following code:&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;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2007 08:20:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-28T08:20:44Z</dc:date>
    <item>
      <title>drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185074#M758386</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;how to create drop down box for parameter in a report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185074#M758386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185075#M758387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;Edited by: jackandjay on Dec 28, 2007 2:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185075#M758387</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-28T07:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185076#M758388</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;Delacaration is something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_matnr type matnr as list-box visible length 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~ Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185076#M758388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185077#M758389</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;Use this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PARAMETERS p TYPE spfli-carrid AS LISTBOX VISIBLE LENGTH 20.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can fill this box in initialization event by filling paramater p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185077#M758389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T07:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185078#M758390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per best of my knowledge we can use listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_QMART LIKE viqmel-qmart as listbox visible length 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way u can keep a drop down box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards&lt;/P&gt;&lt;P&gt;swaroop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jyothi Swaroop Kaza on Dec 28, 2007 9:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 07:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185078#M758390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T07:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185079#M758391</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;Check the following code:&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;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 08:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185079#M758391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: drop down box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185080#M758392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these threads : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4640096"&gt;&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4636369"&gt;&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 08:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-box/m-p/3185080#M758392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T08:47:50Z</dc:date>
    </item>
  </channel>
</rss>

