‎2008 Mar 06 3:00 PM
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?
‎2008 Mar 07 2:15 AM
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
‎2008 Mar 07 2:15 AM
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
‎2008 Mar 07 1:39 PM
Thanks for the response. I'll do some research on how to do an AVL grid or something. Thanks again!