cancel
Showing results for 
Search instead for 
Did you mean: 

How to change message status from "Error" to "Cancelled" in SAP PI 7.3 AEX using Java report

Former Member
0 Kudos

Hi Experts,

We have a requirement where we want to change message status from "Error" or "Waiting" to "Cancelled" using report. We are running on SAP PI 7.3 AEX and hence we could not leverage benefit of ABAP reporting.

Please suggest some way to implement this requirement.

Thanks in advance,

Shri

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>We have a requirement where we want to change message status from "Error" or "Waiting" to "Cancelled" using report.

there are two things here:

a) from error to canceled - you can do it from monitoring - just press cancel message

b) from waiting to cancelled it's not possible - as waiting means that the message will get processed

so you first need to wait till it changes from waiting to error and then to cancelled

(you need to investigate why it's in the waiting status first - maybe EOIO mode, etc.)

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Thanks for the reply.

Actually, we are using some condition in mapping to filter out unwanted records. The mapping logic works perfectly fine. But when there are no records that can pass the filtering condition an empty tag generated after multi mapping.

And hence message goes into waiting state due to exception.

I tried conditional receiver determination but it also does not work as expected. e.g. we have two conditions and 1st records satisfies only 1st and second record satisfies only 2nd then logically it should filter out both records but unfortunately it passes the condition and determines appropriate receiver.

Hence mapping program fails.

We would like to cancel the message to avoid SAP PI from generating alert for it.

Do you know any work around for this issue.

Thanks in advance,

Shri