Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8122

Re: How to show traffic lights on push button in ALV Grid?

$
0
0

Hi,

 

for a button with traffic light icon you need a field in your field catalogue with

 

  • data element ICON_L4 or other data element for domain ICON
  • value for ICON set to 'X'
  • value for HOTSPOT set to 'X'
  • value for STYLE set to CL_GUI_ALV_GRID=>MC_STYLE_BUTTON

 

The values for the traffic light fields are ICON_GREEN_LIGHT, ICON_YELLOW_LIGHT and ICON_RED_LIGHT.

 

For access to TYPE-POOL ICON please add the folowing line to your code:

 

TYPE-POOLS: icon.

 

Regards,

 

Klaus


Viewing all articles
Browse latest Browse all 8122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>