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

Module Pool

Former Member
0 Likes
430

hi Gurus,

How to give color to a particular ROW in Table Controls

3 REPLIES 3
Read only

Former Member
0 Likes
408

i dnt think so it can be done?

you cant give colors in table control

Read only

Former Member
0 Likes
408

Refer to the below related threads...

Regards,

Santosh

Read only

Former Member
0 Likes
408

Hi,

In your PBO, inside your Loop, you need to loop at your screen and change the value of SCREEN-INTENSIFIED to "1".

Check the sample code.

LOOP AT itab WITH CONTROL tc4_400 CURSOR tc4_400-current_line.

MODULE check_rej_hld_400.

MODULE radio_checkbox_400.

ENDLOOP.

DATA : l_stf TYPE i.

DATA : l_hyd TYPE i,l_knr TYPE i.

l_hyd = 1.

LOOP AT SCREEN.

IF screen-name = 'ITAB-BATCHNO'.

IF itab-group = l_hyd. " this is group

screen-intensified = 1.

MODIFY SCREEN.

ELSEIF l_knr = l_stf.

screen-intensified = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

ADD 2 TO l_hyd.

Regards,

Raj.