2008 Feb 20 8:05 AM
Hi,
I have created a ALV hierachy tree using FM:
REUSE_ALV_HIERSEQ_LIST_DISPLAY'
I need to change the default colors of the header and item.
Is it possible. Pls help
Thanks
Hi,
I have created a ALV hierachy tree using FM:
REUSE_ALV_HIERSEQ_LIST_DISPLAY'
I need to change the default colors of the header and item.
Is it possible. Pls help
Thanks
2008 Feb 20 8:09 AM
2008 Feb 20 8:11 AM
Hi,
You can have a look at the fields in the LAYOUT (parameter IS_LAYOUT) (SLIS_LAYOUT_ALV) table passed to play around with the color.
I have not done it myself, however it worth a try.
Cheers,
Aditya
2008 Feb 20 8:15 AM
Hi,
There is a variable (IS_LAYOUT-info_fieldname) that need to be passed in the mentioned fm to color the rows.
See the following documention on IS_LAYOUT.
Color:
info_fieldname:
value set: SPACE, internal output table field name
A whole list record can be colored individually using a color code in a column of the internal output table for the record. Assign the name of the field containing the color code to this parameter.
The internal output table field must be of type CHAR(3).
The code must have the following syntax:
'Cxy':
C = color (all codes must start with 'C')
x = color number ('1'-'9')
y = bold ('0' = off, '1' = on)
Note: the color of the key columns is not affected. Key columns can be colored at record or cell level using the complex coloring which is described in the next parameter COLTAB_FIELDNAME.
Pass the variable accordingly and you will get the result.
For more information there are a bunch of programs in developement class SLIS, get the appropiate program for ref.
To get the programs undel dev call SLIS, goto se80 giving dev class as SLIS, the tree structure contains programs under 'program'.
Hope this helps..
Thanks in advance.
Rgds,
Harikrishna
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |