<?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: dropdown list at screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910745#M1597699</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;PRE&gt;&lt;CODE&gt;iN Top Include
TYPE-POOLS VRM.
TABLES : SFLIGHT.
DATA : CID TYPE VRM_ID, " For List Box
       CAR TYPE VRM_VALUES,
       WCAR LIKE LINE OF CAR,
       CARRID TYPE SPFLI-CARRID,
       OK TYPE SY-UCOMM.
DATA : ITAB TYPE TABLE OF SFLIGHT WITH HEADER LINE, " For Second List Box
       CONID TYPE VRM_ID,
       CON TYPE VRM_VALUES,
       WCON LIKE LINE OF CON.
On The screen create 2 list box with names
1) SFLIGHT-CARRID " For this assign any dummy Code and it will trigger PBO once you leave select
 
2) SFLIGHT-CONNID
in PBO
 
module status_100.
 
in Program
 
module status_100 output.
  REFRESH CAR.
  WCAR-KEY = 'AA'.          " The Key Value and Text Value should be same
  WCAR-TEXT = 'AA'.
  APPEND WCAR TO CAR.
  WCAR-KEY = 'LH'.
  WCAR-TEXT = 'LH'.
  APPEND WCAR TO CAR.
  CID = 'SFLIGHT-CARRID'.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      ID              = CID
      VALUES          = CAR
    EXCEPTIONS
      ID_ILLEGAL_NAME = 1
      OTHERS          = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1572319"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2011 09:41:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-29T09:41:07Z</dc:date>
    <item>
      <title>dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910738#M1597692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating dropdown list on screen with the help of VM_SET_VALUES function in PBO module.&lt;/P&gt;&lt;P&gt;I am declaring field with the same name in abap program. I had also assigned function code to this dropdown list.&lt;/P&gt;&lt;P&gt;The problem is when I am selecting the value in dropdown list PAI event is getting trigerred, but the value which I am selecting is not getting transfered in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I transfer the selected value from dropdown list to abap program.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 18:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910738#M1597692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-28T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910739#M1597693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subha,&lt;/P&gt;&lt;P&gt;                     Please check the below SAP help link with some examples:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ht[http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 20:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910739#M1597693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-28T20:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910740#M1597694</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;     If for example you have kept dropdown for choosing CARRID, and the field in the screen is as 'ZFTR_CARRID'. Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First assign a variable of type vrm_id. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_val type vrm_id
data: t_list type vrm_values,
         x_list type vrm_value.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO module:&lt;/P&gt;&lt;P&gt;module listbox.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_val = 'ZFTR_CARRID'.(Field Name)
 select carrid from the corresponding table and pass it to a work area.

v_value-key = work area-carrid. (Here v_value type t_list)
append v_value to t_list.
         clear v_value.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id                 =  v_val
      values          = t_list
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if u select the particular carrid, its value will be passed to the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 05:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910740#M1597694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T05:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910741#M1597695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sindhu,&lt;/P&gt;&lt;P&gt;I had done exactly the same and dropdown box is also working fine on the screen but problem is after I select value from dropdown list it is triggering PAI module(as I had assigned Fcode to dropdown) but in PAI the value which I am selecting in dropdown is not getting transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already had checked, the screen field name and field in abap program have same name and data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I transfer value from dropdown to my ABAP program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shubh_ag on Jun 29, 2011 8:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 06:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910741#M1597695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T06:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910742#M1597696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greetson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the document, Here values are automatically getting transfered from screen to abap program after selecting entry from dropdown list. &lt;/P&gt;&lt;P&gt;But In my program values are not automatically getting transferred, am I missing something.&lt;/P&gt;&lt;P&gt;I already checked screen field name and abap program field name are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 06:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910742#M1597696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T06:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910743#M1597697</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;  I created one list box and i assign the function code as LIST. the list box field name is GENDER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that PBO event i right the code like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_val = 'GENDER'."(Field Name)

x_list-key = 'MALE'. "(Here v_value type t_list)
append x_list to t_list.
         clear x_list.
x_list-key = 'FEMALE'. "(Here v_value type t_list)
append x_list to t_list.
         clear x_list.

CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id                 =  v_val
      values          = t_list
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in my PAI i write the code like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
  WHEN 'BACK'.
    leave PROGRAM.
  WHEN 'EXIT'.
    LEAVE PROGRAM.
  WHEN 'LIST'."call the function code here
    IF gender = 'MALE'.
      MESSAGE gender TYPE 'I'.
    ENDIF.
  WHEN OTHERS.

ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if i select the gender field as male, i am getting information message as MALE.&lt;/P&gt;&lt;P&gt;the value will be passed to the program. event i debug the code after selecting the list box as male i am getting the male in gender field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 06:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910743#M1597697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T06:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910744#M1597698</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;When you select any value in the list , the PAI gets triggered,&lt;/P&gt;&lt;P&gt;Now in the PAI, you can check teh function code that you have assigned to the list.&lt;/P&gt;&lt;P&gt;Here check teh function code, put a break point in the if statement and see if it goes inside it.&lt;/P&gt;&lt;P&gt;Once it goes, check the value of your screen-field.&lt;/P&gt;&lt;P&gt;Make sure the program field name &amp;amp; screen field name are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 06:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910744#M1597698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T06:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910745#M1597699</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;PRE&gt;&lt;CODE&gt;iN Top Include
TYPE-POOLS VRM.
TABLES : SFLIGHT.
DATA : CID TYPE VRM_ID, " For List Box
       CAR TYPE VRM_VALUES,
       WCAR LIKE LINE OF CAR,
       CARRID TYPE SPFLI-CARRID,
       OK TYPE SY-UCOMM.
