on 09-16-2010 9:30 PM
HI All,
Is there any way to have the calendar in CRM show from 7am-6pm instead of 8am-6pm? I can't seem to find a way to do this. Also can I change the week calendar to show Sunday-Saturday instead of Monday-Sunday?
thanks,
Tom
HI Hongyan,
Thanks for your help. It pointed me in the direction of the chtmlb tag for calendar_daily. It has a parameter of calendar_begin to give the starting time. Just wish the starting day for the week will be as easy.
Thanks,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tom,
Your info helps me a lot also.
Especially for your second question about start day of the week.
There is also an attribute for the chtmlb tag for dateNavigator: firstDayOfWeek.
When tracing this attribute, I found that in current standard system, this is effected by a badi.
Badi definition: CALENDAR_DEFINITION
Current standard implementation class: CL_ISO_CALENDAR_DEFINITION
method IF_CALENDAR_DEFINITION~GET_FIRST_DAY_OF_WEEK
coding is
weekday = if_calendar_definition=>c_monday.
You may try to change it to
if_calendar_definition=>c_sunday
Regarding your comments "Just wish the starting day for the week will be as easy", this requirement has been raised to product management team in 2008. But don't know when it will be realized. 😛
Hongyan
Where exactly do you make this change?
thank you
nancy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Susanta,
Thanks for the note. I just had to implement the enhancement spot from the note and then the calendar changed.
Regards,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tom,
For the time in the calendar day view, I made some analyzing, you may see that it is hard coded in
CL_CHTMLB_CALENDAR_DAY
IF_BSP_ELEMENT~DO_AT_BEGINNING
visible period of calendar (e.g. from 08:00 to 17:00 ).
CONVERT DATE me->reference_date TIME me->calendar_begin INTO TIME STAMP gv_calendar_begin TIME ZONE me->tzone.
CONVERT DATE me->reference_date TIME me->calendar_end INTO TIME STAMP gv_calendar_end TIME ZONE me->tzone.
It is hard coded to do it from 8 to 17.
Maybe you can see to it to see if any chance to change this.
Regarding show Sunday-Saturday, let me try to check tomorrow if I don't forget. 😛
Hongyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.