<?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: alv editable columns in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727919#M1299385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the problem is that i don't know why the info relative cellstyles of the 'old' line dissapears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2009 08:35:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-11T08:35:19Z</dc:date>
    <item>
      <title>alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727917#M1299383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i wan't to put a column of an alv in non editable state depending a value introduced in another column. I have done it adding the cellstyles table to the internal table shown in the alv.&lt;/P&gt;&lt;P&gt;This is working fine, but in my alv i have the possibility of adding new lines and here is where i'm having trouble. When i add my first line and i introduce the value that must make another column non editable it works, but when i try to add a new line, the first row i addes loses it state and its shown editable.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 08:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727917#M1299383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-11T08:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727918#M1299384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You fill the cellstyles for the new row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 08:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727918#M1299384</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2009-06-11T08:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727919#M1299385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the problem is that i don't know why the info relative cellstyles of the 'old' line dissapears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 08:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727919#M1299385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-11T08:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727920#M1299386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you usinge a common perform? Maybe you have a clear or a refresh that clear them.&lt;/P&gt;&lt;P&gt;Can you post the piece of code where you add the new line with the filling of cellstyles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, you can always do a loop on your output table and re-fill the cellstyles for all the rows (new and old).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 08:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727920#M1299386</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2009-06-11T08:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727921#M1299387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_handle_data_changed&lt;/P&gt;&lt;P&gt;                USING  pi_data TYPE REF TO cl_alv_changed_data_protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_modi TYPE lvc_s_modi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;fs_value&amp;gt; TYPE ANY,&lt;/P&gt;&lt;P&gt;                 &amp;lt;fs&amp;gt;       TYPE ty_co04_0019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT pi_data-&amp;gt;mt_mod_cells BY row_id .&lt;/P&gt;&lt;P&gt;  LOOP AT pi_data-&amp;gt;mt_mod_cells INTO ls_modi.&lt;/P&gt;&lt;P&gt;    READ TABLE i_planifci ASSIGNING &amp;lt;fs&amp;gt; INDEX ls_modi-row_id.&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT ls_modi-fieldname OF STRUCTURE &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;      TO &amp;lt;fs_value&amp;gt;.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      &amp;lt;fs_value&amp;gt; = ls_modi-value.&lt;/P&gt;&lt;P&gt;      UNASSIGN &amp;lt;fs_value&amp;gt;.&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF ls_modi-fieldname = 'TIPO_PLAN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  cambiar la editabilidad de las columnas en base al valor del tipo 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   READ TABLE i_planifci INTO w_planifci INDEX ls_modi-row_id.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        PERFORM f_hacer_no_editables   USING    ls_modi-row_id&lt;/P&gt;&lt;P&gt;                                                ls_modi-value&lt;/P&gt;&lt;P&gt;                                       CHANGING &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY i_planifci INDEX ls_modi-row_id FROM &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  PERFORM f_refresh_table_display USING v_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to loss the info of the cellstyles table cos i'm doing it on the handle_data_changed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 09:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727921#M1299387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-11T09:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: alv editable columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727922#M1299388</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;Sine you are using in the perform of data change so, next time when you come and and a add a new line it will contain the field ''TIPO_PLAN' also... The if condition is again satisfied so it clears and becomes editable. put this out of this perform and i think it will work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 10:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-editable-columns/m-p/5727922#M1299388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-11T10:09:51Z</dc:date>
    </item>
  </channel>
</rss>

