on 04-09-2009 3:30 PM
Hello Everyone,
I am attempting to adjust the team calendar colors in Leave Request using the method TEAM_CALE_ENRICHMENT of BADI CL_PT_ARQ_REQ. When I set the LegendID field of table CH_CALENDAR_TAB, I am getting a small white box in the Web Dynpro Team Calendar View. Does anyone know how to get the Team Calendar to not show this box and to correctly show the color? I noticed a post from a couple of years ago with this same topic, but no solution was entered.
https://forums.sdn.sap.com/click.jspa?searchID=24695594&messageID=4366488
Also, I was successfuly in adjusting the colors of the calendar (not team calendar) using the method SET_CALENDAR_COLOR.
Any ideas on how to properly change colors in the Team Calendar?
Best Regards,
Scott
In the method IF_EX_PT_ABS_REQ~SET_CALENDAR_COLOR you specify what
color do you want.This will be with respect to the Legend.
And in the method IF_EX_PT_ABS_REQ~SET_CALENDAR_LEGEND_COLORS you
specify what color the legend specifies. This is set with respect to
RED,GREEN,BLUE. Combining this three basic colors the
rest of the color can be produced.
There are 16 colors. Please go through the class CL_PT_REQ_CONST.
For Eg: You want to display the Annual leave in the color with respect
to the legend C_COLOR_STANDARD. Then in the method
IF_EX_PT_ABS_REQ~SET_CALENDAR_LEGEND_COLORS you specify in the internal
table ch_legend_tab the exact color of
ch_legend_tab-COLORRED = C_COLOR_STANDARD_R.
ch_legend_tab-COLORBLUE = C_COLOR_STANDARD_G
ch_legend_tab-COLORGREEN = C_COLOR_STANDARD_B
ch_legend_tab-LEGENDID = C_COLOR_STANDARD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.