<?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 Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134792#M449012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zrich_001.

TYPE-POOLS: vrm.


DATA: ivrm_values TYPE vrm_values.
DATA: xvrm_values LIKE LINE OF ivrm_values.
DATA: name TYPE vrm_id.

PARAMETERS: p_year AS LISTBOX VISIBLE LENGTH 10.

AT SELECTION-SCREEN OUTPUT.

  name = 'P_YEAR'.

  xvrm_values-key = '1990'.
  xvrm_values-text  =  xvrm_values-key.
  APPEND xvrm_values TO ivrm_values.

  DO .
    xvrm_values-key = xvrm_values-key + 1.
    xvrm_values-text = xvrm_values-key .
    APPEND xvrm_values TO ivrm_values.
    IF xvrm_values-key = sy-datum(4).
      EXIT.
    ENDIF.
  ENDDO.

  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id     = name
      values = ivrm_values.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2007 00:37:40 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-04-12T00:37:40Z</dc:date>
    <item>
      <title>LIST BOX in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134791#M449011</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;I define a Parameter of Fiscal Year in the Selection Screen, like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_gjahr like bsad-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wuld like to hv DROP DOWN property for this Fiscal Year parameter, starting from 1990 till current year! Since, the VRM type-pool, VRM_SET_VALUE FM, VRM table, itab mehtod is lengthy for so many years, I wanna use a simple methos(if available). So, pls. let me know, If there is any simple procedure for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 00:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134791#M449011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T00:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134792#M449012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zrich_001.

TYPE-POOLS: vrm.


DATA: ivrm_values TYPE vrm_values.
DATA: xvrm_values LIKE LINE OF ivrm_values.
DATA: name TYPE vrm_id.

PARAMETERS: p_year AS LISTBOX VISIBLE LENGTH 10.

AT SELECTION-SCREEN OUTPUT.

  name = 'P_YEAR'.

  xvrm_values-key = '1990'.
  xvrm_values-text  =  xvrm_values-key.
  APPEND xvrm_values TO ivrm_values.

  DO .
    xvrm_values-key = xvrm_values-key + 1.
    xvrm_values-text = xvrm_values-key .
    APPEND xvrm_values TO ivrm_values.
    IF xvrm_values-key = sy-datum(4).
      EXIT.
    ENDIF.
  ENDDO.

  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id     = name
      values = ivrm_values.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 00:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134792#M449012</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-12T00:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: LIST BOX in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134793#M449013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;P&gt;Actually, I already opened a thread on this topic, with Title DROP DOWN!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I got the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why dont u respond my other thread in smartforms concept, with the title ''SMARTFORMS Download/Upload &amp;amp; Copy'' It deals with,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did customisation for a Z_existing Smartform in DEV box, but accidentally I deleted one Folder, which contains many Text nodes. So, now, I wuld like to have(Smartform) these nodes from QA box of that corresponding Smartform!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- How to get into this(Smartform) Folder with many Text nodes into DEV box, from QA box with out disturbing my customised Smartform in DEV box, as u know, both the Smartforms in both boxes r possess the same NAME! &lt;/P&gt;&lt;P&gt;So, by renaming Is it achieved, while Downloading and Uploading? If not, What is the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 00:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box-in-selection-screen/m-p/2134793#M449013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T00:48:48Z</dc:date>
    </item>
  </channel>
</rss>

