Skip to Content
author's profile photo Former Member
Former Member

Error starting fiori Approve Leave Request v2

Hi experts,

we are facing an error where starting Approve leave request v2 fiori.

Recently we have upgraded Gateway component UIHR001 to SP3 and backend component GBX01HR also to SP3. After upgrade following error appears in all browsers when trying to open ALR fiori:

The problem is that when detail view try to get data the URL is not ok, var RequesterName name and surname is concatenated with comma: RequesterName='SURNAME1 SURNAME2, NAME'

This is the URL called in the following way:

/sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet(RequestId='0050568A44B81EE5A5EC5B8B1C0F9A84',RequesterName='SURNAME1 SURNAME2, NAME',RequesterNumber='00000033',StartDate=datetime'2015-12-01T00:00:00',EndDate=datetime'2015-12-01T00:00:00')?sap-client=200

So URL call is not correct. This fiori is not enhanced, does anyone knows what is happening? Is there a note for this error? We don´t have seen any for this in SP3.

Any help will be really appreciated.

Thanks in advance.

error1.gif (23.9 kB)
error2.gif (11.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 04, 2016 at 10:22 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 18, 2016 at 11:43 AM

    The code splits the parameters by comma, and the firstname and lastname are concatenated by comma! In order to have a working FLP I made an enhancement in the backend in the service implementation of LeaveRequest-getEntitySet replacing comma with ; (or whatever you like) for requestername. I couldn't find a SAP note for this, but it must be a bug.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Not SAP note exists for this issue in this SP-Level. It is a frontend javascript code error. Finally we had to modify standard code, our javascript expert added an encode function in order to codify special charachters to be able to use it in the URL.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.