<?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 (application toolbar) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922375#M1148540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its client demand for having 2 selection screen and for handling just a BACK button is it worth to create 2 programs ( 2transport request) and all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant I handle here BACK button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2008 12:28:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-15T12:28:37Z</dc:date>
    <item>
      <title>Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922371#M1148536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here I have following scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute Selection screen 1(1000) -&amp;gt; Calls selection screen2(500) -&amp;gt; Calls and execute smart form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow is like this :&lt;/P&gt;&lt;P&gt;in start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initial coding for second screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;Call Selection-screen 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call function 'SSF_FUNCTION_MODULE_NAME'.&lt;/P&gt;&lt;P&gt;Now if i click back button in smart form its going to selection screen 1which is quite acceptable, but if we are clicking BACK or CANCEL or EXIT button in selection screen 2(500) instead of going to Selection screen 1(1000) its calling the smart form. If i click debug and click back button in selection screen2 (500) the pointer is coming directly to following statement in start-of selection:&lt;/P&gt;&lt;P&gt;Call Selection-screen 500. &lt;/P&gt;&lt;P&gt;and in this time after F5 if i check sy-dynnr it comes 1000 and sy-ucomm it comes blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me what code should I need to write to handle BACK, CANCEL,EXIT for second selection screen 2(500) and at which point and at which event. Please suggest.&lt;/P&gt;&lt;P&gt;I will definetly .............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2008 08:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922371#M1148536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-13T08:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922372#M1148537</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;Write LEAVE TO SCREEN 0 in the PAI of screen 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0500 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE g_ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK' OR 'EXIT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Goto Selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN  'CANC' .&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Do Nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  CLEAR : g_ok_code.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2008 08:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922372#M1148537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-13T08:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922373#M1148538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But its not a module pool program. Its a classical report made in selection screens.&lt;/P&gt;&lt;P&gt;How can I handle PAI and PBO in case of classical report (selection screen)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2008 17:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922373#M1148538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-13T17:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922374#M1148539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly, I didn't understand the reason for having 2 selection screens. See if you can handle this with a single selection screen. And after you make the selections, call the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, create 2 separate programs and call the second program from the first one. You can use AT USER-COMMAND event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2008 17:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922374#M1148539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-13T17:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922375#M1148540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its client demand for having 2 selection screen and for handling just a BACK button is it worth to create 2 programs ( 2transport request) and all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant I handle here BACK button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 12:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922375#M1148540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T12:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen (application toolbar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922376#M1148541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure with a normal report program if you can have 2 selection screens called one after the other( possible with tab strips selection screen though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do this with a module pool. Where your screen flow would be Selection screen 1&lt;DEL&gt;-&amp;gt; Selection Screen 2&lt;/DEL&gt;-&amp;gt;Output Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define 2 selection screens with Begin of selection-screen in the main program. And call the selection screen in the flow logic of the screen 1 and 2 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 19:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-application-toolbar/m-p/4922376#M1148541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T19:04:51Z</dc:date>
    </item>
  </channel>
</rss>

