<?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: Hide selection-screen block in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067393#M427876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your answers, but none of them seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding modif just hides the same objects as before.&lt;/P&gt;&lt;P&gt;And there doesn't seem to be anything that comes near to C1 in the table SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between the system on which it works and the one on which it doesn't work is that the system on which it doesn't work is a non-unicode system. Maybe that's the reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 16:23:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T16:23:17Z</dc:date>
    <item>
      <title>Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067390#M427873</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;I have created a selection screen with a subscreen area to include screen exits. If there are no screen exits, this block has to be hidden. I loop at the screen and hide every object in the block. On two of our systems everything is fine, but today I imported the transports to a third system and there I just see the empty block, with nothing on it. Is there maybe a parameter in SAP that tells to show or hide empty block in a selection-screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF TABBED BLOCK C1 FOR 10 LINES.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB1 USER-COMMAND ucomm1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB2 USER-COMMAND ucomm2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB3 USER-COMMAND ucomm3.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB4 USER-COMMAND ucomm4.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB5 USER-COMMAND ucomm5.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB6 USER-COMMAND ucomm6.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB7 USER-COMMAND ucomm7.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB8 USER-COMMAND ucomm8.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (10) TAB9 USER-COMMAND ucomm9.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK  C1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in initialization event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF L_LENGTH = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME(3) = 'TAB'.&lt;/P&gt;&lt;P&gt;        SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;        screen-required = 0.&lt;/P&gt;&lt;P&gt;        screen-input = 0.&lt;/P&gt;&lt;P&gt;        screen-output = 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;    ENDLOOP.&lt;/P&gt;&lt;P&gt;*Sets empty screen as basic but this is not shown&lt;/P&gt;&lt;P&gt;    C1-dynnr = '0200'.&lt;/P&gt;&lt;P&gt;    C1-prog  = '/ARINSO/BC_PG_OCI'.&lt;/P&gt;&lt;P&gt;    C1-activetab = 'TAB1'.&lt;/P&gt;&lt;P&gt;    GW_SCREXITS-SCREEN = '0200'.&lt;/P&gt;&lt;P&gt;    GW_SCREXITS-REPNA = '/ARINSO/BC_PG_OCI'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067390#M427873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067391#M427874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using &amp;lt;b&amp;gt;MODIF ID &amp;lt;id&amp;gt;&amp;lt;/b&amp;gt; option with selection screen objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067391#M427874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067392#M427875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, try this change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN.
IF SCREEN-NAME(3) = 'TAB'.
SCREEN-ACTIVE = 0.
screen-required = 0.
screen-input = 0.
screen-output = 0.
screen-invisible = 1.
MODIFY SCREEN.  
ENDIF.
"include this check
if SCREEN-NAME = 'C1'.
   screen-active = 0.
   screen-required = 0.
   screen-input = 0.
   screen-output = 0.
   screen-invisible = 1.
   modify screen.
endif.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067392#M427875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067393#M427876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your answers, but none of them seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding modif just hides the same objects as before.&lt;/P&gt;&lt;P&gt;And there doesn't seem to be anything that comes near to C1 in the table SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between the system on which it works and the one on which it doesn't work is that the system on which it doesn't work is a non-unicode system. Maybe that's the reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 16:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067393#M427876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T16:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067394#M427877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Björn Blanckaert ,&lt;/P&gt;&lt;P&gt;               Assign all the related screen fields to a modification ID ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex : parameters : p_matnr type mara-matnr modif Id 'MID'&lt;/P&gt;&lt;P&gt;Now at run time (At Selection screen output)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at sceen.&lt;/P&gt;&lt;P&gt;  If screen-group1 = 'MID'.&lt;/P&gt;&lt;P&gt;    screen-active = 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;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please reward points if solution is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067394#M427877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067395#M427878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: d_ucomm LIKE sy-ucomm,&lt;/P&gt;&lt;P&gt;           a(1) type c.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN begin of block bl2.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_grpa1(10) MODIF ID A,&lt;/P&gt;&lt;P&gt;            p_grpa2(5) MODIF ID A,&lt;/P&gt;&lt;P&gt;            p_grpb1(2) MODIF ID B.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end of block bl2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN begin of block bl1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /2(10) btn user-command cl1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /2(10) btn2 user-command cl2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end of block bl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  clear a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  d_ucomm = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT screen.&lt;/P&gt;&lt;P&gt;    IF A = 'X'.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'B'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CLEAR A.&lt;/P&gt;&lt;P&gt;    ELSEIF A = ''.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'A'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      A = 'X'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY screen.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 01:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067395#M427878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-29T01:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067396#M427879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try in this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;type-pools: icon.
 
data: switch.
 
selection-screen begin of block b2 with frame title text-001.
parameters: radio radiobutton group rnd user-command test default 'X',
            radio2 radiobutton group rnd.
selection-screen end of block b2.
 
selection-screen begin of block b1 with frame title text-001.
parameters:
           test type bkpf-belnr modif id sc1.
selection-screen end of block b1.
 
selection-screen begin of block b3 with frame title text-001.
parameters:
           test1 type bkpf-belnr modif id sc2.
selection-screen end of block b3.
 
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'SC1' AND RADIO EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ELSEIF SCREEN-GROUP1 = 'SC2' AND RADIO2 EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ENDIF.
ENDLOOP.
 
start-of-selection.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 01:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067396#M427879</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2011-09-29T01:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hide selection-screen block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067397#M427880</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;Your LOOP at SCREEN statement must be coded under event AT SELECTION-SCREEN OUTPUT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 07:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-selection-screen-block/m-p/2067397#M427880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-29T07:26:59Z</dc:date>
    </item>
  </channel>
</rss>

