Skip to Content
Former Member
Jun 05, 2008 at 12:37 PM

Problem when converting from spool to XLS file



I need to get table data from the spool and send it by mail in an xls file.

so this is what i have done:

I have used the FM 'RSPO_RETURN_ABAP_SPOOLJOB' to get the data table from the spool.

then i am sending the data table in an xls file via the FM 'SO_DOCUMENT_SEND_API1'.

the problem is that the xls file that i am getting through the mail is defected.

All the contents of the spool is located in the first row, first column.

How can i fix it?

Thanks, Barak.