<?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 box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598918#M268900</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;&lt;/P&gt;&lt;P&gt;i have 2 list boxes in selection screens. based on first listbox values the second list box values has to print .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: first list box values : 1 , 2 , 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in second list box if i select 1 in first list box in my second list box i have to get related values . if i don't select the first listbox i have to get all values in second list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2006 06:34:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-10T06:34:35Z</dc:date>
    <item>
      <title>list box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598918#M268900</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;&lt;/P&gt;&lt;P&gt;i have 2 list boxes in selection screens. based on first listbox values the second list box values has to print .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: first list box values : 1 , 2 , 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in second list box if i select 1 in first list box in my second list box i have to get related values . if i don't select the first listbox i have to get all values in second list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 06:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598918#M268900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T06:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: list box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598919#M268901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please use the function module &lt;/P&gt;&lt;P&gt; DYNP_VALUES_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign an user command to the first list box in the selection-screen.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT selection-screen on value request for lisbox 1.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  write the code for list box 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; subsequently write this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   refresh dynp_fields.&lt;/P&gt;&lt;P&gt;   dynp_fields-fieldname  = 'FNAME'.&lt;/P&gt;&lt;P&gt;   dynp_fields-fieldvalue =  Field value &lt;/P&gt;&lt;P&gt;   append dynp_fields.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call function 'DYNP_VALUES_UPDATE'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        dyname     = $dyname&lt;/P&gt;&lt;P&gt;        dynumb     = $dynumb&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        dynpfields = dynp_fields&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        others     = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 06:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598919#M268901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T06:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: list box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598920#M268902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Declare the paramter like :&lt;/P&gt;&lt;P&gt;  PARAMETERS : P_KUNNR  TYPE C MODIF ID SC1,&lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;2)At selection screen output :&lt;/P&gt;&lt;P&gt;   AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;     LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     IF SCREEN-NAME = 'P_KUNNR' AND &lt;/P&gt;&lt;P&gt;        SCREEN-GROUP1 = 'SC1'.&lt;/P&gt;&lt;P&gt;        P_SDATE = '1'.   "Seq no 1 to Sales    &lt;/P&gt;&lt;P&gt;        SCREEN-INPUT =  '1'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.    &lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;  Using the code you can play around with selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 07:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598920#M268902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-10T07:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: list box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598921#M268903</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 created two list boxes.if i select an item in first list box then the selected item should be add to second list box. can u help be in this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 06:15:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598921#M268903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T06:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: list box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598922#M268904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lakshmi/sudha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  See when you select value on list box some event has to triggerd, then only the program again  will go back to event  "AT SELECTION-SCREEN OUTPUT" where you can write the code for your functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement there should be "PUSHBUTTON"  or  "RADIOBUTTON" or&lt;/P&gt;&lt;P&gt;"CHECKBOX".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then only your requirement can fulfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add one check box near your listbox.Select the value from listbox .write the code in AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if check box eq 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wtite youe logic here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 06:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-box/m-p/1598922#M268904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T06:31:53Z</dc:date>
    </item>
  </channel>
</rss>

