cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger Alert when there is connectivity issue with Sender Adaptor in SAP CPI

sinhasouvik
Participant
0 Kudos
484

Hi Expert,

If there is any connectivity issue with sender adaptor(for ex: Sender SFTP) in SAP CPI then deployed IFLOW is showing in ERROR status in monitoring. And it is not throwing any Alert via Exception Subprocess.

For this type of error scenario, Do I need to leverage SAP CPI ODATA API and build and Integration to capture the error and throw an Alert?

Let me know of your view on this.

Regards,

Souvik

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Souvik,

Yes you have to create an IFlow leveraging SAP CPI Odata API.Below thread gives all the details.

Sample Request:

https://<TMN_NODE>/api/v1/IntegrationRuntimeArtifacts?%24filter=Status%20eq%20'ERROR'

https://answers.sap.com/questions/13069798/how-to-get-artifact-log-details-in-cloud-platform.html

Also you can explore more details about above APIs in API Business Hub.

Regards,

Sriprasad Shivaram Bhat

sinhasouvik
Participant
0 Kudos

Hi Srini,

Yes, Agreed. I was able to fetch the error flow details using the API url along with filter what you given above.

But in CPI when I have tried using HTTP adapter with whole url along with query part then it is not working. Same for ODATA V2 adapter as well.

Do i missing something in CPI adapter?

Regards,

Souvik

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Souvik,

Odata v2 adapter it should work.Below is the config you should do.

Regards,

Sriprasad Shivaram Bhat

sinhasouvik
Participant
0 Kudos

Hi Srini,

Thanks it is working fine.

Regards,

Souvik