<?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 records manipulation dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823876#M1470565</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;You can make one whole column inactive but making a row inactive i think is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Apr 2010 07:21:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-20T07:21:35Z</dc:date>
    <item>
      <title>Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823875#M1470564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some records in module pool table control. i need to disable some rows based on condition(plant). For example if the plant in the table control record is 1000. i have to disable the rows. How to acheive this? Kindly help me out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 07:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823875#M1470564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T07:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823876#M1470565</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;You can make one whole column inactive but making a row inactive i think is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 07:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823876#M1470565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823877#M1470566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Define Columns table based on table control in the TOP include.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONTROLS TABC TYPE TABLEVIEW USING SCREEN 100.
DATA: COLS LIKE LINE OF TABC-COLS.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Write the below code in the PBO of the screen to hide certain fields&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"At runtime as TABC is deep structure which has COLS table
 "inside we have to do the following.
 LOOP AT TABC-COLS INTO COLS.
   IF COLS-SCREEN-NAME = 'ITAB-MATNR'. "Which is to be hidden
     COLS-SCREEN-ACTIVE = '0'.
     MODIFY TABC-COLS FROM COLS INDEX SY-TABIX.
   ENDIF.
 ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers bhavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 07:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823877#M1470566</guid>
      <dc:creator>former_member233090</dc:creator>
      <dc:date>2010-04-20T07:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823878#M1470567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code is for disable total column.. i have asked row wise disabling based on condition... can u help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 08:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823878#M1470567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T08:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823879#M1470568</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;&lt;/P&gt;&lt;P&gt;  in PBO module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT it_qty WITH CONTROL tabl&lt;/P&gt;&lt;P&gt;                       CURSOR tabl-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODULE edit.&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;&lt;/P&gt;&lt;P&gt;create module edit  in program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module edit output  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if it_qty-plant = '7100 ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  check if condition for plant and  loop through screen  with all table control fields  and such as  &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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 = 'IT_qty-QTY1'  ) OR ( screen-name = 'IT_QTY-QTY2'  )&lt;/P&gt;&lt;P&gt;      OR ( screen-name = 'IT_QTY-QTY3'  )  OR ( screen-name = 'IT_QTY-QTY4'  )&lt;/P&gt;&lt;P&gt;      OR ( screen-name = 'IT_QTY-QTY5' )  OR  ( screen-name = 'IT_QTY-QTY6'  )&lt;/P&gt;&lt;P&gt;      OR ( screen-name = 'IT_QTY-QTY7' ) OR ( screen-name = 'IT_QTY-QTY8'  ).&lt;/P&gt;&lt;P&gt;      screen-input = 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;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak .&lt;/P&gt;&lt;P&gt;&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 09:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823879#M1470568</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2010-04-20T09:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table control records manipulation dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823880#M1470569</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;PRE&gt;&lt;CODE&gt;"KIndly close this thread if your purpose is Served so that it will be useful for others with similar Issue&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Check the below thread&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="8583450"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In Place of ITAB-MARK use ITAB-WERKS = 1000. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also check this one&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="8322747"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"In Flow Logic In The Simplest Way, 

PROCESS BEFORE OUTPUT.
 MODULE STATUS_0100.
  LOOP AT itab WITH CONTROL tc.
    module disable_row. " This should be here only
  ENDLOOP.

"In Program
MODULE disable_row OUTPUT.
  IF itab-carrid = 'AA'. " Pass your Plant Value here
    LOOP AT SCREEN.
      IF screen-group1 = 'GRP'. " Create Screen Group 
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF screen-group1 = 'GRP'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;             Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 09:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-records-manipulation-dynamically/m-p/6823880#M1470569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-20T09:31:46Z</dc:date>
    </item>
  </channel>
</rss>

