<?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 Table Control  Cell Display/Change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816029#M349365</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 table control , Few cells have to be displayed  Change mode and few cells  in  display mode ( Just like Conditions tab  table control  in Sales order ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can code for this senario . Could you please provide me the Solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2007 11:36:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-15T11:36:18Z</dc:date>
    <item>
      <title>Table Control  Cell Display/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816029#M349365</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 table control , Few cells have to be displayed  Change mode and few cells  in  display mode ( Just like Conditions tab  table control  in Sales order ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can code for this senario . Could you please provide me the Solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 11:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816029#M349365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T11:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control  Cell Display/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816030#M349366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi this depends on PBO event where u set your records to editable or uneditable format, check the solution here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=736686&amp;amp;messageID=1794330" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=736686&amp;amp;messageID=1794330&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just add another field say FIELD1(6) to your internal table, set this to ON or OFF according to ur requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ....&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'FIELD1'. &lt;/P&gt;&lt;P&gt;IF ITAB-FIELD1 = 'OFF'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&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;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample the field of colunm FIELD1 will be avaible for input if the value of ITAB-FIELD1 is ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you delete the control of field name (so the cell) the attribute'll be valide for whole row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF ITAB-FIELD1 = 'OFF'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 1.&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;In this way the row with field FIELD1 is OFF aren't available for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if found helpful, this solves the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 11:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816030#M349366</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-01-15T11:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control  Cell Display/Change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816031#M349367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah this is possible and this we can do when we the same table control has to behave differently for some conditions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this based on the input set the condition like GV_flag = 'X'.  This will be done in the pai of that module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now once the flag is set the in PBO make the table control behave with the Screen groups which u can define for the elements in the field attributes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to make use of the&amp;lt;b&amp;gt; screen groups&amp;lt;/b&amp;gt; very well in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so based on condition we can make the table control display or change for the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a pseudo code for demo .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF GV_FLAG = 'X'.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; IF SCREEN-NAME = 'ITAB-XXX1' AND ITAB-XXX2 = 'CN2'.
      SCREEN-INPUT = 1.
ELSE.
     SCREEN-INPUT = 0.
      MODIFY SCREEN.
 ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;IF &amp;lt;b&amp;gt;SCREEN-group1&amp;lt;/b&amp;gt; = '0001' or SCREEN-group1 = '0002'.&lt;/P&gt;&lt;P&gt;     SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSE.&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;&lt;/P&gt;&lt;P&gt;Screen-input / screen-active /screen-visible } make use of this .&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>Mon, 15 Jan 2007 12:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-cell-display-change/m-p/1816031#M349367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T12:12:11Z</dc:date>
    </item>
  </channel>
</rss>

