Quantcast
Channel: SCN : Discussion List - SAP Fiori
Viewing all articles
Browse latest Browse all 1804

My Timesheet Extension : is it possible to to have new Calendar legend for Leave day

$
0
0

Hi Gents,

 

our requirement is to highlight calendar date as Leave day if employee was on leave in My Timesheet fiori App. From my initial investigation it seems that it can be achieved if we get leave details from existing/new service.

 

But on further analysis, i figured out My Timesheet version 2 has used sap.me.calendar & sap.me.calendarLegend library and calenderLegend can provide only nine types of legend which are

 

setLegendForNormal(sLegendForNormal)Sets a new value for property legendForNormal.

setLegendForSelected(sLegendForSelected)Sets a new value for property legendForSelected.

setLegendForSelected00(sLegendForSelected00)Sets a new value for property legendForSelected00.

setLegendForToday(sLegendForToday)Sets a new value for property legendForToday.

setLegendForType00(sLegendForType00)Sets a new value for property legendForType00.

setLegendForType01(sLegendForType01)Sets a new value for property legendForType01.

setLegendForType04(sLegendForType04)Sets a new value for property legendForType04.

setLegendForType06(sLegendForType06)Sets a new value for property legendForType06.

setLegendForType07(sLegendForType07)Sets a new value for property legendForType07.


and these legend types are already occupied.


I have looked into calendar library provided by sap.ui.unified.calendar.DatesRow & sap.ui.unified.CalendarLegend which seems to be providing more flexibility in using legends but if we take this change up the sap.me.calendar library to unified one, this amounts to be extensive effort to be done and probably new app development needs to be done.


Can anybody suggest how to incorporate legends for Leave day or Selected leave day with the existing library?

Please let me know for any clarification


Regards

Ravikant


Viewing all articles
Browse latest Browse all 1804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>