<?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: diabling subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599596#M1084235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code in module: &lt;/P&gt;&lt;P&gt;If &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;g_dynr = 0200.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;clear: g_dynnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;end of module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call subscreen &amp;lt;subarea&amp;gt; including sy-repid g_dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;call subscreen &amp;lt;subarea&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gupta on Oct 15, 2008 9:50 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gupta on Oct 15, 2008 9:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2008 07:49:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-15T07:49:02Z</dc:date>
    <item>
      <title>diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599594#M1084233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1) i have a main screen 100 and a subscreen 200 placed in a main screen.&lt;/P&gt;&lt;P&gt; 2) i placed few buttons in sub screen.&lt;/P&gt;&lt;P&gt; 3) i have MANUAL button on main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initially this sub screen should not display i.e buttons in subscreen should not be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after clicking the MANUAL button only these buttons should be displayed i.e subscreen should diaplay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me with a sample code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599594#M1084233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599595#M1084234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can disable the all fields in subscreen but cannot hide the subscreen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599595#M1084234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599596#M1084235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code in module: &lt;/P&gt;&lt;P&gt;If &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;g_dynr = 0200.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;clear: g_dynnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;end of module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call subscreen &amp;lt;subarea&amp;gt; including sy-repid g_dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;call subscreen &amp;lt;subarea&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gupta on Oct 15, 2008 9:50 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Gupta on Oct 15, 2008 9:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 07:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599596#M1084235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T07:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599597#M1084236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi palani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, then i'll not use subscreen. then i'll place all the buttons in main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then am i able to disable( i.e. no display) the buttons at least.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599597#M1084236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599598#M1084237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can hide a subscreen and all its contents just by not calling it in the PBO; call a dummy subscreen with nothing in it instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599598#M1084237</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2008-10-15T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599599#M1084238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kat,&lt;/P&gt;&lt;P&gt; Your requirement can be solved by creating another subscreen .&lt;/P&gt;&lt;P&gt;Let us assume ur main screen is 1000 , in that you place a blank subscreen say 2000 and you make another subscreen 3000 in which you place the buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now place the following codes :&lt;/P&gt;&lt;P&gt;In the top include you declare...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data :    var TYPE sy-repid VALUE '2000'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your main screen i.e. 1000 in the PBO part you call the subscreen like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
  MODULE status_1000.
  CALL SUBSCREEN sub INCLUDING sy-repid VAR.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this moment var is 2000 i.e.your blank subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you press the button 'MANNUAL'  in the PAI part you write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE ok_code1000
    WHEN 'MANNUAL'.
          var = '3000'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will completely solve your rerquirement...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599599#M1084238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599600#M1084239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; where do i place this subscreen '3000'  either in main screen only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e then both subscreens are placed in mainscreen. am i right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599600#M1084239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599601#M1084240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kat,&lt;/P&gt;&lt;P&gt;No you need not place the subscreen '3000'...you just create it and call will be dynamic i.e.depending on the value you pass in var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it and it works perfectly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember in your main screen there should be a blank sub-screen area. Whose value will be at begining 2000 defined by var in the top include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example that I have given sub is the blank sub-screen area which will dynamically accept su-screens 2000 or 3000. Thats it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599601#M1084240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: diabling subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599602#M1084241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you roy very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 10:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diabling-subscreen/m-p/4599602#M1084241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T10:01:40Z</dc:date>
    </item>
  </channel>
</rss>

