Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to not process a message without failing it?

Hi Experts,

I have an inbound JMS-MQ to IDOC scenario. In this scenario lets say SAP PI is receiving an XML from JMS-MQ server with a field "Topic" which can have values 1, 2, 3, ....,19, 20. But the end R3 system is not interested in all 1 through 20 values of field "Topic". It wants IDOC to be triggered only if "Topic" have values equal to 2, 4 or 6. In this case PI shall reject other messages containing other values of field "Topic". When I say reject it means it should not trigger IDOC in R3 system, not even a BLANK IDOC.

Now the problem is when I am trying put a filter in mapping on "Topic" to be selective about it, whenever I am receiving values other than 2, 4, 6 I am seeing a red flagged message in sxi_monitor.

Can someone please suggest some generic to suppress/reject a message if it doesn't pass through filter, set in mapping? (without red flag failure in sxi_monitor).

Regards

Saurabh

Tags:
Former Member
replied

Hi Saurabh,

You can get your goal using receiver rules. Check this blog How to use Receiver Rule in PI 7.1

You can choose between your ECC and another alternative receiver basing in your payload "Topic" value.

Regards.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question