<?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: Module pool with table control. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033359#M417483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lakshmi.&lt;/P&gt;&lt;P&gt;thanks.. but i want it on same screen and when we select value in 3rd dropdown then other details should display in table control.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 06:29:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T06:29:20Z</dc:date>
    <item>
      <title>Module pool with table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033356#M417480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have requirement such as there should three dropdowm and one table control on screen. when we select ZONE in first dropdown, then STATE of that ZONE should come automatically come in second dropdown, and when we select STATE in second dropdown then CITIES should in third dropdown. Finally when we select CITY then data for that city from ZTABLE should display in table control.&lt;/P&gt;&lt;P&gt;Please suggest me solution or send me sample code like this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 11:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033356#M417480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool with table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033357#M417481</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;   Create 3 list box and one table control. Create 3 internal tables with your required data and pass them to the function module 'VRM_SET_VALUES' this is show in the list box based on the selection show the values in the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the sample code to show values in the list box. &lt;/P&gt;&lt;P&gt;REPORT DEMO_DYNPRO_DROPDOWN_LISTBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS VRM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: NAME  TYPE VRM_ID,&lt;/P&gt;&lt;P&gt;      LIST  TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;      VALUE LIKE LINE OF LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA_SPFLI TYPE SPFLI,&lt;/P&gt;&lt;P&gt;      OK_CODE LIKE SY-UCOMM,&lt;/P&gt;&lt;P&gt;      SAVE_OK LIKE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES DEMOF4HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME = 'DEMOF4HELP-CONNID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CANCEL INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE INIT_LISTBOX OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR DEMOF4HELP-CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  CONNID CITYFROM CITYTO DEPTIME&lt;/P&gt;&lt;P&gt;    FROM  SPFLI&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF WA_SPFLI&lt;/P&gt;&lt;P&gt;   WHERE  CARRID = DEMOF4HELP-CARRIER2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    VALUE-KEY  = WA_SPFLI-CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE WA_SPFLI-DEPTIME TO VALUE-TEXT&lt;/P&gt;&lt;P&gt;                           USING EDIT MASK '__:__:__'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE VALUE-TEXT&lt;/P&gt;&lt;P&gt;                WA_SPFLI-CITYFROM&lt;/P&gt;&lt;P&gt;                WA_SPFLI-CITYTO&lt;/P&gt;&lt;P&gt;                INTO VALUE-TEXT SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND VALUE TO LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDSELECT.&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              = NAME&lt;/P&gt;&lt;P&gt;            VALUES          = LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_100.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;  IF SAVE_OK = 'CARRIER' &lt;/P&gt;&lt;P&gt;     AND NOT DEMOF4HELP-CARRIER2 IS INITIAL.&lt;/P&gt;&lt;P&gt;    LEAVE TO SCREEN 200.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    SET SCREEN 100.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_200.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;  IF SAVE_OK = 'SELECTED'.&lt;/P&gt;&lt;P&gt;    MESSAGE I888(BCTRAIN) WITH TEXT-001 DEMOF4HELP-CARRIER2&lt;/P&gt;&lt;P&gt;                                        DEMOF4HELP-CONNID.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Laxmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 13:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033357#M417481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T13:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool with table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033358#M417482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you can use vrm_set_values function module for setting the values in the drop down list&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reward all helpful replies&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 05:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033358#M417482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T05:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool with table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033359#M417483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lakshmi.&lt;/P&gt;&lt;P&gt;thanks.. but i want it on same screen and when we select value in 3rd dropdown then other details should display in table control.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 06:29:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033359#M417483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T06:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool with table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033360#M417484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In PAI,u can write the code.&lt;/P&gt;&lt;P&gt;i.e,let d1, d2, d3 be dropdown boxes.&lt;/P&gt;&lt;P&gt;have a push button say 'DISPLAY' ON THE SCREEN.&lt;/P&gt;&lt;P&gt;****FOR LIST DISP&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;if d1 is not initial.&lt;/P&gt;&lt;P&gt;select state from ztable into it_state where zone = d1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if d2 is not initial.&lt;/P&gt;&lt;P&gt;select city from ztable into it_city where city = d2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;/P&gt;&lt;P&gt;Then , on usercommand, write the following code,&lt;/P&gt;&lt;P&gt;case-sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'DISPLAY'.&lt;/P&gt;&lt;P&gt;SELECT * FROM ZTABLE INTO IT_FINAL WHERE ZONE = D1 AND STATE = D2 AND CITY = D3.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) to get the possible entries or drop down, u can use FM F4IF_FIELD_VALUE_REQUEST or vrm_set_values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 09:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-with-table-control/m-p/2033360#M417484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T09:16:22Z</dc:date>
    </item>
  </channel>
</rss>

