<?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  with  multiple  transactions  transactions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705243#M32299</link>
    <description>&lt;P&gt;i dont understand your problem but i did try a simple code and it work as normal, what is your problem?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN 102.
SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE title1.
PARAMETERS: cityfr TYPE spfli-cityfrom,
            cityto TYPE spfli-cityto.
SELECTION-SCREEN END OF BLOCK sel1.
SELECTION-SCREEN END OF SCREEN 102.

SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN BEGIN OF BLOCK sel2
                          WITH FRAME TITLE title2.
PARAMETERS: airpfr TYPE spfli-airpfrom,
            airpto TYPE spfli-airpto.
SELECTION-SCREEN END OF BLOCK sel2.
SELECTION-SCREEN END OF SCREEN 500.

START-OF-SELECTION.
  CASE sy-tcode.
    WHEN 'tcode1'.
      title1 = 'Cities'.
      CALL SELECTION-SCREEN 102." STARTING AT 10 10.
    WHEN 'tcode2'.
      title2 = 'Airports'.
      CALL SELECTION-SCREEN 500.
    WHEN OTHERS.

  ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and for you to consider, you can use modify id to control the visible of parameter in selection screen, or you may create module pool which have 1 big screen with subscreen area and call subscreen based on transaction code.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 03:02:08 GMT</pubDate>
    <dc:creator>DoanManhQuynh</dc:creator>
    <dc:date>2018-11-28T03:02:08Z</dc:date>
    <item>
      <title>selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705239#M32295</link>
      <description>&lt;P&gt;Hello , &lt;/P&gt;
  &lt;P&gt;I have section screen ( rapport ) with several transaction. Each transaction is linked with deifferen selection screen .The screens are called in Initialisation event depending on choice of transaction. The problem is after one of selection screens is displayed standard tool buttons ( Back Exit and Cancel ) leads to execiton of the program.&lt;/P&gt;
  &lt;P&gt;I checked sy-ucomm and sscreen-ucomm but ther are not filled in. &lt;/P&gt;
  &lt;P&gt;After I hit one of those button the flow goes again i initialisation and than straight to start of selection event &lt;/P&gt;
  &lt;P&gt;Please advice how to get values of the button and get out of transaction instead to execute it&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 13:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705239#M32295</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-11-27T13:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705240#M32296</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;sy-ucom and sscreen-ucomm are empty after I hit  - back/exit/cance/ button on selection screen of transaction.&lt;/P&gt;&lt;P&gt;Flow just jumps over initialisation (which is normal as the screen is already  initialised after transaction executed) &lt;/P&gt;&lt;P&gt;and goes straigh to start of selection &lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 15:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705240#M32296</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-11-27T15:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705241#M32297</link>
      <description>&lt;P&gt;Are you trying to come out of the second selection screen to the first.&lt;/P&gt;&lt;P&gt;i.e. Transaction ZTXN --&amp;gt; Selection screen A --&amp;gt; Initialization section of A --&amp;gt; Calls Selection Screen B --&amp;gt; Exit from B --&amp;gt; Calls Selection screen A.&lt;/P&gt;&lt;P&gt;Is the above the existing flow? Do you the Selection screen B --&amp;gt; Exit --&amp;gt; come fully out of the transaction? &lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 15:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705241#M32297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-11-27T15:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705242#M32298</link>
      <description>&lt;P&gt;it goes like this &lt;/P&gt;&lt;P&gt;Initialisation &lt;/P&gt;&lt;P&gt;when trx A call select screen 001&lt;/P&gt;&lt;P&gt;when trx B call select screen 002&lt;/P&gt;&lt;P&gt;- once on a selection screen 001 before i put anything in selection fields &lt;/P&gt;&lt;P&gt;I want to get out of program or transaction. &lt;/P&gt;&lt;P&gt;Nothing has been selected at that moment  just selection screen 001 is displayed &lt;/P&gt;&lt;P&gt;and user has ocasion to enter selction field or get out of transaction.- but exit/back and cancel&lt;/P&gt;&lt;P&gt;jumps  start of selection. &lt;/P&gt;&lt;P&gt;Exit/back and cancel were working perfectlu befor I created  different selection screens &lt;/P&gt;&lt;P&gt;for different transactions &lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 15:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705242#M32298</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-11-27T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705243#M32299</link>
      <description>&lt;P&gt;i dont understand your problem but i did try a simple code and it work as normal, what is your problem?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN 102.
SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE title1.
PARAMETERS: cityfr TYPE spfli-cityfrom,
            cityto TYPE spfli-cityto.
SELECTION-SCREEN END OF BLOCK sel1.
SELECTION-SCREEN END OF SCREEN 102.

SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN BEGIN OF BLOCK sel2
                          WITH FRAME TITLE title2.
PARAMETERS: airpfr TYPE spfli-airpfrom,
            airpto TYPE spfli-airpto.
SELECTION-SCREEN END OF BLOCK sel2.
SELECTION-SCREEN END OF SCREEN 500.

START-OF-SELECTION.
  CASE sy-tcode.
    WHEN 'tcode1'.
      title1 = 'Cities'.
      CALL SELECTION-SCREEN 102." STARTING AT 10 10.
    WHEN 'tcode2'.
      title2 = 'Airports'.
      CALL SELECTION-SCREEN 500.
    WHEN OTHERS.

  ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and for you to consider, you can use modify id to control the visible of parameter in selection screen, or you may create module pool which have 1 big screen with subscreen area and call subscreen based on transaction code.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 03:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705243#M32299</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-11-28T03:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen  with  multiple  transactions  transactions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705244#M32300</link>
      <description>&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;partial solution was this event &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;leave program &lt;/P&gt;&lt;P&gt;But than, somehow, the "layout" button exit the program which was not acceptable &lt;/P&gt;&lt;P&gt;  I did  like &lt;A href="https://answers.sap.com/users/36313/quynhdoanmanh.html"&gt;Quynh Doan Manh&lt;/A&gt; ssuggested and  deplaced  creen cal from Initiation &lt;/P&gt;&lt;P&gt;to start of selection.&lt;/P&gt;&lt;P&gt;Now is workig properly &lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 14:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-multiple-transactions-transactions/m-p/705244#M32300</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-11-28T14:06:58Z</dc:date>
    </item>
  </channel>
</rss>

