cancel
Showing results for 
Search instead for 
Did you mean: 

show traffic light in FPM

Former Member
0 Kudos

Hi Expert,

I can display the green, red, yellow light according value of variable in ALV List. Could I do the some in Floorplan Manager? Pls give some input, thanks in advance.

Yinxiao

Accepted Solutions (0)

Answers (2)

Answers (2)

AbhishekSharma
Active Contributor
0 Kudos

Hi,

You can use image_ref component of fpmgb_s_listfield_descr structure and defined it in the GET_DEFINITION method.

CLEAR ls_field.

   ls_field-name = 'PREVIEW'.
   ls_field-image_ref = 'IMAGE_URL'.

   APPEND ls_field TO et_field_description.

   CLEAR ls_field.
   ls_field-name = 'IMAGE_URL'.
   ls_field-visibility = 01.
   APPEND ls_field TO et_field_description.

Hope this will solve your problem..

Thanks-

Abhishek

harsha_jalakam
Active Contributor
0 Kudos

Hi Liang,

I guess traffic light display type field is not available in list guibb. Instead Image display type can be used so that we can give information to users in similar to traffic lights.

Regards,

Harsha

Former Member
0 Kudos

thanks for reply, Harsha. It is very helpful. could you show me, how could I use SAP icon as image source?

thanks