title: How to disable row selector in ALV?
body: <p>I have a report which shows an ALV. After double clicking on a certain column, some fields in the ALV become customizable. This is done by setting the 'edit' attribute of the fieldcatalog-row for the column to 'X'. </p>
  
  <pre><code>&lt;fs_field_cat_line&gt;-edit = 'X'.
  </code></pre>
  
  <p>When I set the updated fieldcatalog, optimize its width and refresh the ALV </p>
  
  <pre><code>* setting fieldcatalog
  lo_alv_grid-&gt;set_frontend_fieldcatalog( it_fieldcatalog = lt_field_catalog ).
  
  * Optimizing column width
  ls_layout-cwidth_opt = 'X'.
  lo_alv_grid-&gt;set_frontend_layout( is_layout = ls_layout ).
  
  * refresh ALV
  lo_alv_grid-&gt;refresh_table_display( ).
  </code></pre>
  
  <p>The ALV gets get a new column at the start which can be used to select multiple rows, or when clicking at the top, select all rows. </p>
  
  <p><a href="https://i.stack.imgur.com/R2kMZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R2kMZ.png" alt="&#39;select all&#39;-column"></a></p>
  
  <p>How do I disable this Column. After refreshing, I do not want this column to appear. I have tried looking at what happens with the debugger but I can't seem to find it. </p>
  
  <p><strong>EDIT:</strong> After implementing the accepted solution below, the changes look like this:</p>
  
  <pre><code>* setting fieldcatalog
  lo_alv_grid-&gt;set_frontend_fieldcatalog( it_fieldcatalog = lt_field_catalog ).
  
  * Optimizing column width
  ls_layout-cwidth_opt = 'X'.
  
  * Disabling selection column
  ls_layout-sel_mode = 'A'.
  ls_layout-no_rowmark = 'X'.
  
  * setting layout
  lo_alv_grid-&gt;set_frontend_layout( is_layout = ls_layout ).
  
  * refresh ALV
  lo_alv_grid-&gt;refresh_table_display( ).
  </code></pre>