07-10-2015 6:30 AM
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
07-10-2015 1:06 PM
Hi,
To access file from application server u can use OPEN DATASET statement.
Read the file and display it.
Regards
Sreekanth
07-10-2015 1:31 PM
07-10-2015 1:58 PM
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