RENAMECOLUMN

How to rename columns in SAP ALV DISPLAY of type CL_SALV_COLUMNS_TABLE.

The columns can be renamed with the object of the class cl_salv_column_table. There are four methods available such as SET_SHORT_TEXT (), SET_MEDIUM_TEXT(), SET_LONG_TEXT and SET_TOOLTIP(). The method can be chosen based on our requirement of text length. DATA lr_salv_columns_table TYPE REF TO cl_salv_columns_table. DATA lr_salv_column_table TYPE REF TO cl_salv_column_table. DATA lv_short_text TYPE scrtext_s. DATA lv_medium_text …

How to rename columns in SAP ALV DISPLAY of type CL_SALV_COLUMNS_TABLE. Read More »

How to rename the column in the SAP ALV List through field catalog

The column names can be changed with the help of the fields REPTEXT, SCRTEXT_L, SCRTEXT_M and SCRTEXT_L of field catalog. If you wish to use only text of field ‘scrtext_l’, then fill the text only in this field ‘SCRTEXT_L’. The other texts can be ignored as the ALV takes the filled text automatically. FIELD-SYMBOLS: <ls_field_cat> …

How to rename the column in the SAP ALV List through field catalog Read More »