ALV

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 »

How to insert a new column in to the SAP ALV list

A new column can be inserted in to the SAP ALV list by adjusting the following two entities. Structure or Type of the table. New entry in the field catalog internal table. Structure or Type of the Table. A local type is created with the new column.               TYPES: BEGIN OF ty_contact.                                 INCLUDE …

How to insert a new column in to the SAP ALV list Read More »

How to hide the column of the SAP ALV List using Field Catalog field ‘NO_OUT’

The column can be hidden in the SAP ALV List using the field ‘NO_OUT’ of the field Catalog. This field value is set to ABAP_TRUE in order to hide the column. FIELD_SYMBOLS <ls_field_cat> TYPE lvc_s_fcat. LOOP AT lt_field_cat ASSIGNING <ls_field_cat> WHERE fieldname = ‘CONTACT_ADDRESS’. <ls_field_cat>-no_out = abap_true. ENDLOOP. The column can be shown once again …

How to hide the column of the SAP ALV List using Field Catalog field ‘NO_OUT’ Read More »