Skip to Content
0
Former Member
Aug 01, 2016 at 07:02 AM

Employee Lookup (enhanced) - OData calls to $value@2 with failure

555 Views

Hi Folks,

I've extended the standard Employee Lookup (Wave 2) app but now I've noticed that when looking up employees I'm seeing calls to the following ...

<server>/sap/opu/odata/sap/HCM_EMPLOYEE_LOOKUP_SRV/EmployeeInfoSet('00004767')/$value

<server>/sap/opu/odata/sap/HCM_EMPLOYEE_LOOKUP_SRV/EmployeeInfoSet('00004767')/$value@2


In this example '00004767' represents a value personnel ID. In the above the call to $value returns a valid result (employee image) with a 200 return code, however the call to $value@2 returns 404 not found, and when I look in the Gateway error log it tells me 'Resource not found for the segment $value@2'.


I've looked in SAP's source code for the web app and cannot see where this $value@2 is coming from. I also can't see it coming from my own enhancements (which have been created via WebIDE). The @2 seems to be appended automatically somewhere.


Any ideas would be appreciated.


Regards


John