Question:
Hi,
I have TLIGHT field in my T_MAIN internal table.
I have given -
RS_LAYOUT-Lights_fieldname = 'TLIGHT'. "To show the traffice light.
RS_LAYOUT-Lights_tabname = 'T_MAIN'. "To show the traffice light.
It's showing RED traffic light for all the records.
How to change the colour on the basis of T_MAIN-GBSTA (like VBUP-GBSTA)
Kindly assist.
Thanks,
MRCABAP
Answer:
Hi,
Loop through T_MAIN and change the TLIGHT value based on your comparison.
_________________
Kind Regards,
Ron Johns
Answer:
Thanks Bucka for the reply, but RS_LAYOUT-Lights_fieldname is a parameter to which we can assign the field name, where can we assign the color code e.g if gbsta = c, light = green else light = red.
Also, my traffic light is showing only RED and GREY balls, not GREEN and YELLOW !
Kindly assit.
Thanks,
MRCABAP