<?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: Screen flow issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321188#M1394533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might not clearing Okcode. try to debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2009 21:19:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-16T21:19:41Z</dc:date>
    <item>
      <title>Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321186#M1394531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have designed my first module pool programming application. On the first screen (Screen# 9000) when the users click on a button, it will show a pop-up(Screen# 0100). When the users click on "Cancel" button on the pop-up, it should go back to the first screen (Screen#9000) - which is working fine. However, when the users click on the "Green Arrow/F3/BACK" button, it is showing the pop-up screen again instead of getting out of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know what went wrong.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the flow-logic for screens:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screen#9000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Nov 16, 2009 4:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321186#M1394531</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-11-16T21:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321187#M1394532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this one &lt;STRONG&gt;==&amp;gt;&lt;/STRONG&gt; &lt;SPAN __jive_macro_name="thread" id="131975"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Post's Characters are almost &lt;STRONG&gt;2554&lt;/STRONG&gt; so it is not in proper format and hard to understand for every one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this and always do search before posting, i think you can solve out your problem after little Search..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are Member Since &lt;STRONG&gt;2006&lt;/STRONG&gt; you must know about the Forum Rules, Your Subject Line is also not proper one, Please use Meaningful Subject Line for your next time posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="927634"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321187#M1394532</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-11-16T21:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321188#M1394533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might not clearing Okcode. try to debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321188#M1394533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T21:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321189#M1394534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clear ok code if there is any or clear Sy-ucomm if you are using sy-ucomm in PAI user_command module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321189#M1394534</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-11-16T21:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321190#M1394535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. I have modified the Subject now and reformatted the content of the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also debugged the code and found that the program processes the flow logic of 0100 again when it should come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code for screen# 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT. 
MODULE STATUS_9000. 

PROCESS AFTER INPUT. 
MODULE USER_COMMAND_9000. 

*&amp;amp;---------------------------------* 
*&amp;amp; Module STATUS_9000 OUTPUT 
*&amp;amp;---------------------------------* 
MODULE STATUS_9000 OUTPUT. 
SET PF-STATUS 'STANDARD'. 
SET TITLEBAR 'STANDARD'. 
clear: ok_code. ENDMODULE. 

*&amp;amp;--------------------------------* 
*&amp;amp; Module USER_COMMAND_9000 INPUT 
*&amp;amp;--------------------------------* 
module user_command_9000 input. 

data: lt_rows type lvc_t_row. 

check not ok_code is initial. 

 case ok_code. 
  when 'FRZ_VERS'. 

*-- Call Pop-up screen to select version. 
   call screen '100' starting at 10 20 ending at 40 30. 

*-- When the user clicks on 'BACK' button. 
  when 'BACK'. 
   set screen 0. leave to screen 0. 

  when others. 
   set screen 0. 
   leave to screen 0. 
 endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen# 0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT. 
MODULE STATUS_0100. 

PROCESS AFTER INPUT. 
MODULE USER_COMMAND_0100. 

*&amp;amp;---------------------------* 
*&amp;amp; Module STATUS_0100 OUTPUT 
*&amp;amp;---------------------------* 
MODULE STATUS_0100 OUTPUT. 
  SET PF-STATUS 'FREEZE'. 
  SET TITLEBAR 'FRZ'. 

ENDMODULE.  
*&amp;amp;--------------------------------* 
*&amp;amp; Module USER_COMMAND_0100 INPUT 
*&amp;amp;--------------------------------*
MODULE USER_COMMAND_0100 INPUT. 
 case ok_code. 
  when 'CANC'. 
   if sy-dynnr = '0100'. 
    call screen 9000. 
   endif. 
  when 'BACK'. 
   set screen 0. 
   leave to screen 0. 
  when 'OTHERS'. 
   set screen 0. 
   leave to screen 0. 
 endcase. ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321190#M1394535</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-11-16T21:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321191#M1394536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;case ok_code. &lt;/P&gt;&lt;P&gt;  when 'FRZ_VERS'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;clear: ok_code -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&amp;gt; Add this here &lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- Call Pop-up screen to select version. &lt;/P&gt;&lt;P&gt;   call screen '100' starting at 10 20 ending at 40 30. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*-- When the user clicks on 'BACK' button. &lt;/P&gt;&lt;P&gt;  when 'BACK'. &lt;/P&gt;&lt;P&gt;   set screen 0. leave to screen 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321191#M1394536</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-11-16T21:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Screen flow issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321192#M1394537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have modified the PAI of 0100 screen, it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 21:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-flow-issue/m-p/6321192#M1394537</guid>
      <dc:creator>VenuAnumayam</dc:creator>
      <dc:date>2009-11-16T21:48:50Z</dc:date>
    </item>
  </channel>
</rss>

