ICON_D

How to fill icons in SAP ALV Display of type CL_SALV_TABLE

In order to fill icons in ALV Table, we must add an additional field of type ICON_D. The type ICON_D is of datatype CHAR with length 4. This is later filled with the icon code. Step1: Define the icon field TYPE-POOLS: icon. TYPES: BEGIN OF ty_contact.                   INCLUDE STRUCTURE ztt_db_table2.                   TYPES: icon_field …

How to fill icons in SAP ALV Display of type CL_SALV_TABLE Read More »

How to display icon in SAP ALV cell

There are three important steps involved in displaying icon in the ALV cell. Extension of Internal table with the additional field ICON_D. Filling the icon field to the records of ALV table. Assignment of field ‘ICON’ to field catalog. Extension of Internal table with field ICON_D. TYPES: BEGIN OF ty_contact.                             INCLUDE STRUCTURE ztt_db_table2.                             …

How to display icon in SAP ALV cell Read More »