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

Function Modules

Former Member
0 Likes
586

Hi,

What r the function modules to be used to save the pdf file stored in application server directory to desktop.

I think I can't use Gui_download.

Using open dataset for input , I could display the output in the zunk character form , but I need the pdf file should be saved on desktop i.e., presentation server. So what fm can I use?

Rgds,

khadeer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

You can use GUI_DOWNLOAD

and the File type you should mention as 'BIN'.

First get the Content from Applserver and move to Internal table of type TLINE

and then use GUI_DOWNLOAD with the intenal table , file type as 'BIN'. give the file name *.pdf

4 REPLIES 4
Read only

Former Member
0 Likes
564

You can use GUI_DOWNLOAD

and the File type you should mention as 'BIN'.

First get the Content from Applserver and move to Internal table of type TLINE

and then use GUI_DOWNLOAD with the intenal table , file type as 'BIN'. give the file name *.pdf

Read only

Former Member
0 Likes
563

Hi Khadeer.

I would like to suggest,

Transaction CG3Y - For transfering your file from Application Server to Presentation.

Or

Function Module -

SALV_WD_EXPORT_PDF

Hope that's usefull.

Good Luck & Regards.

Harsh Dave

Read only

Former Member
0 Likes
563

Hi Khadeer,

Plz Refer to the link:

http://www.erpgenie.com/abap/functions.htm

With luck,

Pritam.

Read only

Former Member
0 Likes
563

hi check this...

use function module CG3Y it is the best i hope