cancel
Showing results for 
Search instead for 
Did you mean: 

How to display icon with text in list UIBB Column

Former Member
0 Kudos

Hi Experts,

I have requirement to show text along with ICON in a column of list uibb as per attached screen shot. Please help me with your inputs to achieve my requirement.

Accepted Solutions (0)

Answers (1)

Answers (1)

Aliaksandr
Active Participant
0 Kudos

Hi S gowda,

Just to clarify on your screen shot is Tree UIBB. It can be defined by full stop symbol before icon.

In any case for your requirement in List UIBB you can try to use IMAGE_REF field of ET_FIELD_DESCRIPTION parameter (IF_FPM_GUIBB_LIST~GET_DEFINITION method).

Kind regards, Aliaksandr.

Former Member
0 Kudos

Aliaksandr,

I'm using List UIBB and have already implemented this logic, but its not working. Please find my code below and let me if any correction needed. In FPM I designed column attachments with type Textview.

   ls_field_des-name        = 'ATTACHMENTS'.

   ls_field_des-text_ref     = 'FILE_NAME'.    " Field Name

   ls_field_des-image_ref = 'SRC_IMG'.       " Field Name

   APPEND ls_field_des TO et_field_description.

Aliaksandr
Active Participant
0 Kudos

Hi S gowda,

I have tried to implement required scenario and it looks like that this is impossible. As a variant you can separate this column on two: icon and file name. Also you can try to implement such requirement in TREE UIBB (as on your screen shot) if attachments is the first column.

Kind regards, Aliaksandr.