title: ABAP Display field symbol dynamic in alv
body: <p>I am pasting this program for example but i will never know the type of the table (here vbap and vbak).</p>
  
  <p>My goals is to display my field symbol without knowing the types.</p>
  
  <p>Is it possible ?</p>
  
  <p>Here is my code :</p>
  
  <pre><code>REPORT  ZTEST_FME_FOL.
  type-pools slis .
  FIELD-SYMBOLS : &lt;mytable&gt; TYPE ANY TABLE.
  
  DATA :  lv_alv_table  TYPE REF TO cl_salv_table,
    lv_funct TYPE REF TO cl_salv_functions,
    lv_columns TYPE REF TO cl_salv_columns_table,
    lv_column TYPE REF TO CL_SALV_COLUMN_table.
  
   SELECT * from vbap INNER JOIN VBAK ON vbap~vbeln = vbak~vbeln UP TO 10 ROWS INTO TABLE &lt;mytable&gt;.
  
  
  TRY.
   cl_salv_table=&gt;factory(
  IMPORTING
    r_salv_table = lv_alv_table
  CHANGING
    t_table      = &lt;mytable&gt; ).
  CATCH cx_salv_msg .
   ENDTRY.
    lv_funct = lv_alv_table-&gt;get_functions( ).
   lv_funct-&gt;set_all( Abap_True ).
   lv_columns = lv_alv_table-&gt;get_columns( ).
   lv_alv_table-&gt;display( ).
  </code></pre>
  
  <p>Thanks in advance !</p>