Hi,
Declare one attribute(Emp_image) with type as TOAURI-URI inside that node.
Then read that node, you will get the pernr
Then call the below function module where ever you want to display the employee image,
data image type TOAURI-URI.
CALL FUNCTION 'HR_ESS_WHO_PROG_GET_PICT_URI'
EXPORTING
PERNR = Pass your Pernr here i.e employee id
IMPORTING
URI = image
EXCEPTIONS
NOT_SUPPORTED = 1
NOTHING_FOUND = 2
NO_AUTHORIZATION = 3
INTERNAL_ERROR = 4
OTHERS = 5.
lo_el-emp_image = image.
Now set this image to that attribute.
Hope this will helpful to you.
Regards,
John.