<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957844#M66699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS &amp;lt;stat&amp;gt; [EXCLUDING &amp;lt;f&amp;gt;|&amp;lt;itab&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [OF PROGRAM &amp;lt;prog&amp;gt;]&lt;/P&gt;&lt;P&gt;                     [IMMEDIATELY].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba3ae35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba3ae35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Oct 2005 08:05:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-01T08:05:24Z</dc:date>
    <item>
      <title>GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957843#M66698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to specify GUI status in a report program based on some condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;Change the GUI status of a report during run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:00:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957843#M66698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957844#M66699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS &amp;lt;stat&amp;gt; [EXCLUDING &amp;lt;f&amp;gt;|&amp;lt;itab&amp;gt;] &lt;/P&gt;&lt;P&gt;                     [OF PROGRAM &amp;lt;prog&amp;gt;]&lt;/P&gt;&lt;P&gt;                     [IMMEDIATELY].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba3ae35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba3ae35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957844#M66699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957845#M66700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to set a gui status in selection screen you can specify SET PF-STATUS &amp;lt;NNN&amp;gt; in the event "AT SELECTION-SCREEN OUTPUT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to set a gui status in list screen you can specify SET PF-STATUS &amp;lt;NNN&amp;gt; in the event "TOP OF PAGE". &amp;lt;NNN&amp;gt; can be a variable to which you can pass value at run time based on your IF ELSEIF conditions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( The GUI status should be created in the program prior to use i.e. those GUI status should exit.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF COND1.&lt;/P&gt;&lt;P&gt;  PFSTAT = '001'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  PFSTAT = '002'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS PFSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to reward if answers helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957845#M66700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957846#M66701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF Equip NE ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SET PF-STATUS 'MAIN' of Program 'RCS11001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              input  = Equip&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              output = Equip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT stlnr INTO eqst-stlnr FROM eqst WHERE equnr IN Equip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT SINGLE idnrk INTO stpo-idnrk FROM stpo&lt;/P&gt;&lt;P&gt;                      WHERE stlnr EQ eqst-stlnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RFC_DISPLAY_BILL_OF_MATERIAL'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                bom_action        = '1'&lt;/P&gt;&lt;P&gt;                bom_application   = ' '&lt;/P&gt;&lt;P&gt;                material          = stpo-idnrk&lt;/P&gt;&lt;P&gt;                plant             = '2001'&lt;/P&gt;&lt;P&gt;                bom_alternative   = ' '&lt;/P&gt;&lt;P&gt;                change_number     = ' '&lt;/P&gt;&lt;P&gt;                valid_from        = ' '&lt;/P&gt;&lt;P&gt;                revision_level    = ' '&lt;/P&gt;&lt;P&gt;                bom_type          = ' '&lt;/P&gt;&lt;P&gt;                skip_first_screen = 'x'&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;                function_code     = l_test&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                sap_field_data    = sap_field_data&lt;/P&gt;&lt;P&gt;                dms_class_data    = dms_class_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IF l_test EQ 'BACK' "Back&lt;/P&gt;&lt;P&gt;        OR l_test EQ 'ENDE' "Exit&lt;/P&gt;&lt;P&gt;        OR l_test EQ 'ABBR'. "Cancel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        submit ZPM_RIMARA20 via selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the program system displays the output but when I click back icon it takes me to a blank screen, which I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957846#M66701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957847#M66702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of trying GUI STATUS why dont your try&lt;/P&gt;&lt;P&gt;submit ZPM_RIMARA20 via selection-screen &amp;lt;b&amp;gt;and return&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;I hope this will fix the issue of "BACK" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If at you want to set the GUI status you will have to do it in  the program ZPM_RIMARA20  and write code for handling "BACK" button in this program only. Just by setting GUI status will not help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check what is coded for "BACK" in program ZPM_RIMARA20  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957847#M66702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957848#M66703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that function code returned is F03 for back icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have changed my code to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF fn_code EQ 'F03'     "Back&lt;/P&gt;&lt;P&gt;       OR fn_code EQ 'F15'&lt;/P&gt;&lt;P&gt;       OR fn_code EQ 'F12'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SUBMIT zpm_rimara20 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 08:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957848#M66703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T08:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957849#M66704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratibha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you close this thread if problem solved .&lt;/P&gt;&lt;P&gt;Dont forget to reward if answers helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2005 09:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status/m-p/957849#M66704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-01T09:15:18Z</dc:date>
    </item>
  </channel>
</rss>

