cancel
Showing results for 
Search instead for 
Did you mean: 

Do not process the rest of the message when the result of header target field value is SUPPRESS

0 Kudos

When the result of the target field is SUPPRESS like for the image below, the entire source message or IDoc should not be processed by PO. The source message will be ignored and will not be sent to the receiver.

Can you please help me on how to proceed with this? Is UDF needed? Appreciate any help, thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

r_herrmann
Active Contributor

Hi roseoneve ,

once you are in message mapping step, it is too late to suppress the complete message. in order to sort out / not send documents, you have to sort them out in the receiver determination step (by setting up the rules that way, that IDOCs which shouldn't be send, don't match any receiver).

If you aren't able to create those rules by XPath only, you can also use a mapping in the receiver determination step. Take a look at this article: https://sapintegrationhub.com/pi-po/receiver-determination/dynamic-extended-receiver-determination-s...

Regards,
Raffael