title: Add/Change Column Name on Internal Table ALV
body: <p>What I need is to add titles to these two columns (highlighted in yellow) and I don't know how to do that.</p>
  
  <p><img src="https://i.stack.imgur.com/BEJ3g.jpg" alt="Columns without the titles"></p>
  
  <pre><code>FORM display_alv. 
      DATA: gr_functions TYPE REF TO cl_salv_functions.
      DATA: gr_display TYPE REF TO cl_salv_display_settings.    
      DATA: gr_columns TYPE REF TO cl_salv_columns_table.    
      DATA: gr_column TYPE REF TO cl_salv_column_table.    
      DATA: gr_sorts TYPE REF TO cl_salv_sorts.    
      DATA: gr_agg TYPE REF TO cl_salv_aggregations.    
      DATA: gr_selections TYPE REF TO cl_salv_selections.
  
      gr_functions = alv-&gt;get_functions( ).    
      gr_functions-&gt;set_all( abap_true ).
  
      gr_display = alv-&gt;get_display_settings( ).    
      gr_display-&gt;set_striped_pattern( cl_salv_display_settings=&gt;true ).    
      gr_display-&gt;set_list_header( 'Relatório RVs' ).
  
      gr_columns = alv-&gt;get_columns( ).    
      gr_columns-&gt;set_optimize( 'X' ).    
      gr_columns = alv-&gt;get_columns( ).
  
      gr_column ?= gr_columns-&gt;get_column( 'revenue' ).    
      gr_column-&gt;set_short_text( 'Revenue' ).    
      gr_column-&gt;set_medium_text( 'Revenue' ).
  
      alv-&gt;display( ).
  ENDFORM.`
  </code></pre>