I am able to call an adobe form and output the file onto a local drive. How do I do the same thing, except send the file to an application server.
The code used to call the adobe form and send file to local drive is:
*Open Job
PERFORM pdf_jobopen.
*Call the Adobe Form
CALL FUNCTION pd_fm_name
EXPORTING
gt_p11d = gt_p11d
IMPORTING
/1bcdwb/formoutput = ls_formoutput.
*Close Job
PERFORM pdf_jobclose.
convert
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = ls_formoutput-pdf
IMPORTING
output_length = ld_length
TABLES
binary_tab = lt_data.
DATA: g_file TYPE string VALUE 'c:/temp/testlocal.pdf'.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = ld_length
filename = g_file
filetype = 'BIN'
CHANGING
data_tab = lt_data.