<?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: Hiding a SubScreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505076#M566213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried hiding a subscreen that contains a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can hide the table, but it leaves the subscreen behind, maybe there is one more attribute that needs to be set active = 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a table controls attribute field called "Reaction" that offers the choices of Show and Hide, but I could not locate any documentation on what it is used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!  Sorry I could not be of assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K----&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 18:25:53 GMT</pubDate>
    <dc:creator>kathryn_mcgallicher</dc:creator>
    <dc:date>2007-07-19T18:25:53Z</dc:date>
    <item>
      <title>Hiding a SubScreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505073#M566210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Guyz, &lt;/P&gt;&lt;P&gt; i have used the following code for hiding the subscreen. but it is not working. Please help me.&lt;/P&gt;&lt;P&gt; The code in the Flow logic is :&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;general infotype-independent operations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MODULE BEFORE_OUTPUT.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN subscreen_empl INCLUDING empl_prog empl_dynnr.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;infotype specific operations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MODULE P9667.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN SUBSCREEN_9667 INCLUDING 'MP966700' '0200'.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN SUBSCREEN_TC9667 INCLUDING 'MP966700' '0100'.&lt;/P&gt;&lt;P&gt;MODULE subcreen_hide.&lt;/P&gt;&lt;P&gt;MODULE HIDE_FIELDS1.&lt;/P&gt;&lt;P&gt;MODULE HIDDEN_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have written the module for hiding the subscreen in the main program as follows&lt;/P&gt;&lt;P&gt;MODULE subcreen_hide OUTPUT.&lt;/P&gt;&lt;P&gt;if p9667-subty = '1'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'SUBSCREEN_9667'.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p9667-subty = '2'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'SUBSCREEN_TC9667'.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select subtype1 subscreen_9667 should not be displayed&lt;/P&gt;&lt;P&gt;and when i select subtype2 subscreen_tc9667 should not be displayed. &lt;/P&gt;&lt;P&gt;there is no difference before and after writing the module subscreen _hide. either ways both the subscreens are displayed for both the subtypes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 16:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505073#M566210</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-18T16:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a SubScreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505074#M566211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to set all fields within the subscreen to active = 0 in order to hide the entire subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K---&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505074#M566211</guid>
      <dc:creator>kathryn_mcgallicher</dc:creator>
      <dc:date>2007-07-19T16:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a SubScreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505075#M566212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   the 2 subscreens have table controls. when i hide the tables  the area used by the table remains in place.so when i call the second subscreen which is below the first subscreen  the area covered by the first subscreen remains unused. so i thought if i hide the subscreen it might work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 17:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505075#M566212</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-19T17:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a SubScreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505076#M566213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried hiding a subscreen that contains a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can hide the table, but it leaves the subscreen behind, maybe there is one more attribute that needs to be set active = 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a table controls attribute field called "Reaction" that offers the choices of Show and Hide, but I could not locate any documentation on what it is used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!  Sorry I could not be of assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K----&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 18:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505076#M566213</guid>
      <dc:creator>kathryn_mcgallicher</dc:creator>
      <dc:date>2007-07-19T18:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a SubScreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505077#M566214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look in transaction "BIBS" (demo dynpros) there is an example there of using collapsible areas which might suit your purpose (code is in function group EXAMPLE_ENTRY_SCREEN)... here SAP have used one main screen (2200) which then uses one of 4 subscreens, one for each state the screen might be in e.g. 2240 has area 1 open, area 2 closed, 2260 has both closed etc etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 06:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-subscreen/m-p/2505077#M566214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T06:16:41Z</dc:date>
    </item>
  </channel>
</rss>

