on 11-30-2015 3:24 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please mark this Discussion with a Correct Answer (closes, but does not lock the Discussion) and Helpful Answer where appropriate. See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.
Do not use Assumed Answered as it confuses anyone looking for the specific answer. If you dig into the Getting Started link (top right of each SCN page), you are only instructed to mark Helpful or Correct Answers to Discussion responses.
Thanks, Mike (Moderator)
SAP Technology RIG
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.