cancel
Showing results for 
Search instead for 
Did you mean: 

MSS Team Calendar - Different colors for leave types

Former Member
0 Kudos

Hi,

I have a requirement to show different colors for different leave types(Red for sick leave, Green for annual leave etc) in Team Calendar in MSS. I have searched all forums but could not find this type of requirement. Can you please give me your valuable pointers?

Kind regards.

Syam.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Syam,

check the badi PT_ABS_REQ

This is the documentation from SPRO for that badi

BAdI: Control Processing of Leave Requests

Use

This Business Add-In (BAdI) is used in the Attendances and Absences component (PT-RC-AA). You can use it for the following Web applications:

Leave Request: To control processing of leave requests

For more information, see the Implementation Guide (IMG) for Personnel Management -> Employee Self-Service.

Team Calendar: To set the layout of the team calendar in Manager Self-Service (MSS) and Employee Self-Service (ESS)

Time Accounts (ESS): To determine time accounts

Attendance Overview (MSS): To adjust the legend

Standard settings

The Business Add-In is active in the standard system. The default source code is processed automatically.

Methods:

Simulating and updating quotas

Simulate Attendances/Absences with BLoP

Post Attendance/Absence Types with BLoP

Checking periods

Check Request Date According to Subtype

Controlling the processing process

Gets Customizing for Workflow

Determining time accounts

Gets Time Accounts from Infotype 0005

Determine Time Types as Time Accounts

Determines MOD and QTYPE for Func.Module HR_GET_QUOTA_DATA

Layout of the application

Gets Customizing for Field Selection

Adjust Colors of Calendar and Team Calendar

Adjust Color for Overlapping Absences

Adjust Legend for Calendar and Team Calendar

Adjust Legend for Availability Overview

Enrich Team Calendar

Activities

Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Thanks

Bala Duvvuri

Edited by: Bala Duvvuri on Jun 22, 2010 10:47 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

We realized it is not possible to change the color based on leave types but only status of leave. So decided to develop it using Gantt charts and webDynpro-Java

Thanks for your help

Edited by: syam thupurani on Jul 27, 2010 6:06 PM

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

IF_EX_PT_ABS_REQ~SET_CALENDAR_COLOR#

Adjust Colors of Calendar and Team Calendar, I think you are aware

of this!