<?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: Multiple selection screens with status gui in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358199#M1233535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uses:&lt;/P&gt;&lt;P&gt;TABLES:SSCRFIELDS.               " Use tables statement and the structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SSCRFIELDS-UCOMM&lt;/STRONG&gt;           " Will hold the sy-ucomm value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Just double click on the screen 2000 and create PF-status in the PBO of the screen.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2009 09:51:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-31T09:51:37Z</dc:date>
    <item>
      <title>Multiple selection screens with status gui</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358197#M1233533</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 want to make a report with two selection screens and i should create a status gui for these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've tried to do, the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

* FIRST SCREEN
SELECTION-SCREEN BEGIN OF BLOCK bk WITH FRAME.

PARAMETERS: pa(200) TYPE c.

SELECT-OPTIONS: so FOR sflight-carrid.


SELECTION-SCREEN END OF BLOCK bk.
* /FIRST SCREEN

* SECOND SCREEN
SELECTION-SCREEN BEGIN OF SCREEN 2000.

SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME.
PARAMETERS: pa2(200) TYPE c.
SELECTION-SCREEN END OF BLOCK bk1.

SELECTION-SCREEN END OF SCREEN 2000.
* /SECOND SCREEN

AT SELECTION-SCREEN OUTPUT.
  SET PF-STATUS 'Z_STAT'.
  SET TITLEBAR 'COISO'.

AT SELECTION-SCREEN.

  IF sy-dynnr EQ '1000'.
    CASE sy-ucomm.
      WHEN 'BACK' OR 'EXIT' OR 'CANC'.
        LEAVE TO SCREEN 0.
      WHEN 'EXECUTAR'.
        CALL SELECTION-SCREEN 2000.
        IF sy-subrc &amp;lt;&amp;gt; 0.
          LEAVE TO SCREEN 1000.
        ENDIF.
    ENDCASE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that on the first selection screen i have the status gui that I've created, but when i use CALL SELECTION-SCREEN 2000&lt;/P&gt;&lt;P&gt;the status gui (Z_STAT) is not assigned with the screen 2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? If yes how, and how can i capture which button on status gui of screen 2000 was clicked, because the field sy-ucomm after the call selection-screen 2000 is not updated?&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;Pedro Bessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 09:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358197#M1233533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection screens with status gui</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358198#M1233534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot assign GUI-Status of a program to another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make a copy and the assign it to second screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 09:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358198#M1233534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection screens with status gui</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358199#M1233535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uses:&lt;/P&gt;&lt;P&gt;TABLES:SSCRFIELDS.               " Use tables statement and the structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SSCRFIELDS-UCOMM&lt;/STRONG&gt;           " Will hold the sy-ucomm value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Just double click on the screen 2000 and create PF-status in the PBO of the screen.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 09:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358199#M1233535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T09:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection screens with status gui</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358200#M1233536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;harsh bhalla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its the same report. with two selection-screens. Can't i have status gui for both of them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gurpreet Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen. Not a screen. Can a have a pbo for a selection-screen? or one for each selection-screen? &lt;/P&gt;&lt;P&gt;The table SSCRFIELDS and the field sy-ucomm stays with the value from the first selection-screen.&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;Pedro Bessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 17:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screens-with-status-gui/m-p/5358200#M1233536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T17:00:36Z</dc:date>
    </item>
  </channel>
</rss>

