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: 

How to download as a PDF file in application server

Former Member
0 Kudos

Hi

Is there any way to download a file as a PDF in application server.

Regards

Sathya

2 REPLIES 2

Former Member
0 Kudos

Please check below link for the solution

Former Member
0 Kudos

Hello,

You can use the Class CL_GUI_FRONTEND_SERVICES in which you'll have the Methods GUI_UPLOAD and GUI_DOWNLOAD using which you can download the File from the Application Server.

After that, you can call the FM "CONVERT_OTF" using which you can generate the PDF File. You can open the same PDF file using the Method CL_GUI_FRONTEND_SERVICES=>EXECUTE to which we'll have to pass the Name of the PDF File as parameter.

Thanks and Regards,

Venkat Phani Prasad Konduri