<?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 Visible Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6022998#M1348012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my module pool program i am displaying the data in table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO&lt;/P&gt;&lt;P&gt;TC-invisible = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;when 'DISP'.&lt;/P&gt;&lt;P&gt;TC-invisible = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this when a user press the (DISP) command butto then the table control will display the data.&lt;/P&gt;&lt;P&gt;But for this coding it is not dispalying the data&lt;/P&gt;&lt;P&gt;How to dispaly the TC when user press the command button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 10:54:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T10:54:12Z</dc:date>
    <item>
      <title>Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6022998#M1348012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my module pool program i am displaying the data in table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO&lt;/P&gt;&lt;P&gt;TC-invisible = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;when 'DISP'.&lt;/P&gt;&lt;P&gt;TC-invisible = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this when a user press the (DISP) command butto then the table control will display the data.&lt;/P&gt;&lt;P&gt;But for this coding it is not dispalying the data&lt;/P&gt;&lt;P&gt;How to dispaly the TC when user press the command button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 10:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6022998#M1348012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T10:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6022999#M1348013</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 you by any chance trying to make your table control go invisible and then make it visible when you click on the DISPLAY button? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or your problem is only with the data not being displayed on the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to display the data then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PROCESS BEFORE OUTPUT.
  module fill_internaltable.   "fill your internal table

  LOOP AT t_header INTO wa_header WITH CONTROL tabcontrol.
    MODULE display_data.
  ENDLOOP.

module display_data.
if sy-ucomm eq 'DISP'.
   screen-field1 = wa_header-field1.
   screen-field2 = wa_header-field2.
endif.
endmodule.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to make your table control to go invisible on display, write this in a module before loop...endloop in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

LOOP AT tabcontrol1-cols[] INTO wa_control1.
      wa_control1-invisible = '1'.    
      MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
    ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it visible.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 if sy-ucomm eq 'DISP'
    LOOP AT tabcontrol1-cols[] INTO wa_control1.
      CLEAR wa_control1-invisible.
      MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
    ENDLOOP.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 11:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6022999#M1348013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023000#M1348014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nitwick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you by any chance trying to make your table control go invisible and then make it visible when you click on the DISPLAY button? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dats are populated in Table control ,&lt;/P&gt;&lt;P&gt;First am invisible the TC and the press the display button the TC will display &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 11:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023000#M1348014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023001#M1348015</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;Then use the code that I gave you previously. That should work. Write the portion of code inside a module in PBO outside of LOOP...ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 11:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023001#M1348015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023002#M1348016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

MODULE status_0100 OUTPUT.
  SET PF-STATUS 'STATUS'.
*  SET TITLEBAR 'xxx'.

  IF sy-ucomm EQ space.

    LOOP AT tabcontrol1-cols[] INTO wa_control1.

      wa_control1-invisible = '1'.
      MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.

    ENDLOOP.

  ELSEif sy-ucomm eq 'DISP'.
    LOOP AT tabcontrol1-cols[] INTO wa_control1.

      CLEAR wa_control1-invisible.
      MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.

    ENDLOOP.

  ENDIF.
ENDMODULE.                 " STATUS_0100  OUTPUT

&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 11:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023002#M1348016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Visible Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023003#M1348017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 11:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-table-control/m-p/6023003#M1348017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T11:34:02Z</dc:date>
    </item>
  </channel>
</rss>

