<?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: subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075166#M1178877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz check wheather my syntax of calling screen is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2009 07:15:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-03T07:15:53Z</dc:date>
    <item>
      <title>subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075164#M1178875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call a subscreen when a radiobutton is clicked.&lt;/P&gt;&lt;P&gt;I have written code as---&lt;/P&gt;&lt;P&gt;IF RB1 = 'X'.&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN SA1 INCLUDING ZSCREEN_OMM 300.&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;but syntax error is comming...&lt;/P&gt;&lt;P&gt;'' screen expeted not subscreen''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to resolve 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>Tue, 03 Feb 2009 06:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075164#M1178875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T06:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075165#M1178876</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;Try: CALL SUBSCREEN SA1 INCLUDING SY-REPID '0300'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it doesn't allow you to pass the subscreen no directly. So you may need to store it in a variable and use that in the CALL statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 07:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075165#M1178876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T07:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075166#M1178877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz check wheather my syntax of calling screen is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 07:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075166#M1178877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T07:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075167#M1178878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jus try this.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN SA1 INCLUDING 'ZSCREEN_OMM'  '300'.&lt;/P&gt;&lt;P&gt;Also better declare a variable for the scr num. and use it instead of hardcoding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 08:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075167#M1178878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T08:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075168#M1178879</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 you are having 2 radiobuttons, select both-&amp;gt;right click-&amp;gt;radio button group-&amp;gt;define.&lt;/P&gt;&lt;P&gt;Give a name for that group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write code as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;case sy-ucomm.

when 'R_G'. "group name"

CALL SUBSCREEN SA1 INCLUDING ZSCREEN_OMM screen_no.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can pass the screen_no from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepthi S on Feb 3, 2009 1:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 08:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075168#M1178879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T08:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075169#M1178880</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;Where are you writing the code? In the Flow logic or PAI module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the program DEMO_DYNPRO_SUBSCREENS. It calls different subscreens depending on the button pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the code that displays the subscreen depending on the radio button clicked. Main screen is 300 with subscreen area SA1. Subscreens are 301 and 302. They contain labels with different text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  YFEB3_SUBSCREEN                                             .

DATA: OK_CODE LIKE SY-UCOMM,
      RAD1(1),
      NO(4).

no = '0301'.
call screen 300.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0300  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE STATUS_0300 OUTPUT.
  SET PF-STATUS 'BACK'.
*  SET TITLEBAR 'xxx'.


ENDMODULE.                 " STATUS_0300  OUTPUT

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0300  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_0300 INPUT.

OK_CODE = SY-UCOMM.

CASE OK_CODE.

  WHEN 'BACK'.
      LEAVE PROGRAM.
  WHEN 'GRP1'.
     IF RAD1 = 'X'.
        NO = 301.
     ELSE.
       NO = 302.
   ENDIF.

ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow Logic: For screen 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
 MODULE STATUS_0300.
 call subscreen sa1 including sy-repid no.

PROCESS AFTER INPUT.

 call subscreen sa1.
  MODULE USER_COMMAND_0300.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075169#M1178880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075170#M1178881</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 this link &lt;/P&gt;&lt;P&gt;[link|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1154127"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: R$SAP on Feb 3, 2009 10:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075170#M1178881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075171#M1178882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the above, Check whether you have declared your screen as a 'SUBSCREEN' instead of 'NORMAL SCREEN' and also check whether you have defined subscreen area in the screen where you are displaying the subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Goutham.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075171#M1178882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075172#M1178883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thaks Jayanthi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 07:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subscreen/m-p/5075172#M1178883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T07:00:27Z</dc:date>
    </item>
  </channel>
</rss>

