How we can customize appoint. calendar for the activity (task) for follow goal:
If user set status 1 - in the appointment we must see 'green' task
If user set status 2 - in the appointment we must see 'red' task.
in other words we have to set color in the appointment depend from status of the tasks.
How we can do this?
We too have a similer requirement, where we need to set the color of an appointment in sap crm web ui calendar.
If the appointment is in future it's color should be let's say Yellow.
If the appoint is completed its should be in Green.
If the appointment is missed and over due it should be in Red.
Can you suggest me how we can achieve this? Thanks
Hi Denis Khveshchenik,
I found one solution for this issue. I enhanced calendar_daily tag element handler class CL_CHTMLB_CALENDAR_DAY.
I added post exit for RENDER_APPOINTMENT( ). In that post-exit i used color attribute of appoinment value as background color.
IF NOT is_appointment-color IS INITIAL.
CONCATENATE '<div style="background-color:' is_appointment-color '">' rv_html '</div>' INTO rv_html.
Now its working fine.