<?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: sub screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080640#M431585</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;SUBSCREEN IS SCREEN THAT OPENS UP IN A NORMAL SCREEN AS ITS PART ON AN AREA SPECIFIED AS SUBSCREEN AREA&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAVJOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 06:47:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-05T06:47:25Z</dc:date>
    <item>
      <title>sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080639#M431584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what r sub-screens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080639#M431584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080640#M431585</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;SUBSCREEN IS SCREEN THAT OPENS UP IN A NORMAL SCREEN AS ITS PART ON AN AREA SPECIFIED AS SUBSCREEN AREA&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAVJOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080640#M431585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080641#M431586</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;&lt;/P&gt;&lt;P&gt;Subscreens are screens which can be embeded into another screen. These can be used and created with both selection screen as well as screen painter.&lt;/P&gt;&lt;P&gt;  They differ from normal screens in the way that that they don't have OK_CODE field of ther own and there PBO and PAI transfer data to the ABAP program in which these screens were created and the cannot have module calls which change status or leave screen and module call AT EXIT-COMMAND AND E type function codes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In screen painter(SE51) choose the subscreen tool button and draw a subscreen area on the screen,this subscreen area will be used to hold the subscreen at run time.To make a subscreen select the attribute screen type as subscreen and specify the size of the subscreen according to the size of the subscreen area in which it will be placed.&lt;/P&gt;&lt;P&gt;We use ABAP statement to embed and start the flow logic of the subscreen area in the PBO of a screen. A subscreen can contain another subscreen.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN subscreen_area INCLUDING program screen_number.&lt;/P&gt;&lt;P&gt;A similar call should also exist in PAI of screen.It will also call the PAI modules of the subscreen and will transfer data from subscreen to ABAP program.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN subscreen_area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subscreen can be created in selection screen using ABAP ststement and can be used with tabstrip defined on the selection screen or with the screen defined in the screen painter.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN screen_number AS SUBSCREEN NO-INTERVALS.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN screen_number .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;to use such a subscreen with tabstrip defined on the selection screen we should&lt;/P&gt;&lt;P&gt;use the DYNNR compnent of the structure which is created when the tabstrip is created and specifying the number of the screen .We can also define the subscreen statically for such a tabstrip by using &lt;/P&gt;&lt;P&gt;DEFAULT PROGRAM program SCREEN subscreen_number when declaring a tabstrip in selection screen.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF TABBED BLOCK tab_area FOR height LINES.&lt;/P&gt;&lt;P&gt;SELECTION-SCREN TAB (width)tab_name USER_COMMAND funct_code DEFAULT program SCREEN subscreen_no .&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;END OF BLOCK  tab_area .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; For each tabbed apge TAB addition is used with SELECTION-SCREEN statement. At the initialization event we can fill the tabstrip structure to dsiplay the default screen or specify it with DEFAULT addition.&lt;/P&gt;&lt;P&gt;tab_area-PROGRAM = SY-REPID.&lt;/P&gt;&lt;P&gt;tab_area-DYNNR  =  subscreen_nummber.&lt;/P&gt;&lt;P&gt;tab_area-ACTIVETAB = tabname.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080641#M431586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080642#M431587</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;Iam Srikanth, In generally Modulepool Programming we are using Subscreens concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen with in the screen is called Subscreen. Means in main screen calling from other screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose in Homepage we are click separate page that is to be opened in another screen i.e called subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u satisfie give points to me&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;P.SRIKANTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080642#M431587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080643#M431588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subscreens allow you to embed one screen within another at runtime. The term subscreen applies both to the screen that you embed, and the area on the main screen in which you place it. This section is about subscreen areas. The actual screens that you embed are called subscreen screens. When you use a subscreen, the flow logic of the embedded screen is also embedded in the flow logic of the main screen. Using subscreens on screens is like using includes in ABAP programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subscreens allow you to expand the content of a screen dynamically at runtime. For example, screen exits, which are part of the enhancement concept, use the subscreen technique. Some complex screen elements, like tabstrip controls, also use them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use a subscreen, you must:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the subscreen area(s) on a screen &lt;/P&gt;&lt;P&gt;Define suitable subscreen screens &lt;/P&gt;&lt;P&gt;Include the subscreen screen in the subscreen area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080643#M431588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: sub screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080644#M431589</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;It is a reserved area on a screen; filled at runtime. Helps in modularization of  screens and for dynamic screen modifications &lt;/P&gt;&lt;P&gt;A sub-screen is an independent screen that is displayed in an area of another ("main") screen at runtime. &lt;/P&gt;&lt;P&gt;You can include multiple sub-screens on main screen.&lt;/P&gt;&lt;P&gt;The term Sub-screen refers to both screen being embedded and area on main screen in which you place it.&lt;/P&gt;&lt;P&gt;Sub-screens are actual screens created through SE51 transaction with type as Sub-screen in attributes.&lt;/P&gt;&lt;P&gt;Calling Sub-screen from main screen triggers the execution of flow logic of the sub-screen within main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub-screen: How to create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the sub-screen area(s) on a screen. Resizable, Minimum size and scrollable are the attributes&lt;/P&gt;&lt;P&gt;Define suitable sub-screen screens&lt;/P&gt;&lt;P&gt;Include the sub-screen screen in the sub-screen area. &lt;/P&gt;&lt;P&gt;Adjust the frame of the sub-screen within the "main" screen. Name the sub-screen in the Field name field.&lt;/P&gt;&lt;P&gt;Arrange the fields within the sub-screen so that they appear in the main screen .&lt;/P&gt;&lt;P&gt;    Caution: If the sub-screen is defined to be larger than the available area in the main screen, then only that part of the subscreen will be visible that fits in the area available (measured from the upper left corner). Or set the scrollable attribute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points to remember&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Names of elements of sub-screens within a screen should be unique&lt;/P&gt;&lt;P&gt;You should not have OK_CODE or FCODE attached with sub-screen. The OK_CODE of main screen itself is OK_CODE of sub-screen&lt;/P&gt;&lt;P&gt;Sub-screens cannot have any dialog modules containing SET TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN or LEAVE TO SCREEN. This will cause runtime error.&lt;/P&gt;&lt;P&gt;You need to call it in the flow logic (both PBO and PAI) of the main screen.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN is not allowed in CHAIN..ENDCHAIN and LOOP ENDLOOP statements&lt;/P&gt;&lt;P&gt;Can not have an AT EXIT-COMMAND module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields that you use are the global fields. They must be declared in the top include&lt;/P&gt;&lt;P&gt;If using subscreens from another dialog program the data transfer will not happen unless you add specific code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will clear your doubts regardind sub-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 06:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sub-screen/m-p/2080644#M431589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T06:52:03Z</dc:date>
    </item>
  </channel>
</rss>

