<?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: regarding selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374321#M526339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT  connid cityfrom cityto deptime
    FROM  spfli
    INTO  CORRESPONDING FIELDS OF wa_spfli
   WHERE  carrid = demof4help-carrier2.

    value-key  = wa_spfli-connid.

    CONCATENATE value-text
                wa_spfli-cityfrom
                wa_spfli-cityto
                INTO value-text SEPARATED BY space.
    APPEND value TO list.


 CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = name
            values = list.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 05:31:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-12T05:31:24Z</dc:date>
    <item>
      <title>regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374314#M526332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all im making a block on the selection screen in which i want to select an integer only 1 or 2 so that i can use it for my reference in the prog. how can i do it. like at the user end i want to provide the user with only two option.&lt;/P&gt;&lt;P&gt;can you help me out in generating a f4 help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374314#M526332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374315#M526333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a domain in SE11 of char 1. &lt;/P&gt;&lt;P&gt;give the fixed value 1 and 2 in the values tab of the domain . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in selection screen &lt;/P&gt;&lt;P&gt;parameters : p_char type domainname value check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374315#M526333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374316#M526334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data : NAME  type VRM_ID,
       LIST  type VRM_VALUES,
       VALUE like line of LIST.

at selection-screen output.

  VALUE-KEY = '1'.
  VALUE-TEXT = 'One'.
  append VALUE to LIST.
  VALUE-KEY = '2'.
  VALUE-TEXT = 'Two'.
  append VALUE to LIST.

  call function 'VRM_SET_VALUES'
    exporting
      ID     = NAME
      VALUES = LIST.
  clear LIST.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374316#M526334</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-06-12T05:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374317#M526335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For that u  can make a  drop down list,&lt;/P&gt;&lt;P&gt;use type-pools  :vrm  for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374317#M526335</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2007-06-12T05:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374318#M526336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madhavi,&lt;/P&gt;&lt;P&gt;you can use radiobuttons for the purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374318#M526336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374319#M526337</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;You can provide the LIST BOX..using the function module VRM_SET_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

TYPE-POOLS: vrm.
 
 
DATA: ivrm_values TYPE vrm_values.
DATA: xvrm_values LIKE LINE OF ivrm_values.
DATA: name TYPE vrm_id.
 
PARAMETERS: p_INT AS LISTBOX VISIBLE LENGTH 10.
 
INITIALIZATION.
 
  name = 'P_INT'.
 
  xvrm_values-key = '1'.
  xvrm_values-text  =  'First value'.
  APPEND xvrm_values TO ivrm_values.

  xvrm_values-key = '2'.
  xvrm_values-text  =  'Second value'.
  APPEND xvrm_values TO ivrm_values. 


  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;Also Check the demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_DROPDOWN_LISTBOX&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374319#M526337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374320#M526338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a domain using SE11 and in 'Value Range' tab fill '1' and '2'. Name it as YD1.&lt;/P&gt;&lt;P&gt;Create a data element and use 'YD1' as its domain. Name it as YDE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program you can use this code:&lt;/P&gt;&lt;P&gt;PARAMETER p_test TYPE yde1 AS LISTBOX VISIBLE LENGTH 30 OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374320#M526338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374321#M526339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT  connid cityfrom cityto deptime
    FROM  spfli
    INTO  CORRESPONDING FIELDS OF wa_spfli
   WHERE  carrid = demof4help-carrier2.

    value-key  = wa_spfli-connid.

    CONCATENATE value-text
                wa_spfli-cityfrom
                wa_spfli-cityto
                INTO value-text SEPARATED BY space.
    APPEND value TO list.


 CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = name
            values = list.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 05:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374321#M526339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T05:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374322#M526340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks gopi&lt;/P&gt;&lt;P&gt;what is name and list  in the exporting parameter. &lt;/P&gt;&lt;P&gt;how to attach this to the function module to the selection screen parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 06:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/2374322#M526340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T06:13:36Z</dc:date>
    </item>
  </channel>
</rss>

