<?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 Editable checkbox using CL_SALV_TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492105#M1420465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an ALV report and the first column is a checkbox. I am using class CL_SALV_TABLE to generate this report as a list display. I need to make the checkbox editable. The code below creates the checkbox but leaves it uneditable. I did not find a method in the cl_salv_columns_table that I could use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_salv_table=&amp;gt;factory
    exporting
      list_display = 'X'
    importing
      r_salv_table = lr_table
    changing
      t_table      = gt_output.

  lr_columns = lr_table-&amp;gt;get_columns( ).

  lr_column ?= lr_columns-&amp;gt;get_column( 'CHECKBOX' ).
  lr_column-&amp;gt;set_cell_type( if_salv_c_cell_type=&amp;gt;checkbox ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 18:30:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-18T18:30:46Z</dc:date>
    <item>
      <title>Editable checkbox using CL_SALV_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492105#M1420465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an ALV report and the first column is a checkbox. I am using class CL_SALV_TABLE to generate this report as a list display. I need to make the checkbox editable. The code below creates the checkbox but leaves it uneditable. I did not find a method in the cl_salv_columns_table that I could use. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_salv_table=&amp;gt;factory
    exporting
      list_display = 'X'
    importing
      r_salv_table = lr_table
    changing
      t_table      = gt_output.

  lr_columns = lr_table-&amp;gt;get_columns( ).

  lr_column ?= lr_columns-&amp;gt;get_column( 'CHECKBOX' ).
  lr_column-&amp;gt;set_cell_type( if_salv_c_cell_type=&amp;gt;checkbox ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492105#M1420465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T18:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Editable checkbox using CL_SALV_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492106#M1420466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the hotspot enabled checkbox IF_SALV_C_CELL_TYPE=&amp;gt;CHECKBOX_HOTSPOT. To refresh the value in the checkbox, you need to implement the event handler for the event LINK_CLICK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may read this blog post: &lt;A href="http://help-abap.blogspot.com/2010/01/salv-table-14-editable-checkbox.html" target="test_blank"&gt;http://help-abap.blogspot.com/2010/01/salv-table-14-editable-checkbox.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 19:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492106#M1420466</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-01-18T19:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Editable checkbox using CL_SALV_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492107#M1420467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually what I am looking for is SP01. As you can see the checkbox is part of the Spool no. field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did go through the link you provided but find it cumbersome. After click event, I will need to modify the content of the checkbox ( X or blank ) and then refresh the entire contents of the field. The SP01 screen seems to behave differently though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 20:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492107#M1420467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T20:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Editable checkbox using CL_SALV_TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492108#M1420468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For SP01, system uses the REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY FM to generate the output. It doesn't use the SAL OM to generate the ALV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SALV OM, I believe that's the only option to get the editable checkbox in the GRID (ALV generated with Container) / Fullscreen ALV. But you can get the selections (which brings the checkboxes) in the List display. Check the program SALV_DEMO_TABLE_SELECTIONS. &lt;/P&gt;&lt;P&gt;When you Run with selection "Output as List", you will get the editable checkboxes. &lt;/P&gt;&lt;P&gt;When you run the program with selection as "Output as Grid", you will get the "Box" icons for selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 21:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-checkbox-using-cl-salv-table/m-p/6492108#M1420468</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-01-18T21:48:15Z</dc:date>
    </item>
  </channel>
</rss>

