cancel
Showing results for 
Search instead for 
Did you mean: 

Leave approval overlap calendar starting in sunday

Former Member
0 Kudos

Hi all Fiori experts,

     we have implemented Approve Leave request fiori in two different backends, both conected with the same frontend (gateway) but in different clients. 

     The problem is that when the app shows employee overlaps one client is showing calendar starting on sunday and the other in monday.  This not make sense to us, SAPUI5/javascript code is the same in both clients due they are in the same machine.  So this should be machine/user dependency?

     Overlaps starting on sunday is not correct for us and data is not ok because fiori is showing monday leave requests on sunday.  You can see in screenshots.

     Does anyone know the solution for this issue?

Thanks in advance,

Abel.

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Interesting problem:

Is it possible that system time zones of both the backends are different?

Goto System->Status and check the system time in each of the systems.

Anyway it has to be a bug. Did you check all backend notes for the app are implemented?

Former Member
0 Kudos

Hi Krishna,

     yes we have all notes applied for overlaps and system time zones are the same: WET.  I agree with you, It seems to be a bug.

     We are trying to change javascript code and set variable firstdayoffset=1 but it is not working anyway.

Thanks.

Former Member
0 Kudos

Any idea?  I think we are going to open message to SAP.

Answers (3)

Answers (3)

jzeifang
Participant
0 Kudos

Hi,

SAP note 2333978 has solved the problem for us. After implementing the note the UI5 model caches (transactions /IWBEP/CACHE_CLEANUP and /IWFND/CACHE_CLEANUP) and the browser caches must be deleted.

Best regards,

Jürgen

Former Member
0 Kudos

Ok, error detected. problem is due timezone.  In Spain summer hour change will be done on Sunday 27 at 02:00, one hour will be added.

So the question is, why two standard fiori (approve leave request + my team calendar) are not showing data ok? Absences on Monday 28 are displayed on Sunday 27 and so on.  It is just in this week, if you for example display two overlapped employees in leave approval fiori for April all is ok.

So yes it seems to be a bug, but no notes for our level, SP 003 in fronted, I just saw note for SP00.

Any help before oppening message to SAP?

jzeifang
Participant
0 Kudos

Hi Abel,

we have exactly the same issue.

Did you already create a message for SAP? Or did you receive any other solution for this?

Thanks!

Best regards,

Jürgen

former_member182874
Active Contributor
0 Kudos

Hi Abel,

What is the version of app. v1 or v2 ?

BR,

Tejas

Former Member
0 Kudos

Hi Tejas,

     it is v2.  Our component level are in backend GBX01HR 600 SP 0003 and in frontend UIHR001 100 SP 0003.

  The case is that we have realized that for some employee requests overlap calendar is ok and for other is not ok.  This is in the same backend. 

     We are analyzing calls to backend methods called from gateway (get_entity, get_entityset and TEAMCALENDARSET_GET_ENTITYSET) for this different employee requests but we are not able to see any difference between calls.

Thanks.