Skip to Content
avatar image
Former Member

Send spool as body of email rather than attachment

Hi gurus,

We have a requirement to send the spool output of some background jobs in the body of the e-mail, rather as an attachment. In scot, I manipulated the settings such that the attachment can come as html or as text, but whatever I do, it always comes as an attachment. How can I get the spool to display in the main body of the e-mail rather than as an attachment?

Warm Regards,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 29, 2014 at 04:31 PM

    Hi Clifton,

    if you got a spool itself, I don't think it is possible to send it not as an attachment.

    You have to collect the informations in another way, perhaps as SO10-Text while processing your jobs.

    After collecting append a new step to the job and you can create a program which reads the so10 text and pass it to the body of your mail.

    Therefore you just need to make yourself familiar with class cl_bcs.

    Here is a example wiki of using it:

    Send email from ABAP with class CL_BCS - Code Gallery - SCN Wiki



    Add comment
    10|10000 characters needed characters exceeded