Skip to Content
0

Send mail only if a spool list was created

Sep 15, 2017 at 07:36 AM

59

avatar image

Hello,

I have an Abap-job which sometimes creates a spool list. If a spool list was created I want to send it per mail.

At the moment the Abap-job has a Parameter SendMail=NO and a postrunning action which checks if a spool file exists. If yes, the parameter SendMail will be set to YES.

The second step (System_Mail_Send) has a precondition and starts only if the parameter SendMail=YES

Is there an easier way to realize this scenario?

Thansk and best regards

Dana Ullrich

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Krishna Murthy Sep 16, 2017 at 09:53 AM
0

BP_JOB_CHECKSTATE

BP_JOB_CHECKSTATE_SM37B

Share
10 |10000 characters needed characters left characters exceeded