<?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 columns dynamically in a table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281192#M784636</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;use like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = &amp;lt;your column heading&amp;gt;. "like ztab-fieldnam1 etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;&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;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 11:37:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T11:37:04Z</dc:date>
    <item>
      <title>Hiding columns dynamically in a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281188#M784632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Based on the selected value in a dropdown box, I want to hide some columns in a table control. The table control is generated using the wizard from a work area and itab in the program. I have tried things like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = &amp;lt;work area&amp;gt;-&amp;lt;field name&amp;gt;.&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;I have also tried screen-active = 0, but it is not working. Is there any other way to achieve this?&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;Nithya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281188#M784632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding columns dynamically in a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281189#M784633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nithya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2753983"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the link to disable a column in the table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can display the Column as a List Box and associate Function Code with the Column. Whenever a value is selected, User Command will be triggered and you can then modify the data in the table control based on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281189#M784633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding columns dynamically in a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281190#M784634</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;u cant make it invisible but u can make it disable by making one module in PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE init_screen OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'ITAB_DET-BILL_NO' AND zform_track_mast-comp_code = '1000'.&lt;/P&gt;&lt;P&gt;      screen-input = 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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.                 " init_screen  OUTPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281190#M784634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding columns dynamically in a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281191#M784635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nithya,&lt;/P&gt;&lt;P&gt;              Try this below logic that will solve ur problem.Write this logic in &lt;STRONG&gt;PAI&lt;/STRONG&gt; EVENT(compulsory in PAI event).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if screen-name = 'WA-FIELDNAME'.&lt;/P&gt;&lt;P&gt; screen-input = 0.&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;&lt;STRONG&gt;Reward points if helpful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; Kiran Kumar.G.A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: KIRAN KUMAR on Jan 16, 2008 12:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281191#M784635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding columns dynamically in a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281192#M784636</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;use like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = &amp;lt;your column heading&amp;gt;. "like ztab-fieldnam1 etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;&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;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hiding-columns-dynamically-in-a-table-control/m-p/3281192#M784636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:37:04Z</dc:date>
    </item>
  </channel>
</rss>

