<?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: GUI status problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558664#M1658884</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;Check..may be your gui status is not active..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 16:06:23 GMT</pubDate>
    <dc:creator>Harsh_Bansal</dc:creator>
    <dc:date>2012-02-15T16:06:23Z</dc:date>
    <item>
      <title>GUI status problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558660#M1658880</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;1. I am working on a GUI status which is working fine when i execute independently from SE41 ...but when i assign it as &lt;/P&gt;&lt;P&gt;   SET PF-status in PBO of a program it does not take effect ....what may be the reason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I also have create a Menu Item  and inside that I have put the f-code as BACK ....so my question is when i click on that Item...will the system literally go back by 1 screen....or will the control go to the USER-COMMAND module where i can control the processing using sy-ucomm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558660#M1658880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: GUI status problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558661#M1658881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When you want to set the pf status, donot create it independently through SE41.&lt;/P&gt;&lt;P&gt;   In program write the 'SET PF-STATUS 'ZABC' in PBO. Double click on the 'ZABC' and create the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. for all function codes, control comes to USER-COMMAND in PAI only. we have to write the logic in case statement for all the function codes defined in GUI status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE G_OK_CODE.&lt;/P&gt;&lt;P&gt;  WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;     LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chitra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558661#M1658881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: GUI status problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558662#M1658882</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;i also tried creating from the program itself....that also is not working...however if i individually execute the pf status it is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558662#M1658882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T15:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: GUI status problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558663#M1658883</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 1st screen 100 you need to write this code in 2nd screen  ( say 200)  PAI and to navigate screen 100.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CASE SY-UCOMM
         WHEN 'EXIT'.
           LEAVE PROGRAM.
        WHEN 'BACK'.
           LEAVE TO SCREEN 100. " Where 100 is your 1st screen.
          ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use this also :-  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET SCREEN 300.
LEAVE SCREEN." this will move to screen 300&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to leave screen then try this please &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; SET SCREEN 0. 
 LEAVE SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Reference to blocked site removed &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 15, 2012 11:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558663#M1658883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T15:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: GUI status problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558664#M1658884</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;Check..may be your gui status is not active..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 16:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-problem/m-p/8558664#M1658884</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-02-15T16:06:23Z</dc:date>
    </item>
  </channel>
</rss>

