cancel
Showing results for 
Search instead for 
Did you mean: 

Mail if no file available for more then 24 hours

Former Member
0 Kudos

Hi All,

I have one File to RFC scenario on PI7.1.

But now I have requirement that, I want to send error mail if file is not available for more then 1 day.

Can it be done in any SAP-PI standard way?

Or I need to write a small ABAP code on table SXMSPMAST to check if scenario runs in last 24 hour or not & then send alert mails?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Rohan,

You need an ABAP code. There should be a table where you store all the file name PI receives and processes and the time and date when they have been received. The ABAP code will continuously check contents of the table and find out difference between current server time and date with the last entry in the table. If the difference is more than 24 hours then it will trigger emails to a fixed address or that may be obtained from a different table.

regards

Anupam

Answers (0)