<?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 DROPDOWN LIST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233210#M771300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;     I want to use 3 dropdown list at single screen and i  select data  for diffrent dropdown from diffrent table i want to select data into second list on the base of first list and in third on the base of second list so plz help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 05:39:18 GMT</pubDate>
    <dc:creator>former_member745780</dc:creator>
    <dc:date>2008-01-17T05:39:18Z</dc:date>
    <item>
      <title>DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233210#M771300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;     I want to use 3 dropdown list at single screen and i  select data  for diffrent dropdown from diffrent table i want to select data into second list on the base of first list and in third on the base of second list so plz help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 05:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233210#M771300</guid>
      <dc:creator>former_member745780</dc:creator>
      <dc:date>2008-01-17T05:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233211#M771301</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;Make the field type as &lt;STRONG&gt;listbox with key&lt;/STRONG&gt; in the screen layout editor and assign function codes. Then you can use the function module &lt;STRONG&gt;VRM_SET_VALUES&lt;/STRONG&gt; for populating the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like in the pbo you will populate the list for first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on selecting a value the control goes to PAI with the function key for field1. There do the validation and select for the second field. Like the same for the other field also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the type pool VRM in top include for using the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 05:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233211#M771301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T05:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233212#M771302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renjith Michael,&lt;/P&gt;&lt;P&gt;       i have done this but when i select the entry from dropdown list then fields is goes to blank or there will be no any select of fields.&lt;/P&gt;&lt;P&gt;       if you will give the sample code for this so it will be very use full for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx&lt;/P&gt;&lt;P&gt;Anirudh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 06:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233212#M771302</guid>
      <dc:creator>former_member745780</dc:creator>
      <dc:date>2008-01-17T06:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233213#M771303</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;Sorry for the delay in reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try like the following code I just tried and worked. Make changes according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM  sapmztrialsh                                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS:&lt;/P&gt;&lt;P&gt;vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : values_c TYPE vrm_values WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: values_f TYPE vrm_values WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;carrid TYPE sflight-carrid,&lt;/P&gt;&lt;P&gt;connid TYPE sflight-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;save_ok TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;it_sflight TYPE TABLE OF sflight,&lt;/P&gt;&lt;P&gt;wa_sflight LIKE LINE OF it_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CLEAR values[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  select_carrid  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE select_carrid OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF it_sflight IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CLEAR values[].&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT * FROM sflight&lt;/P&gt;&lt;P&gt;    UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE it_sflight&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT it_sflight INTO wa_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      values_c-text = 'This text according to yuo'.&lt;/P&gt;&lt;P&gt;      values_c-key = wa_sflight-carrid..&lt;/P&gt;&lt;P&gt;      APPEND values_c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&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              = 'CARRID'&lt;/P&gt;&lt;P&gt;      values          = values_c[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      id_illegal_name = 1&lt;/P&gt;&lt;P&gt;      OTHERS          = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF values_f[] IS NOT INITIAL.&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              = 'CONNID'&lt;/P&gt;&lt;P&gt;        values          = values_f[]&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        id_illegal_name = 1&lt;/P&gt;&lt;P&gt;        OTHERS          = 2.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " select_carrid  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_9000  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_9000 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE save_ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'CARR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CLEAR values[].&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT it_sflight INTO wa_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        values_f-text = 'Connection'.&lt;/P&gt;&lt;P&gt;        values_f-key = wa_sflight-connid..&lt;/P&gt;&lt;P&gt;        APPEND values_f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_9000  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233213#M771303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233214#M771304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First use VRM_SET_VALUES to get popup from first table. Now use FM DYNP_VALUES_READ to read the value that has been provided in the first screen field. Now based on that read the values through DYNP_VALUES_READ and for the third one get the values based on the second selection screen value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Atanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233214#M771304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: DROPDOWN LIST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233215#M771305</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 you feel 'VRM_SET_VALUES' to be difficult to use, then you can use the function module &lt;STRONG&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/STRONG&gt; also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just refer to the standard program &lt;STRONG&gt;demo_dropdown_list_box&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list/m-p/3233215#M771305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:31:56Z</dc:date>
    </item>
  </channel>
</rss>

