<?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 with non editable rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586088#M1435074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about adding a Check Box Field in each row of Table Control. So, once the user checks the check box, this will trigger a PAI event and based on that we can enable or disable input for that corresponding row of that Table Control. This will also give a greater control of modification of each individual row of the table control element in the ABAP Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at these demo code of Table Control:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABCONT_LOOP&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help. It would be great if you can share your views regarding this idea.&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>Mon, 25 Jan 2010 15:41:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-25T15:41:59Z</dc:date>
    <item>
      <title>Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586086#M1435072</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;I have an requirement in which i need to make some rows of a table control editable and some rows non editable.&lt;/P&gt;&lt;P&gt;How can i acheive this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 02:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586086#M1435072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T02:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586087#M1435073</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;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT itab WITH CONTROL tc.&lt;/P&gt;&lt;P&gt;    MODULE modify_screen.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE modify_screen OUTPUT.&lt;/P&gt;&lt;P&gt; row_count = row_count + 1.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;       if row_count = 2. " For the 2nd row in the table control&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;Hope it helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 04:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586087#M1435073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T04:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586088#M1435074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about adding a Check Box Field in each row of Table Control. So, once the user checks the check box, this will trigger a PAI event and based on that we can enable or disable input for that corresponding row of that Table Control. This will also give a greater control of modification of each individual row of the table control element in the ABAP Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at these demo code of Table Control:&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABCONT_LOOP&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_1&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_TABLE_CONTROL_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help. It would be great if you can share your views regarding this idea.&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>Mon, 25 Jan 2010 15:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586088#M1435074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586089#M1435075</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 Flowlogic &lt;DEL&gt;&amp;gt;PBO&lt;/DEL&gt;Just Loop at screen and modify accordingly.&lt;/P&gt;&lt;P&gt;If u require any column for editable than..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at tablecontrol-columns into workarea.

Do the Manipulation.
Modify the tablecontrol-columns
Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 07:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586089#M1435075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-26T07:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586090#M1435076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abhijeet i applied your codes but the problem is that inside loop of PBO table control the module 'modify_screen' is not geting triggered. So how can i do that using sy-tabix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 05:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586090#M1435076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-31T05:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with non editable rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586091#M1435077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you abhijeet now its working fine. Actually previously i was using with cursor top_line, so for that reason it was not geting triggered. Now i removed with cursor and its working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 05:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-non-editable-rows/m-p/6586091#M1435077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-31T05:33:44Z</dc:date>
    </item>
  </channel>
</rss>

