<?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 Subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511744#M568078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madhu,&lt;/P&gt;&lt;P&gt;i dnt knw how to hide subscreen..but i will tell my views..&lt;/P&gt;&lt;P&gt;instead of hiding call a blank subscreen...so by this way can satisfy the hiding concept..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jaideep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*if&amp;lt;helpful&amp;gt;&lt;/P&gt;&lt;P&gt;reward points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 15:29:19 GMT</pubDate>
    <dc:creator>jaideeps</dc:creator>
    <dc:date>2007-07-13T15:29:19Z</dc:date>
    <item>
      <title>Hiding Subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511742#M568076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Guys ,&lt;/P&gt;&lt;P&gt;   i have a screen in which i have 2 subscreens.i am trying to hide the subscreen based on a condition. i am using the following code &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;CALL SUBSCREEN SUBSCREEN_9667 INCLUDING 'MP966700' '0200'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if p9667-subty = '2'.&lt;/P&gt;&lt;P&gt;CALL SUBSCREEN SUBSCREEN_TC9667 INCLUDING 'MP966700' '0100'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " subcreen_hide  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get the following error.&lt;/P&gt;&lt;P&gt;"." or  "ID ... FIELD ..." expexted after "SUBSCREEN".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one tell me what syntax should i be using to hide the subscreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 15:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511742#M568076</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-13T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511743#M568077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can use the CALL SUBSCREEN within the MODULE, it must be inside the screen flow logic of the screen. In order to make this work, you need to set the screen number dynamically in the screen flow logic.  Or you may even need to set a dummy subscreen with nothing in it for the subscreen not being used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 15:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511743#M568077</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-13T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511744#M568078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madhu,&lt;/P&gt;&lt;P&gt;i dnt knw how to hide subscreen..but i will tell my views..&lt;/P&gt;&lt;P&gt;instead of hiding call a blank subscreen...so by this way can satisfy the hiding concept..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jaideep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*if&amp;lt;helpful&amp;gt;&lt;/P&gt;&lt;P&gt;reward points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 15:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511744#M568078</guid>
      <dc:creator>jaideeps</dc:creator>
      <dc:date>2007-07-13T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511745#M568079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rich,&lt;/P&gt;&lt;P&gt;    i have used like this.  &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>Fri, 13 Jul 2007 15:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-subscreen/m-p/2511745#M568079</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-13T15:49:45Z</dc:date>
    </item>
  </channel>
</rss>

