<?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: Going back to selection screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380176#M528167</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;USE CALL SCREEN INSTEAD OF SET SCREEN WHILE CALLING THE SCREEN.&lt;/P&gt;&lt;P&gt;then for back button if u write SET SCREEN 0.it will goes to the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 04:16:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T04:16:34Z</dc:date>
    <item>
      <title>Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380168#M528159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In my report program, when i click the BACK icon in the PAI event, i want the control to go back to the selection sreen. How do i achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380168#M528159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380169#M528160</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 your program is a Report, then pressing back button on the output (list) will take you back to selection screen. PAI and PBO are for Dialog programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380169#M528160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380170#M528161</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;While creating the layout give the function code type E for back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write appropriate code in CASE stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;RAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380170#M528161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380171#M528162</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;You have to check for sy-ucomm.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt; when &amp;lt;function code of back&amp;gt;.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this solves ur query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380171#M528162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380172#M528163</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;  Not sure..What are you looking for...But try using LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zreport.

  parameters: p_matnr type matnr.

START-OF-SELECTION.

* Call the screen..
  CALL SCREEN '0100'.

PROCESS AFTER INPUT.
  MODULE USER_COMMAND.

* Modules
MODULE USER_COMMAND INPUT.

  CASE SY-UCOMM.
    WHEN 'BACK'.
       
* Leave to the selection screen.
       LEAVE TO SCREEN 0.      
   
   ENDCASE.

ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380172#M528163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380173#M528164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;jsut try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN dynnr &lt;/P&gt;&lt;P&gt;                      [STARTING AT col1 lin1 &lt;/P&gt;&lt;P&gt;                      [ENDING   AT col2 lin2]] &lt;/P&gt;&lt;P&gt;                      [USING SELECTION-SET variant]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380173#M528164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380174#M528165</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;Use the below code under User_command module for the partiuclar screen no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g If you are using screen 9001, then in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_9001 INPUT.&lt;/P&gt;&lt;P&gt;  SET SCREEN 0.&lt;/P&gt;&lt;P&gt;  LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_9001  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, if you press back button, selection screen will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anbalagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380174#M528165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380175#M528166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Set the PF status , BACK button and  and fuction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write code  when sy-ucomm eq back.  call screen 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : &lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;  module screen_call.&lt;/P&gt;&lt;P&gt;double click on this module ,and write the code.&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, 18 Jun 2007 04:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380175#M528166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Going back to selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380176#M528167</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;USE CALL SCREEN INSTEAD OF SET SCREEN WHILE CALLING THE SCREEN.&lt;/P&gt;&lt;P&gt;then for back button if u write SET SCREEN 0.it will goes to the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 04:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/going-back-to-selection-screen/m-p/2380176#M528167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T04:16:34Z</dc:date>
    </item>
  </channel>
</rss>

