<?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: Update ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707643#M309832</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;this problem excatly replicated in this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply chk it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;pls close the thread if ur issue solve, after mark ing all hlpful answers&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Oct 2006 07:19:53 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-10-29T07:19:53Z</dc:date>
    <item>
      <title>Update ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707642#M309831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I need to update 2 columns in an ALV grid but not in all the rows (meaning in rows that have a particular status&lt;/P&gt;&lt;P&gt;these columns will be disabled but in other rows with a different status these columns will be editable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the TYPE-POOLS SLIS and not the objects method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hagit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 07:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707642#M309831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T07:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707643#M309832</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;this problem excatly replicated in this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply chk it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;pls close the thread if ur issue solve, after mark ing all hlpful answers&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 07:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707643#M309832</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-29T07:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707644#M309833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hagit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the field catalog don't set the edit property for the field. i.e fieldcat-edit = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now add a column in your data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF GT_GRID OCUURS 0,&lt;/P&gt;&lt;P&gt;       .&lt;/P&gt;&lt;P&gt;       .&amp;lt;i&amp;gt;Your other columns&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;       .&lt;/P&gt;&lt;P&gt;       .&lt;/P&gt;&lt;P&gt;       CELLSTYLES TYPE LVC_T_STYL&lt;/P&gt;&lt;P&gt;       END OF GT_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have to check for conditions  on which particular cell of a column will be editable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: LS_GRID  LIKE LINE OF GT_GRID,&lt;/P&gt;&lt;P&gt;      LS_STYLE TYPE LVC_S_STYL,&lt;/P&gt;&lt;P&gt;      LT_STYLE TYPE LVC_T_STYL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GT_GRID INTO LS_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;* CONDITION TO CHECK FOR ROW&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt; IF LS_GRID-FIELD1 = &amp;lt;CONDTION&amp;gt;. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INSERTING FIELD NAME IN STYLE TABLE. YOU CAN EVEN&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHECK FOR SOME CONDITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    LS_STYLE-FIELDNAME = 'FIELD1'.&lt;/P&gt;&lt;P&gt;    LS_STYLE-STYLE = CL_GUI_ALV_GRID=&amp;gt;MC_STYLE_ENABLED.&lt;/P&gt;&lt;P&gt;    APPEND LS_STYLE TO LT_STYLE.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT LINES OF LT_STYLE INTO LS_GRID-CELLSTYLES.&lt;/P&gt;&lt;P&gt;MODIFY GT_GRID FROM LS_GRID.&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;Hope this helps you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 07:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707644#M309833</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-10-29T07:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707645#M309834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;I have tryed as you suggested, but when I execute the program I get a short dump TABLE_ILLEGAL_STATEMENT, it happens when trying to INSERT LINES OF LT_STYLE INTO LS_GRID-CELLSTYLES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hagit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 12:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-grid/m-p/1707645#M309834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T12:47:12Z</dc:date>
    </item>
  </channel>
</rss>

