ABAP spool to email not working properly !!
My requirement is to email the spool generated at each step to a particular distribution list.
There are 6 steps in my SAP job (SM37) as shown below.
step1 : report1
step2 : email spool1 (this is a custom program that reads the spool id from previous step)
step3 : report2
step4 : email spool2 (same custom program used in step2)
step5 : report3
step6 : email spool3 (same custom program used in step2)
Now when I run the above job, only the email is being sent in step6 (that carries spool of step5 as an attachment). The other two email spool jobs at step 2 and 4 are not sending any emails. Kindly give your inputs on what might be the problem?