Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10449

Re: How to display the images in webdynpro ....?

$
0
0

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.


Viewing all articles
Browse latest Browse all 10449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>