Application Development 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: 

ABAP SAPHTML_DEMO1 : Display PDF on Applicatrion Server

Former Member
0 Kudos

Hi everybody,

the ABAP SAPHTML_DEMO1 can be used to display a PDF if you input the path/folder to a local pdf-file.

Could this be also used if the file is on the application-server?

How has the path to look like for a PDF on the applocaiton server?


Thanks

Regards

Mario

3 REPLIES 3

former_member202818
Active Contributor
0 Kudos

Hi,

To access file from application server u can use OPEN DATASET statement.

Read the file and display it.

Regards

Sreekanth

0 Kudos

HI Sreekanth,

sorry, this is not what I asked for.

Regards

SimoneMilesi
Active Contributor
0 Kudos

i tried to upload a pdf file on my system and then called the report, passing the file address but it doesn't work.

i checked a bit the code under the hood and i see that an "SAPR3" object is managed (method GET_URL_ATTRIBUTES of class GET_URL_ATTRIBUTES).

Maybe you can start from this point for further investigation.


BR