<?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 table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131538#M111848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't have problem hiding the table control. My problem is the empty space left behind when the table control is hidden. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2006 18:04:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-07T18:04:00Z</dc:date>
    <item>
      <title>Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131535#M111845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement where I need to hide the entire table control based on a condition. I am able to hide the table control by setting the INVISIBLE attribute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that even when the table control is hidden, the screen area allocated to it is still used up. If there are any field after the table control, they are not moved up. You see a blank area where the table control should have been. Normally the screen compresses and removes any hidden/empty lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only suggestions I have got till now is to create the table control in a subscreen, and not include the subscreen if the condition is not met. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody come across a solution for this problem ? We are on 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 17:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131535#M111845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131536#M111846</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;&lt;/P&gt;&lt;P&gt;check this thread...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="83106"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 17:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131536#M111846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131537#M111847</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;Are the fields which you are expecting to occupy the place of Table control declared in sub screen itself?? if not then the area declared as subscreen holder will remain blank when ever you hide the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131537#M111847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131538#M111848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't have problem hiding the table control. My problem is the empty space left behind when the table control is hidden. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131538#M111848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131539#M111849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently I have everything in one screen and no subscreens. I want to get all my options before I go done the path of creating subscreens just so I can hide the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Are the fields which you are expecting to occupy the&lt;/P&gt;&lt;P&gt;&amp;gt; place of Table control declared in sub screen&lt;/P&gt;&lt;P&gt;&amp;gt; itself?? if not then the area declared as subscreen&lt;/P&gt;&lt;P&gt;&amp;gt; holder will remain blank when ever you hide the table&lt;/P&gt;&lt;P&gt;&amp;gt; control. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Santosh, &lt;/P&gt;&lt;P&gt;Currently all the&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131539#M111849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131540#M111850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the subscreen area is assigned it will remain blank when ever you make it contents invisible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its only during the PBO run the program know that it has to hide particular field based on given conditions. I don't think you can change the design part at that stage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131540#M111850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131541#M111851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently I have only one screen and no subscreen. The screen look like as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields ABC&lt;/P&gt;&lt;P&gt;Table Control TC200&lt;/P&gt;&lt;P&gt;fields XYZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I hide the table control using the invisible attribute, the screen shows up with a blank area between the fields ABC and XYZ where the table control should have been. If instead of table control it was a field and it was hidden, that line would have been compressed and the two fields ABC &amp;amp; XYZ would appear on adjacent rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, what can I do so that after the table control is hidden, the empty space between the fields is removed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi raj&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Once the subscreen area is assigned it will remain&lt;/P&gt;&lt;P&gt;&amp;gt; blank when ever you make it contents invisible...&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; its only during the PBO run the program know that it&lt;/P&gt;&lt;P&gt;&amp;gt; has to hide particular field based on given&lt;/P&gt;&lt;P&gt;&amp;gt; conditions. I don't think you can change the design&lt;/P&gt;&lt;P&gt;&amp;gt; part at that stage.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131541#M111851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131542#M111852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls verify that in the "Attributes" for your screen containing the table control...in the "Settings" group has the property "Switch off runtime compress" is not selected....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not selected by default....if that was switched on the behaviuor would be similar to what you are getting....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131542#M111852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131543#M111853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is not selected. The compress works fine on the screen with all other fields except for table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Pls verify that in the "Attributes" for your screen&lt;/P&gt;&lt;P&gt;&amp;gt; containing the table control...in the "Settings"&lt;/P&gt;&lt;P&gt;&amp;gt; group has the property "Switch off runtime compress"&lt;/P&gt;&lt;P&gt;&amp;gt; is not selected....&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; this is not selected by default....if that was&lt;/P&gt;&lt;P&gt;&amp;gt; switched on the behaviuor would be similar to what&lt;/P&gt;&lt;P&gt;&amp;gt; you are getting....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131543#M111853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131544#M111854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raj, the only way that you are going to achieve this is by using subscreens.  Here is an example.  Screen 100 includes a subscreen area, then under that there are two fields with labels.  There is a subscreen 101 which has the table control defined in it.  Also there is a dummy screen 102 which we will use when the table control is to be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the flow logic of the screen 100.  it should look like this, where the SUBA is the subscreen area in screen 100.  SUBSCREEN_VAR is a variable which we will use to tell it to fire 101 or 102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

process before output.

  module status_0100.

  &amp;lt;b&amp;gt;call subscreen suba including sy-repid  subscreen.&amp;lt;/b&amp;gt;

process after input.

 &amp;lt;b&amp;gt; call subscreen suba.&amp;lt;/b&amp;gt;

 module user_command_0100.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the program code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0002 .

data: begin of itab occurs 0,
      fld1 type c,
      fld2 type c,
      end of itab.

