cancel
Showing results for 
Search instead for 
Did you mean: 

Save PDF-file on the application server

0 Kudos

Hello experts,

I convert my Smartform to a PDF-File. I copied the code from Suresh Kumar Parvathaneni (REPORT zsuresh_test). At first, thank you Suresh Kumar for that!

Now, I would like to save the PDF-File on the application server and not local.

Could you tell me how to do this. Especially, where do I have to put the abap-code in the given code from Suresh Kumar.

I thank you very much for your help in advance.

With kind regards.

gokselin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, i am not sure abt which report u r talking so paste the code so we can help u.

any ways as suggested above u have to use dataset so search the sdn for solutions if u dont get then paste the code and we can help.

кu03B1ятu03B9к

Former Member
0 Kudos

Hi,

You can use the OPEN DATASET statment.

Probably you must be having an output table which you are downloading to the local machine.You can use the same and loop at it. and if the OPEN dataset returned sy-subrc 0, use the TRANSFER statment.

Remember the data will be binary for pdf. So you have to open the dataset in binary mode.

regards,

Advait