2006 Oct 18 10:36 AM
Hi All,
I have a requirement to show alternate rows of table control with alternate colors.
Please help on this.
Thanks in advance.
Suri
Hi All,
I have a requirement to show alternate rows of table control with alternate colors.
Please help on this.
Thanks in advance.
Suri
2006 Oct 18 10:41 AM
2006 Oct 18 10:42 AM
2006 Oct 18 11:10 AM
hi,
in a tablecontrol_ (not a grid control) you have only two options for coloring fields:
1. They can be input or output only fields (SCREEN-INPUT = 1 or 0) i.e. the background is white or grey (by default settings in sapgui)
1. The fields can be normal or intensified (SCREEN-INTENSIFIED = 0 or 1) i.e. the foreground is black or red (by default).
regards,
Bus, R. A.
2006 Oct 18 11:42 AM
hi
good
go through this link
http://www.sapdesignguild.org/resources/Accessibility_Guideline_ABAP_external_Version.pdf
thanks
mrutyun^
2006 Oct 18 11:47 AM
Hi,
try below logic
IN PBO
LOOP AT INT_ZBKTC WITH CONTROL CTRL_1500
CURSOR CTRL_1500-CURRENT_LINE.
lv_index = CTRL_1500-CURRENT_LINE.
module alternate.
ENDLOOP.
module alternate.
if lv_index % 2 = 0.
loop at screen.
screen-input = 0.
modify screen.
endloop.
else.
loop at screen.
screen-input = 1.
modify screen.
endloop.
endif.
Regards
amole
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |