<?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: Selection Screen Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484239#M837656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checkout help on "Ranges".  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can also try this. &lt;/P&gt;&lt;P&gt;In your PBO for the 2nd screen, insert values entered on 2nd screen to select options tables of the first screen.  All select options are essentially tables.  You can loop thru the select options table in Screen 2 and insert them into select options of the first screen.  I would start by making sure that the PBO of the 2nd screen gets called when you close it, and also that PAI for the first screen is also triggered.  PAI of the first screen can also be potentially used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2008 17:53:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-03T17:53:13Z</dc:date>
    <item>
      <title>Selection Screen Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484238#M837655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have strange requirements for my selection screen variant.I have 2 screen ,when i click on particular field on &lt;STRONG&gt;1st&lt;/STRONG&gt; &lt;STRONG&gt;selection screen&lt;/STRONG&gt; the &lt;STRONG&gt;2nd&lt;/STRONG&gt; &lt;STRONG&gt;selection screen&lt;/STRONG&gt; pops up.Now i have to &lt;STRONG&gt;save&lt;/STRONG&gt; values &lt;STRONG&gt;of&lt;/STRONG&gt; &lt;STRONG&gt;2nd selection screen  on the 1st selection screen as variant&lt;/STRONG&gt;.It means that i have to pass selection data of 2nd screen to the first screen and save it on there.Can someone guide me how to do this.Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 17:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484238#M837655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T17:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484239#M837656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checkout help on "Ranges".  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can also try this. &lt;/P&gt;&lt;P&gt;In your PBO for the 2nd screen, insert values entered on 2nd screen to select options tables of the first screen.  All select options are essentially tables.  You can loop thru the select options table in Screen 2 and insert them into select options of the first screen.  I would start by making sure that the PBO of the 2nd screen gets called when you close it, and also that PAI for the first screen is also triggered.  PAI of the first screen can also be potentially used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 17:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484239#M837656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484240#M837657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read this blog in order to save a dynpro as a variant...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Save a variant from a Dynpro screen|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6618] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 19:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484240#M837657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T19:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484241#M837658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_VARIANT_SAVE_FROM_SELSCREEN'
       EXPORTING
            CURR_REPORT          = SY-REPID
            VARI_REPORT          = SY-REPID
       IMPORTING
            VARIANT              = W_VARIANT
       TABLES
            P_SSCR               = T_SELCTAB
       EXCEPTIONS
            ILLEGAL_VARIANT_NAME = 1
            NOT_AUTHORIZED       = 2
            NO_REPORT            = 3
            REPORT_NOT_EXISTENT  = 4
            REPORT_NOT_SUPPLIED  = 5
            OTHERS               = 6.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the above code where the SY-REPID will be the name of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_VARIANT will be the name of the variant where you want the data to be saved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read the values on the second selection screen.. please use the DYNP_READ function module.. then fill T_SELCTAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_SELCTAB will have the variant contents .. this will be the main part for you as you have to fill the values in it by reading the values in Second Selection screen...( paramater and selection screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write this code in PAI of Second Selection Screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 19:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/3484241#M837658</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2008-03-03T19:34:35Z</dc:date>
    </item>
  </channel>
</rss>

