cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an Alert from SAP CPI if the file is not there in Sender SFTP folder

sinhasouvik
Participant
0 Kudos
2,537

Hi Experts,

Could you please let me know how to generate an Alert from SAP CPI if the file is not there in Sender SFTP folder?

We have scenario where to schedule my IFLOW in a day at a particular time. If the file is not there after the polling at a particular time then how to generate an alert from SAP CPI?

Regards,

Souvik

sinhasouvik
Participant
0 Kudos

Thanks prachetas.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Souvik,

Its not possible to throw an error if there is no file available in a single iflow.You should have 2 interfaces one actual iflow where at the end of file processing it sets some flag to global variable regarding file processing and second iflow which is scheduled after original iflows processing to check the variable to send error notification or not.

Other option is to ask SFTP team to take care of error handling as SAP CPI have limited scope to take care of SFTP server related task.

Regards,

Sriprasad Shivaram Bhat

sinhasouvik
Participant
0 Kudos

Thanks Sri for your feedback.

Regards,

Souvik

Answers (1)

Answers (1)

0 Kudos

Hi Souvik,

Did you find any solution to this problem. If yes, Can you share your experience.

Thanks and Regards

Shayak Mukherjee

prachetas
Participant