Skip to Content

Send mail only if a spool list was created

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 16, 2017 at 09:53 AM

    BP_JOB_CHECKSTATE

    BP_JOB_CHECKSTATE_SM37B

    Add comment
    10|10000 characters needed characters exceeded