<?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 Problem when coming back to screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787479#M911180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;                    Its very very urgent..i am having 2 screen 100 and 500 of which 500 is my first screen and 100 is second screen. After giving input in 500 screen i am going to 100 screen in which 10 fields are there of which all are mandatory.&lt;/P&gt;&lt;P&gt;If my end user is entering 3 or any number if he dont want to continue then he wants to come back to 500 screen i.e first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In screen painter for ALL THE fields in have given as REQUIRED so tht they will be mandatory. But in menu when i am clicking back it is showing a message like fill in all the required fields. Please can anyone give me solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 10:55:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-08T10:55:38Z</dc:date>
    <item>
      <title>Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787479#M911180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;                    Its very very urgent..i am having 2 screen 100 and 500 of which 500 is my first screen and 100 is second screen. After giving input in 500 screen i am going to 100 screen in which 10 fields are there of which all are mandatory.&lt;/P&gt;&lt;P&gt;If my end user is entering 3 or any number if he dont want to continue then he wants to come back to 500 screen i.e first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In screen painter for ALL THE fields in have given as REQUIRED so tht they will be mandatory. But in menu when i am clicking back it is showing a message like fill in all the required fields. Please can anyone give me solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 10:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787479#M911180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T10:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787480#M911181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  A  simpler solution would be to not make the fields mandatory , only check if they are entered when you do processing based on the data entred in the screen. &lt;/P&gt;&lt;P&gt;in case you want to retain the fields as mandatory you can try setting the Back button as an exit command and in the PAI write the code to go back to the previous screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 10:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787480#M911181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T10:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787481#M911182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;         Thks for responding but i didnt got you can it be more precise. sir its very very urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 11:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787481#M911182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T11:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787482#M911183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;  I feel option one is self explanitory , just make the fields not mandatory and check if it has values when you are actually doing some proceessing with the data .,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second option&lt;/P&gt;&lt;P&gt;For every screen you will be using a menu and setting it using SET PF-STATUS , for the menu in second screen set the BACK button function type as EXIT and in the PAI of the screen add a new module some thing like&lt;/P&gt;&lt;P&gt;MODULE EXIT AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the EXIT module you can write the command&lt;/P&gt;&lt;P&gt; SET SCREEN 500 .&lt;/P&gt;&lt;P&gt;leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to revert back in case you have any further queries , assign points if reply is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 11:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787482#M911183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T11:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787483#M911184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun thks for responding, here even though i tried with set screen 500 with exit command then also it is not working it diractly passing out of program but i want to go back to 500 previous screen...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 11:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787483#M911184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787484#M911185</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 is the what you need to do.&lt;/P&gt;&lt;P&gt;1. Back Button in screen 500 normal Application&lt;/P&gt;&lt;P&gt;2. Back buttoin the screen 100 , set this as EXIT and in the PAI of the screen 100 create the new module for exit command.&lt;/P&gt;&lt;P&gt;In the module write the code SET SCREEN 500.&lt;/P&gt;&lt;P&gt;Leave Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert back with how your application works now &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 12:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787484#M911185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T12:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when coming back to screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787485#M911186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First have a read of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calling Modules Unconditionally|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then check your code goes something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*" from PAI in first screen, say 1100
call screen 1200.
break-point.  "to confirm your exit command gets back here
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the "at exit-command" module of your second screen (1200) which will be triggered when you select a user-command which is flagged with the "E" function code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*" in PAI of second screen in at exit-command
break-point.  "to check you reach this in the at exit-command
leave to screen 0.  "return to caller
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you aren't hitting the break points then your PF-STATUS may not be set quite right, with the "E" function code on your "EXIT" option,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 12:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-coming-back-to-screen/m-p/3787485#M911186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T12:18:15Z</dc:date>
    </item>
  </channel>
</rss>

