cancel
Showing results for 
Search instead for 
Did you mean: 

Alert is not generated for cancelled messages

Former Member
0 Kudos

Hi All,

We are facing an error for alert communication.

When our messages go directly to cancelled state alerts are not generated in SAP PI 7.4 single stack. If messages goes in system error them alerts are generated.

We have a SOAP to RFC synchronous scenario, if SAP system is not able to send response in a defined time , then message fail in SAP PI with time out error , which is right. But these messages directly fail with Cancelled status and alerts are not being triggered for these cancelled messages..

Please Suggest.

Thanks

Shivi

Accepted Solutions (0)

Answers (3)

Answers (3)

RaghuVamseedhar
Active Contributor
0 Kudos

Shivanjali,

Please check if any job is running NWA admin job section, which is converting error messages to cancel status.

Please check log details of failed synchronous message and see when/how it got converted from error status to cancel status.

Former Member
0 Kudos

Hi All,

Problem is not with alerts, problem is with message status, what error comes messages are going directly in cancelled state. In any case messages are not going in system error.

All the synchronous messages are directly going in cancelled state, regards of error.

Same interfaces are working fine in development environment.

Please suggest.

Thanks

Shivi

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shivanjali,

Are you saying there is no successful flow for the interface in non development environment?

For synchronous messages, if there is some issue, then the messages will get auto canceled as this is the standard behavior of the sync messages.

Can you check if there is any issue with the data.

Also please share details like error log etc.

Former Member
0 Kudos

Hey Vishnu,

Thanks for your reply.

If messages are successful then there is no issue.

The issue is with PI message status,in Prod environment all the synchronous messages (if they have error) are directly going to "cancelled" state instead of "System Error".

Error related to .. like if target system is down or message mapping failure.

Although in development system the functionality is working fine, all the synchronous messages (if they have error) are going in "System Error" state.

Thanks

Shivi

engswee
Active Contributor
0 Kudos

Hi Shivanjali

The description of the behavior in your development system does not sound right. As mentioned by Vishnu above, synchronous messages that goes in error (for whatever reasons) ALWAYS goes to "Cancelled" state. This is the standard behavior in PI because "System Error" state is considered a non-final status which means that is can be resent/reprocess from PI. This is invalid for synchronous messages because they cannot be resend from the middleware, resending has to be initiated from the source/sender system.

You might want to check if the configuration in the development system is using asynchronous mode (EO) instead of synchronous (BE).

As for cancelled messages generating alerts, this shouldn't be an issue. My system is on 7.4 single stack and we have CBMA configured and we received alerts for synchronous messages in cancelled state.

Can you check the alert rule that is being used in your CBMA configuration? Are you using a specific rule (instead of default rule) and excluded some statuses in the rule?

Rgds

Eng Swee

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shivanjali,

As Eng Swee pointed out, please check the configuration in development environment.

Also, please check the below link:

Synchronous Messages - SAP NetWeaver Process Integration - SAP Library

Let us know your findings.

former_member191435
Contributor
0 Kudos

Hi Eng,

I am facing same problem like Shivanjali... Messages are went cancel state but I am not getting alert mail.

I am using ALERT-TO-MAIL Consumer and CBMA alerting in SAP PO 7.4 single stack...

What are the steps I need to follow for getting mails for cancelled messgaes.

Please do the needful...

Thanks,

Sreenivasa

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shivanjali,

Can you check the below links and see if  it helps you.

https://scn.sap.com/thread/3790453