on 04-29-2014 4:31 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.