DATA : ITAB TYPE TABLE OF SFLIGHT WITH HEADER LINE, " For Second List Box
       CONID TYPE VRM_ID,
       CON TYPE VRM_VALUES,
       WCON LIKE LINE OF CON.
On The screen create 2 list box with names
1) SFLIGHT-CARRID " For this assign any dummy Code and it will trigger PBO once you leave select
 
2) SFLIGHT-CONNID
in PBO
 
module status_100.
 
in Program
 
module status_100 output.
  REFRESH CAR.
  WCAR-KEY = 'AA'.          " The Key Value and Text Value should be same
  WCAR-TEXT = 'AA'.
  APPEND WCAR TO CAR.
  WCAR-KEY = 'LH'.
  WCAR-TEXT = 'LH'.
  APPEND WCAR TO CAR.
  CID = 'SFLIGHT-CARRID'.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      ID              = CID
      VALUES          = CAR
    EXCEPTIONS
      ID_ILLEGAL_NAME = 1
      OTHERS          = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1572319"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 09:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910745#M1597699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910746#M1597700</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;I was assigning different values to 'KEY' and 'TEXT' fields of VRM_VALUES table in PBO.&lt;/P&gt;&lt;P&gt;Now, I am assigning values to only 'KEY' field and eliminated assignment of values to 'TEXT' field , dropdown list  is now working fine.&lt;/P&gt;&lt;P&gt;But I am unable to get what is difference in the functionality of 'KEY' and 'TEXT' fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shubh_ag on Jun 29, 2011 12:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 10:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910746#M1597700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910747#M1597701</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;When you use the function module VRM_SET_VALUES the table it takes, has two important fields, KEY and VALUE. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KEY&lt;/STRONG&gt; should be unique in the table and &lt;STRONG&gt;VALUE&lt;/STRONG&gt; will be displayed in the drop-down output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;Key Value&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;1 ABC&lt;/P&gt;&lt;P&gt;2 BCA&lt;/P&gt;&lt;P&gt;3 CDE&lt;/P&gt;&lt;P&gt;4 FGH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc., and the drop-down output will have the values ABC,BCA,CDE,FGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 10:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910747#M1597701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T10:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910748#M1597702</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;@Dhina: I think there is no 'VALUE' field in VRM_VALUE structure instead there is 'TEXT' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, is my code from PBO and PAI module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE initialize OUTPUT.
  refresh: itab.      
  clear:itab,cnt.

loop at myline.
  cnt = cnt + 1.
  itab-key = cnt.
  itab-text = myline-field1.
  append itab.
  endloop.

  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      ID                    = 'IO'
      VALUES                = ITAB[].

MODULE input INPUT.

  save_code = ok_code.
  clear ok_code.
  case save_code.
    when 'DD'.
      if IO = 'HELLO'.
      MESSAGE i888(sabapdocu) WITH IO.
      endif.
      endcase.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am using above code in PBO then no data is returning in IO field in PAI but in PBO, if I am using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at myline.
 itab-key = myline-field1.
  append itab.
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then values are returning in corresponding 'IO' field.&lt;/P&gt;&lt;P&gt;Can someone explain me why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 10:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910748#M1597702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T10:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910749#M1597703</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;in that PAI you should change the code like dnt check the hello in the IO field you should check like key field in the IO field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your passing the vrm-key is cnt. cnt have 1,2,3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check in that debug the IO field contains only cnt field value only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
case save_code.
    when 'DD'.
      if IO = 'HELLO'."dont pass the hello here pass the key value IO like 1,2,3
      MESSAGE i888(sabapdocu) WITH IO.
      endif.
      endcase.
&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;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 11:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910749#M1597703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T11:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: dropdown list at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910750#M1597704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;issue is solved.&lt;/P&gt;&lt;P&gt;I made following corrections.&lt;/P&gt;&lt;P&gt;I was assigning integer values to 'key', but screen field and abap field is of different data type.&lt;/P&gt;&lt;P&gt;Secondly I was comparing 'HELLO' with 'IO' instead of 'key' value which is integer type(IO = 1).&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shubh_ag on Jun 29, 2011 4:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 14:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-at-screen/m-p/7910750#M1597704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-29T14:23:35Z</dc:date>
    </item>
  </channel>
</rss>

