Skip to Content
0

Employee lookup App is not displying employee photo

Oct 17, 2016 at 08:44 AM

121

avatar image

Hi All,

we are implemented Employee lookup app where we are not able to see employee photo.

we have installed :

UIHR001 100 0005

GBX01HR5 605 0003

Kindly help us with this we are getting employee-lookup.jpg screen.

Regards,

Trilochan

10 |10000 characters needed characters left characters exceeded

Hi there

It's the "/$value" URL addition that fetches the photo, for example

https://server:port/sap/opu/odata/sap/HCM_PEOPLE_PROFILE_SRV/EmployeeDataSet('00001703')/$value

Try an external break-point in class CL_HCM_PHOTO_API method GET_EMPLOYEE_PHOTO and see what's happening there.

Regards,
Thomas

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Krishna Kishor Kammaje
Oct 17, 2016 at 08:45 AM
0

Trilochan, Do you see employee photo in Windows GUI? Also check any error you are getting in F12 (Developer tools)

Share
10 |10000 characters needed characters left characters exceeded
Trilochan Bagauli Oct 17, 2016 at 12:30 PM
0

hi,

i can see the photo in PA30 for that user and HR consultant also confirms that they have maintained the photo for PERNR.

i have observed one thing in OData result: /sap/opu/odata/sap/HCM_EMPLOYEE_LOOKUP_SRV/EmployeeInfoSet('00001703')

there is no value for PhotoUrl.

Regards,

Trilochan


odata-result.jpg (102.6 kB)
Share
10 |10000 characters needed characters left characters exceeded