Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Color Code Cell Inside Table Control

Former Member
0 Likes
948

Is there a way I can change the color of the text inside of a cell that is inside of a table control? I read that I can use the Screen attibutes to do that, but I can't seem to get it to work. I can make it turn blue by setting the Intensified to 1, but I want other colors. Here is what I got so far:

If wa_ZrecvReport-QtyScan < wa_ZrecvReport-QtyShip.

Loop At Screen.

If ( Screen-Name = 'WA_ZRECVREPORT-MATNR' ) Or

( Screen-Name = 'WA_ZRECVREPORT-MEINH' ) Or

( Screen-Name = 'WA_ZRECVREPORT-QTYSCAN' ) Or

( Screen-Name = 'WA_ZRECVREPORT-QTYSHIP' ) Or

( Screen-Name = 'WA_ZRECVREPORT-UPC' ).

Screen-Color = 4.

Screen-Intensified = 1.

Modify Screen.

EndIf.

EndLoop.

EndIf.

This is inside of a PBO module. Is this possible? Or is blue the only color you can make it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

Yup, boring old "intensified" is all you are going to get in the standard dynpro elements. A grid control or HTML control can bring technicolour to your day.

Jonathan

2 REPLIES 2
Read only

Former Member
0 Likes
520

Yup, boring old "intensified" is all you are going to get in the standard dynpro elements. A grid control or HTML control can bring technicolour to your day.

Jonathan

Read only

0 Likes
519

Thanks for the response. I'll do some research on how to do an AVL grid or something. Thanks again!