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?
check the badi PT_ABS_REQ
This is the documentation from SPRO for that badi
BAdI: Control Processing of Leave Requests
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
The Business Add-In is active in the standard system. The default source code is processed automatically.
Simulating and updating quotas
Simulate Attendances/Absences with BLoP
Post Attendance/Absence Types with BLoP
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
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.
Edited by: Bala Duvvuri on Jun 22, 2010 10:47 PM