<?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: how to hide subscreen in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364460#M807313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when ur condition satisfies call an empty screen on the subscreen &lt;/P&gt;&lt;P&gt;i.e if r_but eq 'X'.&lt;/P&gt;&lt;P&gt;    call screen 100. (empty screen)&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;Plzz reward points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 07:05:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T07:05:11Z</dc:date>
    <item>
      <title>how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364459#M807312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created one Box, and inside box i created one subscreen in Module pool -&amp;gt;layout.and  two radio button out side of the Box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select 2nd radio button , want to hide subscreen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to hide subscreen. could you please send me the solution asap , it's urgent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i written below code but not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF rad2 Eq  'X' &lt;/P&gt;&lt;P&gt;     IF SCREEN-NAME = 'SUB1' .&lt;/P&gt;&lt;P&gt;            SCREEN-INPUT  = 0.&lt;/P&gt;&lt;P&gt;            SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;            MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 07:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364459#M807312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364460#M807313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when ur condition satisfies call an empty screen on the subscreen &lt;/P&gt;&lt;P&gt;i.e if r_but eq 'X'.&lt;/P&gt;&lt;P&gt;    call screen 100. (empty screen)&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;Plzz reward points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 07:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364460#M807313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T07:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364461#M807314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my layout i have 8 radio buttons, 2 subscreen in diff box, 10 input fields and pushbuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling blank screen will not work, because we will lose actual screen and everything. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364461#M807314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364462#M807315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when u want hide the subscreen means then also we will get empty screen only right.&lt;/P&gt;&lt;P&gt;or tell me the exact requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364462#M807315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364463#M807316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  BOX1&lt;/P&gt;&lt;P&gt;        MATNR [                          ]  (Normal screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  BOX2&lt;/P&gt;&lt;P&gt;        BOM  [ BOM-OW]  TO [BOM-HIGH] (subscreen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BOX3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       radio buttons&lt;/P&gt;&lt;P&gt;       push button &lt;/P&gt;&lt;P&gt;       selection screnn etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i selection 2nd radio button i will get. &lt;/P&gt;&lt;P&gt;  BOX1&lt;/P&gt;&lt;P&gt;        MATNR [                          ]  (Normal screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  BOX2&lt;/P&gt;&lt;P&gt;        empty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BOX3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       radio buttons&lt;/P&gt;&lt;P&gt;       push button &lt;/P&gt;&lt;P&gt;       selection screnn etc..&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BOX1&lt;/P&gt;&lt;P&gt;        MATNR [                          ]  (Normal screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BOX3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       radio buttons&lt;/P&gt;&lt;P&gt;       push button &lt;/P&gt;&lt;P&gt;       selection screnn etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364463#M807316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364464#M807317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to do&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then modify screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 06:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364464#M807317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T06:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364465#M807318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;try this..&lt;/P&gt;&lt;P&gt;at first use.... screen-active = 0. 'this will make ur screen editable&lt;/P&gt;&lt;P&gt;then use a push button and wite the code in pai module ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF rad2 Eq 'X' &lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'SUB1' .&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 09:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364465#M807318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T09:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364466#M807319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code that you have written is perfect. Only thing is maintain a screen group say 'G1' for al the elements in the subscreen that needs to be hidden. If I assume that the subscreen is SUB1, then maintain the screen group as G1 in the screen layout for all the screen elements of SUB1. Then use the code below:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if rb_2 eq 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'G1'.&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;This code needs to be written under the PBO of the subscreen SUB1 and after selecting the radio button 2 press 'Enter' on keyboard to trigger the PAI from where this subscreen is being called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: remitra_cap on Nov 21, 2011 11:26 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 10:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364466#M807319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide subscreen in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364467#M807320</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;PRE&gt;&lt;CODE&gt;In Flow Logic

CALL SUBSCREEN SUB1 USING SY-REPID DYNPRO  " iN Top Include declare 2 variables
CALL SUBSCREEN SUB2 USING SY-REPID DYNPRO1


Create dummy screens without screen elements
In Program based on the Radio button selected 


Make sure you assign a Fucntion Code (Ofcourse Define the Radio Button Grouping)
" For more info on Radio Button groupong in Screen Search the Forum

if R1 = 'X'.  " A Radio button is selected
dynpro = '2000'    " Actual Screen with screen elements
dynrpo1 = '3000'  " Actual Screen with screen eleemtns
esle.
dynpro == '4000'. "Dummy Screens
dynpro1 = '5000'.   " Dymmy Screen
endif.  " Loop at screen will not serve your purpose here&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 10:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-hide-subscreen-in-module-pool/m-p/3364467#M807320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T10:35:48Z</dc:date>
    </item>
  </channel>
</rss>

