<?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: Passing data between selection screens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505733#M1747800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maqsood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sugg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Memory - Export and Import Statements &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Use SET and GET parameter IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 13:34:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-05T13:34:18Z</dc:date>
    <item>
      <title>Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505731#M1747798</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 created 2 selection screens in 2 different Report programs. I figured out that the possible ways to access data between them is by using abap memory . Now if i want to avoid this , how can i achieve the same? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to have 2 reports. I am just looking for possible solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maqsood&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505731#M1747798</guid>
      <dc:creator>maqsood_ahmed</dc:creator>
      <dc:date>2013-07-05T13:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505732#M1747799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TVARVC is designed to contain this kind of data.&amp;nbsp; That's my first thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505732#M1747799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505733#M1747800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maqsood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sugg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Memory - Export and Import Statements &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Use SET and GET parameter IDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505733#M1747800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T13:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505734#M1747801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what you want to achieve. Do you want to call report 2 from report 1, and skip the selection screen? Or you want to access data from report 1 in report 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several solutions. You can use a CALL TRANSACTION .... AND SKIP FIRST SCREEN..&lt;/P&gt;&lt;P&gt;using a BDC table with pre-filled parameters.&lt;/P&gt;&lt;P&gt;Or use a SUBMIT (calling a abap program).&lt;/P&gt;&lt;P&gt;Another way is to make a class, and store data in its attributes. This data you can then access from both programs. &lt;/P&gt;&lt;P&gt;Also, the SET and GET parameters are a valid option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505734#M1747801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505735#M1747802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Use SUBMIT with selscreen_options&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When using SUBMIT, you can fill the selection screen of the destination&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;report:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SUBMIT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{rep|(name)} [selscreen_options] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [list_options] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [job_options] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [AND&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RETURN].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use the&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;... [USING&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SELECTION-SET variant] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [USING SELECTION-SETS OF PROGRAM&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;prog] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [WITH SELECTION-TABLE rspar] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [WITH expr_syntax1 WITH expr_syntax2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;...] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [WITH FREE SELECTIONS texpr] ... .&lt;/EM&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;&lt;P&gt;&lt;STRONG&gt;See all on the F1 help&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 13:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505735#M1747802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-05T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505736#M1747803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about if i &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;make a &lt;STRONG&gt;subscreen area&lt;/STRONG&gt; in a main screen &lt;/LI&gt;&lt;LI&gt; initially embed the &lt;STRONG&gt;selection screen1&lt;/STRONG&gt; in subscreen area&amp;nbsp;&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;when the user tries to goto next screen(say F8 in application toolbar ) i will replace the&amp;nbsp; subscreen area&amp;nbsp; with &lt;STRONG&gt;selection screen2&lt;/STRONG&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way i do not have to worry about data transport between 2 selection screens and can have both selection screens defined in the main screen as subscreens. Kindly let me know if this will have any future implications . Customers would add more fields to the selection screens based on customization settings dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2013 08:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505736#M1747803</guid>
      <dc:creator>maqsood_ahmed</dc:creator>
      <dc:date>2013-07-07T08:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505737#M1747804</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 I have understood properly, you have got two selection screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one will be filled and then depending on this you need to go to another screen which will also have a defined set of parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first screen, you can have the normal selection screen, with the parameter and select options screen fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the start of selection, you need to call another screen. &lt;/P&gt;&lt;P&gt;call screen 100 ( will be displayed as new screen)&lt;/P&gt;&lt;P&gt;or call screen 100 &lt;SPAN class="L1S52"&gt;STARTING &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;1 (will be displayed as a subscreen).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Double click on 100 to create this screen using SE51. Here you can add all the selection fields in the second screen. The results of the first selection screen will be available in the PBO of the screen, since its the same program. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Dont forget to set PF-STATUS in PBO with the BACK or EXIT function code enabled.&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of the screen, on addition of the following code, you can go back to the initial selection screen. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;case gv_okcode.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;when&lt;/SPAN&gt;: &lt;SPAN class="L1S33"&gt;'BACK'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;leave&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;to&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;screen&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2013 11:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505737#M1747804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-07T11:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505738#M1747805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maqsood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the multiple ways to go about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use SUBMIT rep &lt;SPAN class="L0S52"&gt;WITH &lt;SPAN class="L0S52"&gt;SELECTION-TABLE rsparams&lt;/SPAN&gt;&lt;/SPAN&gt; AND RETURN command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In submit, you will set the values in RSPARAMS and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Call transaction with parameters (If Tcode is created)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Setting Paramer IDs of the fields use in the called report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2013 12:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505738#M1747805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-07T12:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505739#M1747806</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;Thanks you for the idea, it solves the problem but it always has a downside. On using this i will not get Variant feature even though my second screen is selection screen. Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 13:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505739#M1747806</guid>
      <dc:creator>maqsood_ahmed</dc:creator>
      <dc:date>2013-07-08T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505740#M1747807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masqood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mean you want to fill give default values in the second screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that by passing the values to screen fields in the PBO of the second screen.&amp;nbsp; You will achieve something similar to variants in selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if you want proper variants in the screen build with module pool program, that is also possible. &lt;/P&gt;&lt;P&gt;Check this document, which shows the steps in doing so. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-27331" title="http://scn.sap.com/docs/DOC-27331"&gt;http://scn.sap.com/docs/DOC-27331&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Susmitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 05:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505740#M1747807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-09T05:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505741#M1747808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So to extend Susmitha statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write code to create and fill a variant in the second screen and then call the second screen with the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could store the values in tvarvc and have a variant that gets it's values from tvarvc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for passing the values to a second screen of an independent program, I'm having trouble coming up with a way to do that without either importing them, or a write to a ztable and read in the second screen. But that is basically what an export/import pair does...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 12:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-between-selection-screens/m-p/9505741#M1747808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-09T12:34:20Z</dc:date>
    </item>
  </channel>
</rss>

