on 02-09-2015 6:25 AM
Hi Experts,
I need to control some kind of messages need to ignore at SAP PI side. So, I am trying to ignore by config at Receiver configuration at ICO.
Here I need to ignore transaction types like - T*, W* ( starts with T /Starts with W).
In this case, what type of operator can we use ? How to ignore messages which start with something ?
Deva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can check with HEADER[substring(TransactionType,1,1)] NE T or
you may go for Count function in XML.
Through count you can check if starting with I is 0 or not and then map to respective receiver.
XPath, XQuery, and XSLT Function Reference
Br,
Manoj
Hi Deva,
When you want to have no receiver for messages where country = MY AND TransactionType starts with T you need a receiver determination for
//p1:MT_InventoryMovement/MessageHeader/country NE MY
OR //p1:MT_InventoryMovement/HEADER[substring(TransactionType,1,1)] NE T
Kind regards,
Bert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deva,
You can try below condition in condition editor by selecting TransactionType field:
(/p1:MT_InventoryMovement/MessageHeader/country=MY)
AND
(/p1:MT_InventoryMovement/HEADER/TransactionType ≠ T*)
AND
(/p1:MT_InventoryMovement/HEADER/TransactionType ≠ W*)
Regards,
Soumyadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deva,
If you want to ignore the messages which are having country as 'MY' and TransactionType as 'T*' or 'W*' then you can try below code.
(/p1:MT_InventoryMovement/MessageHeader/country≠MY)
AND
(/p1:MT_InventoryMovement/HEADER/TransactionType ≠ T*)
AND
(/p1:MT_InventoryMovement/HEADER/TransactionType ≠ W*)
As your root node occurance is 1..1 you can uncheck multiline option I guess.
Regards,
Soumyadip
Message was edited by: soumyadip basu roy
Hi Deva,
could you please send the message structure for a better picture.
In the meanwhile this blog might help.
Xpath Condition in Receiver Determination - Process Integration - SCN Wiki
Hope this helps.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.