cancel
Showing results for 
Search instead for 
Did you mean: 

My Inbox - Date problem in "Manage My Substitute"

FabioBarbosa
Explorer
0 Kudos

Hello Experts!

I'm facing one more date problem but in this time the problem is on "My Inbox".

When I confirm the new substituition period on "Manage My Substitute", the start and end date selected are changed (date - 1).

I already applied the notes related to the date issue but the problem persists.

Could anyone help me to solve that issue???

My Inbox --> Manage My Substitutes

Adding a new Substitute - From 19/April to 20 April:

After save, the app shows a wrong date:

Notes applied:

- 0002136760 Task Gateway: Standardization of output of date and time -

- 0002221151 Release Information note for SAP Fiori MyInbox 2.0

- 0002261655 Fiori request status check app shows incorrect Date

- 0002261661 Fiori Check Request Status app shows incorrect Creation Date

- 0002138062 Task Gateway: Standardization of output of date and time

- 0002121433 My Inbox: Standardization of output of date and time

Thanks for all!

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fabio,

Please check the timezone setting in the Gateway server and ERP backend.

If it is same timezone setting, next step is checking the OData service call. Find where the value is changed. UI or Gateway or Backend?

Regards,

Masa / SAP Technology RIG

FabioBarbosa
Explorer
0 Kudos

Hi Masa!

The date changed in the UI. In the gateway and backend are ok!

Look the images below:

>Selected dates before save:

>After save the selected dates changed:

>In the gateway, the selected dates are ok:

Do you have any idea how I should proceed?

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fabio,

Please upload a screenshot of substitute display in SAPGUI.

If it is correct date in the backend the root cause is in UI side.

Regards,

Masa / SAP Technology RIG

FabioBarbosa
Explorer
0 Kudos

Hi Masa!

Follow the screenshot of substitute displayed in SAPGUI.

I already updated the My Inbox App to 1.6.16 version and the problem persists.

Do you have any idea how I should proceed?

Tks for all!!!

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fabio,

I see it is UI side issue. My Inbox 1.6.16 is the latest for 1.0.

How about SAPUI5 library version?

Regards,

Masa / SAP Technology RIG

former_member225463
Participant
0 Kudos

Hello Fabio,

Try using a date format as mentioned below :

var oDateFormat = sap.ui.core.format.DateFormat.getDateInstance({

  style: "long",

  pattern: "yyyy-MM-ddTKK:mm:ss"

  });

and send it to the backend system, you will get the exact date which you are sending from UI .

Regards,

Vikash

FabioBarbosa
Explorer
0 Kudos

Hi Masa, the version of UI5 library is 1.28.22.

I discovered that it happens because the odata the date in a different timezone of my computer.

So when it's load on the browser the browsrer calculates a different date.

That problem was occuring in the Purchase Contract App, and after applying a specific sap notes it was solved. Now, I'm trying to find a new sap notes to fix it as well.

FabioBarbosa
Explorer
0 Kudos

Hi Vikash, thanks for your help.

But I'm trying to find a standard solution, like a sap notes.

I can't customize that application by now.

Thanks for all!!

gopi_nidjelli2
Participant
0 Kudos

Hi Fabio ,

         did you resolve the issue? We are facing the same issue. Any help would be appreciated.

Thanks

Gopi

Answers (1)

Answers (1)

0 Kudos

Hi Fabio,

We are facing the same issue , did you resolve this issue so far?

Many thanks,

Dong