cancel
Showing results for 
Search instead for 
Did you mean: 

Used Defined Search in SAP PI7.31 Single Stack

rasjoshi
Active Contributor
0 Kudos

Hi All,

I am trying to use User Defined Search... I am referring below link -

http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/12/06/pixi-selecting-messages-using-the...

I am not getting how to define SEARCH CRITERIA and PREFIXES... I have imported external definition.... What is XPATH how to take XPATH of imported external definition... WHat is prefix namespace and prefix value?

Regards,

Rashmi Joshi

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Rashmi,

Xpath is the path for a particular field in the XML/XSD.

In User define message search we search the message based on value of a field. So you need to define the Xpath for that field.

Prefix

  1. An XML namespace is declared using the reserved XML attribute xmlns or xmlns:prefix , the value of which must be a valid namespace name. Any element or attribute whose name starts with the prefix "xhtml:" is considered to be in the XHTML namespace, if it or an ancestor has the above namespace declaration.

Please refer the below wiki as reference for Xpath

Xpath Condition in Receiver Determination - Process Integration - SCN Wiki

rasjoshi
Active Contributor
0 Kudos

XPATH should be taken of Source Payload field? or Target Payload field?

azharshaikh
Active Contributor
0 Kudos

Hi Rashmi,

AFAIK-its for Source payload. Please refer the following link for details:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/803b22cf-ad75-2f10-0790-da055f2e8...

Regards,

Azhar

engswee
Active Contributor
0 Kudos

It's actually possible for target payload (receiver interface) too. Refer to my responses in the following thread.

Basically, for target payload, you need to set logging for After Mapping (AM) step.

Rgds

Eng Swee