cancel
Showing results for 
Search instead for 
Did you mean: 

Display employee photo on BSP page

Former Member
0 Kudos

Hi all!

I am trying to display a photo of employee that are already load(prel, hricolfoto) on BSP page.

as i understand first i need to get path to the photo and display it using <img src = "some_url"> tag.

however this tag needs specific file name as "image.jpeg"


i tried to get url of image SCMS_DOC_URL_READ but it does not return full url with image name.


can any Guru help me please?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182426
Active Contributor
0 Kudos

Use the FM HR_ESS_WHO_PROG_GET_PICT_URI to get the employee pic based on employee pernr. It will retunr the url of employee pic. that url you can pass to image parameter to display employee pic in your bsp application.

Former Member
0 Kudos

HR_ESS_WHO_PROG_GET_PICT_URI returns url without file name and bsp is not able to display the image.

is there any other way to display the photo of employee?

Former Member
0 Kudos

had to change retrieved url to get the image

Answers (0)