<?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 List update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791292#M1309942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a list to be populated based on the selection criteria of another list. I have a screen in which I have 2 listbox. I have populated the list box using VRM_SET_VALUES. If I select 1st listbox the 2nd listbox should be automatically populated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2009 08:18:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-03T08:18:24Z</dc:date>
    <item>
      <title>List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791292#M1309942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a list to be populated based on the selection criteria of another list. I have a screen in which I have 2 listbox. I have populated the list box using VRM_SET_VALUES. If I select 1st listbox the 2nd listbox should be automatically populated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 08:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791292#M1309942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791293#M1309943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Pass the value to the second list box in the at selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 08:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791293#M1309943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791294#M1309944</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 use the DYNP_VALUES_READ to read the value selected in the First parameter in the AT SELECTION-SCREEN ON &amp;lt;field2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON P_FIELD2.
* Read the first record as only one record will be present
  read table li_dynpread into lwa_dynpread index 1.
  P_FIELD1 = lwa_dynpread-fieldvalue.

  lwa_dynpread-fieldname = 'P_FIELD1'.
  append lwa_dynpread to li_dynpread.
  clear lwa_dynpread.
* Read Screen Field Values.
  call function 'DYNP_VALUES_READ'
    exporting
      dyname     = sy-repid
      dynumb     = sy-dynnr
    tables
      dynpfields = li_dynpread.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 08:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791294#M1309944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791295#M1309945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the listbox to be populated in a screen. its a module pool program wherin in 1st screen I have 2 listbox and when user selects any value from 1st listbox the other should be automatically populated. I tried to populate the data in PAI event of the screen using VRM_SET_VALUES but it does not populate it in 2nd listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 08:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791295#M1309945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791296#M1309946</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;&lt;/P&gt;&lt;P&gt;Check the demo program DEMO_DYNPRO_DROPDOWN_LISTBOX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the MODULE init_listbox in the PAI of screen 200 ...how list box field is getting populated in the screen 200.&lt;/P&gt;&lt;P&gt;In the same you need to populate the on the selecting the value in Field1. You need to assign the Function code to Field1 listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which get's triggered when you select the value in Field1. In the PBO check for this function code and call the MODULE init_listbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 08:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791296#M1309946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T08:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: List update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791297#M1309947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks avinash it solved my problem.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 12:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-update/m-p/5791297#M1309947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T12:27:26Z</dc:date>
    </item>
  </channel>
</rss>

