cancel
Showing results for 
Search instead for 
Did you mean: 

How to Trigger mail when Delivery output is in yellow in SAP

Former Member
0 Kudos

Hi All,

I have a requirement where a mail needs to be sent to the user if the output is in yellow or red(unprocessed or cancelled).We have a output which is triggered in the Delivery on GI and due to various reasons/error the output stays in yellow and the user does not know this.The date/time setup is "1". This output creates  Transfer order.I want to find a way to identify outputs which are not processed and mail the person who created the document to check and get it fixed and later get the outputs to green.

Request all your help to through some light on this.

Thanks,

Jeff

Accepted Solutions (1)

Accepted Solutions (1)

jpfriends079
Active Contributor
0 Kudos

Refer Sai post in the following link, where he suggested logic. Check the logic. this can be hint to assist you in your requirement.

- Auto e-mail when delivery output fails

Thanks, JP

Former Member
0 Kudos

Dear JP,

Thanks a lot for referring .It was very useful and we are stepping forward with a similar approach

Thanks,

Jeff

Answers (2)

Answers (2)

Former Member
0 Kudos

You can use VL71 if you want process these kind of outputs.

Jelena
Active Contributor
0 Kudos

Dispatch time 1 = 'send with periodically scheduled job'. If output is in "yellow" status, it just means that it hasn't been processed yet. This is not an error and there should be no reason to notify anyone. If output has to be processed immediately after saving the document, then just change the dispatch time accordingly.

Regarding errors - such notification would only be possible from an output processing program. You can see the program name in the output type configuration. If it's a custom one (Y... / Z...) then most likely this could be programmed, just need to define the requirements clearly.

In our system the users simply run a query based on NAST table or output processing transactions to check for output errors daily. Many documents are created by a generic BATCH user, so it would be challenging to identify a 'responsible person' to email to.