cancel
Showing results for 
Search instead for 
Did you mean: 

No image URL is coming

former_member1193316
Participant
0 Kudos

Hi,

Dear SDNers,

I used a FM 'HR_ESS_WHO_PROG_GET_PICT_URI' to fetch the employee image. Here the export parameter URI is giving blank when I used it in NWDS using ARFC.

But in R3 its displaying correctly.

In NWDS, I couldnt able to see its value, but the size of the node is displaying correclty. If bind this url to image, image should display. I Binded it, even though,its not displaying.

Kindly let me know what might b the proble/m?

Regards,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Hi

Check the url of the image that you are passing.

most probably it is related with the URI only.

try to execute the FM in the banckend and see if the image is getting displayed properly.

thanks

sarbjeet singh

former_member1193316
Participant
0 Kudos

Hi Sarbjeet,

In ARFC, URI Itself is blank. But in R3, I can able to execute it and I m getting this URI link too...

Not coming in WDJ application...Its coming I blive, but I couldnot able to see it..record is saving in a table which I declared in WDJ. but I couldnt able to see image and even I i display this URI as a text also, its not displaying...

Former Member
0 Kudos

If that RFC is a ciustom RFC,

Split the URI into 2-4 attributes of length 255 chars each...

You can bind that in the Java code...

Try this...

former_member1193316
Participant
0 Kudos

Hi Hanif,

This is not the Custom RFC. Its SAP Standard one. Even URI is not displaying in a textview. its blank. I binded it to table, table is filled..but i can see nothing in the table.

Even string of the length its giving is zero. I tried by spliting it... its giving some junk values like [Ljava.lang.String;@24325c59

Thanks,

Venkat

___________

former_member1193316
Participant
0 Kudos

Dear Users,

Now I changed my FM to HRMSS_RFC_EP_READ_PHOTO_URI. Here I m getting error message in the table like You do not have authorization for this function

But the pernr which I m using is having SAP_ALL. Even though its not working.

Kindly let me know which roles or profiles need to assign other than that.

No body knows the solution for this?

Regards,

Venkat

Answers (1)

Answers (1)

Former Member
0 Kudos

Please try printing the URL binded from the model attribute...

Sometimes it can be that, RFC wont return the complete URL String.

Please test that.

Regards,

Hanif