04-24-2009 5:55 AM
Hi,
In module pool,,,,,When I am displaying the Table Control......Suppose in some rows personnel no. is there and for the person who has exited from the company should be highlighted with red colour.
Please some code..
thanks..
04-24-2009 5:58 AM
Hi Jayasree,
I think I had a similar requirement to have a one column on a particular row
available for input where all other rows for that column were not. It took
me a while to figure this out but it was quite simple. I expect it will
work for colour changes too.
In Process Before Output
LOOP AT INTERNAL TABLE INTO WA WITH CONTROL TC
Call Module
END LOOP
In the module program the condition on which the colour change / input
status etc has to be changed using
IF condition = true
LOOP AT SCREEN
IF SCREEN-NAME = column name
Make your colour / input status change
MODIFY SCREEN
ENDIF
ENDLOOP
ENDIF
I hope this helps you.
Please search the forum before adding a new thread.
04-24-2009 6:10 AM
but here the prob is
it will highlight the full column,,but I need only the personnel number to be highlighted...
04-24-2009 6:00 AM
Hi,
PBO.
loop at table control.
module display-tabalecontrol.
endloop.
module table_control output.
read table t_display.
if t_display-field1 = 102.
loop at screen.
if screen-name = 'T_DISPLAY'.
"add logic to screen in diferenr color.
modify.
endloop.
end module.
Regards,
Prabhudas