<?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/2466617#M554021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare selection screen as two parameter like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block b2 with frame title text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment 1(31) text-003.&lt;/P&gt;&lt;P&gt;parameter: p_mtart like mara-mtart&lt;/P&gt;&lt;P&gt;           as listbox visible length 10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment 40(30) text-005.&lt;/P&gt;&lt;P&gt;parameter: p_mtart1 like mara-mtart&lt;/P&gt;&lt;P&gt;           as listbox visible length 10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: end of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did not test in my system above code - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen parameter will show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;material type -  box        material type  - box &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now once you filled the data ( By using list box ) ,then create one range &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range : r_mtart for mara-mtart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do append all the parameter values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_mtart-low = p_mtart.&lt;/P&gt;&lt;P&gt;r_mtart-high = p_mtart1.&lt;/P&gt;&lt;P&gt;r_mtart-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_mtart-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_mtart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use r_mtart as in select query using in operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 21:21:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-20T21:21:31Z</dc:date>
    <item>
      <title>LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466614#M554018</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;&lt;/P&gt;&lt;P&gt;Here I hv example code regarding the LIST BOX,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Set the LOWER values&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/i&amp;gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;qcr_list   = 'P_QCR1'.&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     = qcr_list&lt;/P&gt;&lt;P&gt;      values = list.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* Set the HIGHER values&amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;qcr_list   = 'P_QCR2'.&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     = qcr_list&lt;/P&gt;&lt;P&gt;      values = list.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, pls. le t me clarify that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- How the SAP knows that, the P_QCR1 shuld put under LOWER value? Just bcoz, its come first in the coding sequence i.e. before P_QCR2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 20:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466614#M554018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T20:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466615#M554019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use qcr_list = 'P_QCR1'. then you are calling FM ,so it will come first..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Genrally this type of req ,i will not define select-option and i use always parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even if you want as select-option then we have other process ,let me know if you need any...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 20:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466615#M554019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T20:51: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/2466616#M554020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Sheshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the following is answer for my questtion!&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;When you use qcr_list = 'P_QCR1'. then you are calling FM ,so it will come first..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Genrally this type of req ,i will not define select-option and i use always parameters&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Am also usign parameters i.e. am not using select-options. &lt;/P&gt;&lt;P&gt;As I need to hv list box; I hv choosen parameters&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;even if you want as select-option then we have other process ,let me know if you &lt;/P&gt;&lt;P&gt;need any...&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Pls. let me know(my curiosity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 20:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466616#M554020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T20:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466617#M554021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare selection screen as two parameter like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block b2 with frame title text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment 1(31) text-003.&lt;/P&gt;&lt;P&gt;parameter: p_mtart like mara-mtart&lt;/P&gt;&lt;P&gt;           as listbox visible length 10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen comment 40(30) text-005.&lt;/P&gt;&lt;P&gt;parameter: p_mtart1 like mara-mtart&lt;/P&gt;&lt;P&gt;           as listbox visible length 10 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: end of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did not test in my system above code - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen parameter will show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;material type -  box        material type  - box &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now once you filled the data ( By using list box ) ,then create one range &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range : r_mtart for mara-mtart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do append all the parameter values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_mtart-low = p_mtart.&lt;/P&gt;&lt;P&gt;r_mtart-high = p_mtart1.&lt;/P&gt;&lt;P&gt;r_mtart-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_mtart-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_mtart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use r_mtart as in select query using in operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 21:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/2466617#M554021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T21:21:31Z</dc:date>
    </item>
  </channel>
</rss>

