10-23-2009 1:40 AM
10-23-2009 5:57 AM
Hi,
You can use OPEN DATASET, TRANSFER statements to write the file contents to application server. Use hexadecimal string variables.
10-23-2009 3:53 AM
Hi Karthikeyan,
If you have PDF internal table with you, You can follow the below method to upload into Unix directory.
Thanks
Venkat.O
DATA:file_path TYPE char100 VALUE '/usr/sap/tmp/rep_out.PDF'.
OPEN DATASET file_path FOR OUTPUT IN BINARY MODE.
IF sy-subrc EQ 0.
LOOP AT it_pdf.
TRANSFER it_pdf TO file_path.
ENDLOOP.
ENDIF.
CLOSE DATASET file_path.
10-23-2009 5:57 AM
Hi,
You can use OPEN DATASET, TRANSFER statements to write the file contents to application server. Use hexadecimal string variables.