Skip to Content
0
Former Member
Jun 25, 2015 at 03:22 AM

How to not process a message without failing it?

49 Views

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