Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of text to spool id

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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...

Former Member
0 Kudos

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.

0 Kudos

Hi,

Can u more specific.

Thanks,

Pavan.

Former Member
0 Kudos

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