How to submit internal table to SAP Spool

Question: Dear fans,
Any idea how to submit the entire internal table to the spool? Is there any parameter within the SAP-SPOOL submit function that i can pass my internal table to the spool?

Please advice.

Thanks.

Cheers,
Andrew

Answer:
erm...

loop at itab assigning <workarea>.
  write:/ <workarea>.
endloop.

run the program in background, and hey presto - it's on the spool.

Or did you mean something else?

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:
If in Foreground, I think FM GET_PRINT_PARAMETERS followed by your write statements will do...


Hope this helps.

-incuboy
_________________
I dig my toes into the sand,
the ocean looks like a thousand diamonds
strewn across a blue blanket...
-wish you were here by incubus-

\m/
Copyright ?2007 - 2008 www.jt77.com