<?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: Making row non-editable in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471320#M834439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even check this explaination&lt;/P&gt;&lt;P&gt;Inside the value node(which is bound to your table), create a value attribute of type 'boolean, say 'RowReadonly'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bind this 'RowReadonly' to 'readonly' property of all celleditors of your table's all columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then if you want to make the i-th row of you table read only, give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wdContext.node&amp;lt;YourTablesValueNode&amp;gt;().get&amp;lt;YourTablesValueNode&amp;gt;elementAt(i).setRowReadonly(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all other rows, for which,are not to be readonly&lt;/P&gt;&lt;P&gt;wdContext.node&amp;lt;YourTablesValueNode&amp;gt;().get&amp;lt;YourTablesValueNode&amp;gt;elementAt(i).setRowReadonly(false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this thread also :&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="4287941"&gt;&lt;/A&gt;&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;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2008 15:05:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-26T15:05:05Z</dc:date>
    <item>
      <title>Making row non-editable in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471318#M834437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that I want to make a row(not column) non-editable in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that some rows should be editable and some should not be editable. How can I achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 26, 2008 10:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 14:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471318#M834437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T14:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Making row non-editable in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471319#M834438</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;first assign group to all the elements which u want disable .&lt;/P&gt;&lt;P&gt;You can set this through attributes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now make one module in PBO...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE init_screen OUTPUT.

LOOP AT SCREEN.
IF screen-group1 = 111 .
screen-input = 0.
MODIFY SCREEN.
ELSEIF screen-group1 111.
screen-input = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.


ENDMODULE. " init_screen OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if it_vbak-vbeln eq '0000000001'.

loop at screen.

if screen-group1 = 'G1'.

screen-input = '0'.
screen-output = '1'.

modify screen.

endif.

endloop.

endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 15:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471319#M834438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T15:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Making row non-editable in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471320#M834439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even check this explaination&lt;/P&gt;&lt;P&gt;Inside the value node(which is bound to your table), create a value attribute of type 'boolean, say 'RowReadonly'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bind this 'RowReadonly' to 'readonly' property of all celleditors of your table's all columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then if you want to make the i-th row of you table read only, give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wdContext.node&amp;lt;YourTablesValueNode&amp;gt;().get&amp;lt;YourTablesValueNode&amp;gt;elementAt(i).setRowReadonly(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all other rows, for which,are not to be readonly&lt;/P&gt;&lt;P&gt;wdContext.node&amp;lt;YourTablesValueNode&amp;gt;().get&amp;lt;YourTablesValueNode&amp;gt;elementAt(i).setRowReadonly(false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this thread also :&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="4287941"&gt;&lt;/A&gt;&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;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 15:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471320#M834439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T15:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Making row non-editable in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471321#M834440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. But this option will not work for making the rows to be non-editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 15:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471321#M834440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T15:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Making row non-editable in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471322#M834441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its done. Your points have been added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 16:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-row-non-editable-in-table-control/m-p/3471322#M834441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T16:41:30Z</dc:date>
    </item>
  </channel>
</rss>

