<?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: table control issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159704#M1515693</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;The best approach here would be to use sub-screen concept. Design two different Sub-Screens for the screen. And then populate the first one with the normal screen UI elements. And then in the second sub-screen populate and generate the Table Control using the Wizard. So, now associate a Function Code for your Radio Buttons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on you logic you can load or unload the Subs- Screens which contains the normal screen and the Table Control related functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following links for sample codes on Subscreens- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/DYNPCALL.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/DYNPCALL.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/dialog/subscreen.htm" target="test_blank"&gt;http://www.sapdev.co.uk/dialog/subscreen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap-technical/ABAP/creating-a-subscreen-in-your-ABAP-program" target="test_blank"&gt;http://www.erpgenie.com/sap-technical/ABAP/creating-a-subscreen-in-your-ABAP-program&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check in the system the following sample programs - using transaction - *SE38 - &lt;STRONG&gt;DEMO&lt;/STRONG&gt;DYNPRO**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 04:07:30 GMT</pubDate>
    <dc:creator>samantak_chatterjee</dc:creator>
    <dc:date>2010-09-07T04:07:30Z</dc:date>
    <item>
      <title>table control issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159701#M1515690</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;How to hide the table control generated by wizard.&lt;/P&gt;&lt;P&gt;I have a requirment that in module pool two radio buttons eg: 1,2 if  radio button 1 selected table control has to hide. if 2selected table control has to visible. Please gve the solution for that requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay Kumar K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 07:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159701#M1515690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: table control issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159702#M1515691</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;In the PBO (in a module outside to the LOOP...ENDLOOP), use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE status_0100 OUTPUT.
 
 IF sy-ucomm EQ space.   "Give the function code on which you want to make your table control go invisible
                                          "Give a space if you want your table control to remail invisible on display of the screen
 
    CLEAR: t_header[].
 
    LOOP AT tabcontrol1-cols[] INTO wa_control1.
      wa_control1-invisible = '1'.
      MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
 
    ENDLOOP.
ENDMODULE.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159702#M1515691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: table control issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159703#M1515692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the data type of wa_control1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 08:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159703#M1515692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T08:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: table control issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159704#M1515693</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;The best approach here would be to use sub-screen concept. Design two different Sub-Screens for the screen. And then populate the first one with the normal screen UI elements. And then in the second sub-screen populate and generate the Table Control using the Wizard. So, now associate a Function Code for your Radio Buttons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on you logic you can load or unload the Subs- Screens which contains the normal screen and the Table Control related functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following links for sample codes on Subscreens- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/DYNPCALL.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/DYNPCALL.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/dialog/subscreen.htm" target="test_blank"&gt;http://www.sapdev.co.uk/dialog/subscreen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap-technical/ABAP/creating-a-subscreen-in-your-ABAP-program" target="test_blank"&gt;http://www.erpgenie.com/sap-technical/ABAP/creating-a-subscreen-in-your-ABAP-program&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check in the system the following sample programs - using transaction - *SE38 - &lt;STRONG&gt;DEMO&lt;/STRONG&gt;DYNPRO**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 04:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159704#M1515693</guid>
      <dc:creator>samantak_chatterjee</dc:creator>
      <dc:date>2010-09-07T04:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: table control issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159705#M1515694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the data type of the Table control can be found in Type-pool CXTAB....Moreover the code suggested by Nitwick would actually make the columns of the table control invisible and not the whole table control...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try the following code:&lt;/P&gt;&lt;P&gt;1) Create 2 global variables for indicators of the table control diaplay:&lt;/P&gt;&lt;P&gt;     - GV_DISPLAY_TC1 and GV_DISPLAY_TC2..&lt;/P&gt;&lt;P&gt;     - Set these variable in the PAI based on the Radio Button selected&lt;/P&gt;&lt;P&gt;     - In the PBO before looping at the table control set this line of code...&amp;lt;Table_control_name&amp;gt;-invisible = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the issue for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sitakant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-issue/m-p/7159705#M1515694</guid>
      <dc:creator>sitakant_tripathy2</dc:creator>
      <dc:date>2010-09-08T10:00:23Z</dc:date>
    </item>
  </channel>
</rss>

