HI All,
I am working sap FIORI time entry version2. Users enter time in duration field as 7.5 and submit, dialog prompts stating confirm submission and press OK. The main screen shows up in Duration columns as 07:30 instead 7.5.
The question is when we enter time as 7.5 why SAP changing the format to 07:30 instead 7.5
I tried to make these changes and followed these steps:
1. Installed webide and imported the project, for safe side I have created dummy project and deployed and so far so good.
2. As per sap documentation , Extension Points in Views I have found 2 extension points view - S31.view.xml, controller -S1.controller.js .
3. looking at the view code , I did not see any thing other then XML tags and I don't think i can change any thing here to meet my requirement.
4. looking at the controller -S1.controller.js code, looks like there is so much logic in there to display the data on the UI, I think this is the place where text format is happening.
Need some input, to make the changes on the UI :
from the S1.controller.js code, How do I find the duration column, what corresponding field mapped to the back end column. looking at the underlying service HCM_TIMESHEET_MAN_SRV , the filed may be CATSHOURS .
can some one can look at the attached S1.controller.js code and help me where is the right spot to make that field (Duration) format changes?
Tried to debug in webIDE but not much luck. Any help would be grateful, Attached the screenshots.
Thanks
Krishna