data: subscreen_VAR type sy-dynnr.

*&amp;amp;spwizard: declaration of tablecontrol 'ITABCON' itself
controls: itabcon type tableview using screen 0101.

parameters: p_sho radiobutton group grp1 default 'X',
            p_hid radiobutton group grp1.

start-of-selection.

  call screen 100.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module status_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

&amp;lt;b&amp;gt;  if p_sho = 'X'.
    subscreen = '0101'.
  elseif p_hid = 'X'.
    subscreen = '0102'.
  endif.&amp;lt;/b&amp;gt;

endmodule.                 " STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module user_command_0100 input.

  set screen 0.
  leave screen.

endmodule.                 " USER_COMMAND_0100  INPUT


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice in the PBO, we are setting the subscreen that is to be fired,  if the table control is to be shown, we fire 101,, if not we fire the dummy screen 102.  Doing this will allow the other fields of the screen 100, to move up when the table control is not being shown.  i just tested all of this and it is working great.&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>Tue, 07 Feb 2006 18:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131544#M111854</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T18:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131545#M111855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can do without subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: cxtab.&lt;/P&gt;&lt;P&gt;CONTROLS:&lt;/P&gt;&lt;P&gt;  tc1 TYPE TABLEVIEW USING SCREEN '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  CALL SCREEN '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  PERFORM status.&lt;/P&gt;&lt;P&gt;ENDMODULE.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM status .&lt;/P&gt;&lt;P&gt;  DATA wa_col TYPE cxtab_column.&lt;/P&gt;&lt;P&gt;  LOOP AT tc1-cols INTO wa_col.&lt;/P&gt;&lt;P&gt;    wa_col-screen-invisible = 0.&lt;/P&gt;&lt;P&gt;    wa_col-screen-active = 0.&lt;/P&gt;&lt;P&gt;    MODIFY tc1-cols FROM wa_col.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " status&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 18:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131545#M111855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131546#M111856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vemlateswara, hes not asking about hiding columns.  He wants to hide the entire control and not have any empty space in between the hidden table contol and the rest of the fields on the screen.  For this he needs subscreens.&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>Tue, 07 Feb 2006 19:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131546#M111856</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131547#M111857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich Heilman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call me Venkat. &lt;/P&gt;&lt;P&gt;Here I am suggesting solution to hide the entire control by inactivating the table control and hiding. On my system given piece of code is working as Rajendra has requested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 19:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131547#M111857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T19:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131548#M111858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have other fields besides the table control on your screen under the table control.  When you make the control invisible, do these fields move to the top of the screen?  This is what he is asking for.&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>Tue, 07 Feb 2006 19:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131548#M111858</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T19:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131549#M111859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested code by placing table control between 2 text fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On hiding table control, bottom text field moved up right below the top text field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 19:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131549#M111859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T19:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131550#M111860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAP are you working with.  I am not having the same results in my system.&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>Tue, 07 Feb 2006 19:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131550#M111860</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T19:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131551#M111861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP 4.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 19:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131551#M111861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131552#M111862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm in 46c.  Its not compressing in 46c.  Also you code doesn't work for me either.  I modified it like so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

    data wa_col type cxtab_column.
    loop at itabcon-cols into wa_col.
      &amp;lt;b&amp;gt;wa_col-invisible = 1.&amp;lt;/b&amp;gt;
      modify itabcon-cols from wa_col.
    endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it does make the control disappear, but it doesn't close the gap in between the top of screen and other fields like it does when using a subscreen.&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>Tue, 07 Feb 2006 19:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131552#M111862</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131553#M111863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;wa_col-invisible = 1.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;wa_col-screen-invisible = 0.&lt;/P&gt;&lt;P&gt;wa_col-screen-active    = 0.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 20:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131553#M111863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T20:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131554#M111864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat,  I got it working now.  I had that flag checked on from when I was playing around with it eariler, I forgot to uncheck it.  This is now working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


module status_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.


  data wa_col type cxtab_column.
  loop at itabcon-cols into wa_col.
&amp;lt;b&amp;gt;     wa_col-invisible = 1.
*    wa_col-screen-invisible = 1.
*    wa_col-screen-active    = 0.&amp;lt;/b&amp;gt;
    modify itabcon-cols from wa_col.
  endloop.


endmodule.                 " STATUS_0100  OUTPUT

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


wa_col-invisible = 1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gap is closed and the table control is invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

    wa_col-screen-invisible = 1.
    wa_col-screen-active    = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control is invisible, but the gap is not closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you seeing the same?&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>Tue, 07 Feb 2006 20:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-a-table-control/m-p/1131554#M111864</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-07T20:08:59Z</dc:date>
    </item>
  </channel>
</rss>

