2007 Dec 28 5:35 PM
Hi Gurus,
I have a requirement where I need to convert spool to pdf and create a file on application server.program will run in background.Now I know how to convert spool to pdf.But by using OPEN DATASET AND TRANSFER DATASET is it possible to create a PDF file on application server.
Points will be rewarded for helpful answer
2007 Dec 28 5:40 PM
You can directly transfer the data. The only thing is OPEN DATASET in BINARY MODE.
*Downloading PDF file to Application server
open dataset wf_filename for output in binary mode.
loop at tb_lines.
transfer tb_lines-tdformat to wf_filename.
transfer tb_lines-tdline to wf_filename.
endloop.
Regards,
Abhishek
Hi Gurus,
I have a requirement where I need to convert spool to pdf and create a file on application server.program will run in background.Now I know how to convert spool to pdf.But by using OPEN DATASET AND TRANSFER DATASET is it possible to create a PDF file on application server.
Points will be rewarded for helpful answer
2007 Dec 28 5:40 PM
You can directly transfer the data. The only thing is OPEN DATASET in BINARY MODE.
*Downloading PDF file to Application server
open dataset wf_filename for output in binary mode.
loop at tb_lines.
transfer tb_lines-tdformat to wf_filename.
transfer tb_lines-tdline to wf_filename.
endloop.
Regards,
Abhishek
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |