10-01-2008 9:16 AM
Hi,
I have a requirement to capture spool job and sending it to file.
I am retrieving the output of one spool request and sending it to a file using 'TRANSFER' statment in a loop.
it is taking too long time to complete this process..
is there any other way to, dump the buffer to a file at one instance?
Plz help me
10-01-2008 7:29 PM
Try to create the file using FTP:
call function 'FTP_COMMAND'
exporting
handle = hdl
command = cmd
tables
data = result
exceptions
tcpip_error = 1
command_error = 2
data_error = 3.
10-01-2008 7:36 PM
Hi,
Try to use FM - CONVERT_ABAPSPOOLJOB_2_PDF
ot similar Fms
RSPO_DISPLAY_ABAP_SPOOLJOB
RSPO_RETURN_ABAP_SPOOLJOB
RSPO_RETURN_ABAP_SPOOLJOB_RAW
Thanks,
Sree.