You can extend the My Team Calendar app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
Extending the view
You can add new tab in the navigation section.
To add a new tab in the navigation section of the view, the extensibility entities listed below are available on the different software layers. You have to extend each of these entities according to your specific business needs:
UI |
Back End/ABAP |
|||
---|---|---|---|---|
View |
Extension Point |
Design Time: Gateway Entity |
Design Time: Extension Include (in DDIC Structure) |
Runtime: Superclass/ Method to Be Redefined |
S1.view.xml |
mtc_IconTabFilterExtension |
HCM_TEM_CALENDAR |
HCM_S_TEAM_CALENDAR_INCL |
Superclass: CL_HCM_TEAM_CALENDAR_DPC_EXT Method: EMPLOYEECOLLECTI_GET_ENTITYSET |
UI Controller Hooks
To plug in and execute custom code, the following hooks are available in the controller code:
Controller |
Hook |
Use |
---|---|---|
S1.controller.js |
extHookChangeFooterButtons |
Allows you to add and change buttons for the view footer |
If there are additional UI controller hooks available in the controller code, you can add own code. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation .
Display of UI Controls
The following UI controls can be hidden on the app UI:
View |
Control ID |
Use |
---|---|---|
S1.view.xml |
FTC_PAGE |
Allows you to hide the Page Control |
idIconTabBarNoIcons |
Allows you to hide the Navigation Bar Control |
|
myPeersFilter |
Allows you to hide the My Peers navigation button |
|
myTeamFilter |
Allows you to hide the My Reports navigation button |
|
calendarScrollContainer |
Allows you to hide all the rendered calendar in the scroll container control |
|
loggedInUserCalendar |
Allows you to hide the logged in user calendar (the first calendar rendered) |
|
eventsPanel |
Allows you to hide the panel holding the second calendar displaying only employee events |
|
empWithEventsCalendar |
Allows you to hide the calendar holding just employee events |
|
calendarLegendVLayout |
Allows you to hide the calendar legend control |
|
filterFooterButton |
Allows you to hide the footer's filter button |
For more information about hiding UI controls, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .