<?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: Make a column editable in ALV Object Model in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343858#M801674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can modify the field catalog in the ALV Object Model also. Just that you have to approach it in a tweaked manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Determine the field catalog for any given structure or internal table using the FM &lt;STRONG&gt;"LVC_FIELDCATALOG_MERGE"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the package SLIS to find out how to use this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify the fields in the Field Catalog as you require and then pass it to SET_TABLE_FOR_FIRST_DISPLAY method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you will have to pass 'X' to edit field in the necessary records of the field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.abap4.it/download/ALV.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2008 14:23:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-24T14:23:16Z</dc:date>
    <item>
      <title>Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343854#M801670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ALV Object Model (using class CL_SALV_TABLE) to display a ALV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where a particular column should be editable. I am trying to do this using the method  SET_ENABLED_COLUMN from class CL_SALV_COLUMNS_TABLE. But this is not working and moreover the documentation for that method says that the method is not released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I achieve a editable column in ALV Object model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik Lingam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 08:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343854#M801670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T08:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343855#M801671</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;perform the steps as mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gs_fieldcat type lvc_s_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear gs_fieldcat.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-ref_table = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-outputlen = '5'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-key = 'X'.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;gs_fieldcat-edit       = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  gs_fieldcat-auto_value = 'X'.&lt;/P&gt;&lt;P&gt;  append gs_fieldcat to gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The property edit marked as Bold in the field catalog will allow the column to be editable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 08:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343855#M801671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T08:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343856#M801672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u make a coloum editable by passing x in the field cataloud for that coloum . like &lt;/P&gt;&lt;P&gt;int_fieldcat-edit = 'x' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;ROhit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 08:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343856#M801672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T08:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343857#M801673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember that I am using ALV Object model in which we cannot modify the field catalog manually. We have to use methods to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please reply accordingly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 09:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343857#M801673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343858#M801674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can modify the field catalog in the ALV Object Model also. Just that you have to approach it in a tweaked manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Determine the field catalog for any given structure or internal table using the FM &lt;STRONG&gt;"LVC_FIELDCATALOG_MERGE"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the package SLIS to find out how to use this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify the fields in the Field Catalog as you require and then pass it to SET_TABLE_FOR_FIRST_DISPLAY method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you will have to pass 'X' to edit field in the necessary records of the field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.abap4.it/download/ALV.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 14:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343858#M801674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T14:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343859#M801675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try with the following Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BUFFER_ACTIVE              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   i_structure_name             = 'sflight'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CLIENT_NEVER_DISPLAY       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BYPASSING_BUFFER           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_INTERNAL_TABNAME           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    ct_fieldcat                  = itab_lvc&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INCONSISTENT_INTERFACE       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_ERROR                = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                       = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'before'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;'.&lt;/P&gt;&lt;P&gt;LOOP AT itab_lvc INTO wa_lvc.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa_lvc-row_pos,wa_lvc-col_pos,wa_lvc-fieldname,wa_lvc-edit_mask.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_lvc INTO wa_lvc WHERE fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;  wa_lvc-edit_mask = 'X'.&lt;/P&gt;&lt;P&gt;  MODIFY itab_lvc FROM wa_lvc.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'after'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;'.&lt;/P&gt;&lt;P&gt;LOOP AT itab_lvc INTO wa_lvc.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa_lvc-row_pos,wa_lvc-col_pos,wa_lvc-fieldname,wa_lvc-edit_mask.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 14:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343859#M801675</guid>
      <dc:creator>Madhu2004</dc:creator>
      <dc:date>2008-01-24T14:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343860#M801676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koushik.  This is one of the limitations when using the ALV Object Model, class CL_SALV_TABLE.  There is no functinoality supporting the editable ALV, column, row, or cell.  You must use the class CL_GUI_ALV_GRID instead for editable ALVs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 14:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343860#M801676</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-01-24T14:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343861#M801677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use CL_GUI_ALV_GRID and it gives me some inconsistencies in java gui. So I have searched oss for notes and I have found &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 695910 - ALV grid: Editable grid and non-released methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"all methods that are related to editability of the ALV grid are not released for customer software developments"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that means that we can "play" with editable CL_GUI_ALV_GRID but we have no support for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows if that note still apply?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Lorenzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 07:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343861#M801677</guid>
      <dc:creator>lorenzo_nicora2</dc:creator>
      <dc:date>2008-04-17T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343862#M801678</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapdev.co.uk/reporting/alv/alvgrid_editable.htm" target="test_blank"&gt;http://sapdev.co.uk/reporting/alv/alvgrid_editable.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 07:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343862#M801678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T07:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Make a column editable in ALV Object Model</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343863#M801679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorenzo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you ever find an answer to your question?&lt;/P&gt;&lt;P&gt;I found the same note when researching an issue with my editable ALV which started after we applied new service pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 18:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-column-editable-in-alv-object-model/m-p/3343863#M801679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-07T18:05:52Z</dc:date>
    </item>
  </channel>
</rss>

