cancel
Showing results for 
Search instead for 
Did you mean: 

Send spool as body of email rather than attachment

former_member197700
Participant
0 Kudos

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,

CM

Accepted Solutions (0)

Answers (1)

Answers (1)

Florian
Active Contributor
0 Kudos

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

Regards

Florian