Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

File Access

Former Member
0 Likes
733

Hi All,

I have to get to images stored on server outside the SAP landscape.

The urls start with file://... via a browser the files are accessible,

from within SAP they are not. Am I overlooking something?

I tried to use http_get and similar function modules already.

Can somebody of you please point me in the good direction?

Thanks,

Koen

3 REPLIES 3
Read only

AlessandroSpadoni
Contributor
0 Likes
621

Hi Koen,

via browser it's your local pc that accesses the files, oterwise

via http_get or similar it's the Sap server;

you could try to check if Sap host is authorized to access the files

Read only

Former Member
0 Likes
621

Hi Keon,

First SAP should be able to access the images in the external server. To check that quickly, if you have ADS installed, goto SFP, create a test adobe form and place a Image UI element. In that, place the URL and see if you can see the image instantly.

I had a similar requirement where product SKU images were stored in different server and I had to read the images dynamically at runtime based on their size and display requirements. I binded the URL & SKU dynamically to read from the external server.

Thanks,

Santosh

Read only

0 Likes
621

Hi Santosh,

I am able to see the images in the sfp transaction, but when i want to dynamically generate the

document, I don't get the output.

In the logs there is mentioning of BASE64 conversion error, but so far I haven't found a solution to that.

Do you have a clue about this one?

Thanks,

Koen