03-21-2006 2:02 PM
Hi,
I need to convert a text file and get the spool id of the text file.
And is it possible to convert the text file to abapspool and otf?
Please help me out.
Thanks,
Pavan.
03-21-2006 2:06 PM
the text file is present on the server. Now, upload the text file using a Z written program wherein u can write code to upload data and then send this data to spool list when executed...
03-21-2006 2:27 PM
I guess you can't convert to otf format.
The easiest way I think to convert the text file to spool: you upload the text file, then you send it to spool via submit.
Regards.
03-22-2006 10:57 AM
03-21-2006 2:53 PM
Hi Pavan,
You can upload the text file into a internal table, and write it on to the screen.
Before writing use <b>'NEW PAGE PRINT ON'</b>. which will Page break and redirection of output to the SAP spool.
Now, you can convert this spool to pdf using FM CONVERT_ABAPSPOOLJOB_2_PDF.
Regards,
Raj