cancel
Showing results for 
Search instead for 
Did you mean: 

user defined message search criteria not working in PI 7.31.

nirmalkumar_v
Participant
0 Kudos

Hi Everyone,

i tried configuring user defined message search cirteria, but its not working.  kindly andvice.

i had configured user defined message search criteria for another interface similarly. that one worked but this config is not working.

the payload looks like below:

the field for which i am searching for is in HeaderRecord --> DocumentType.

As you can see the field DocumentType field may be present more than once.

used the following xPath:

/ns0:FinancialPostingPUTNotification/Record/HeaderRecord/DocumentType

previously i used another xPath(this method had worked for another interface):

//HeaderRecord/DocumentType

and tested the search criteria with a message which got processed befored creating the criteria.  the result is as below:

i have several questions about this.

can anyone explain why this is not working... is there anything wrong with xPath. if so why ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Did you maintain the namespace prefix value as well? You can even try indexing..

refer to below blog and validate your configuration again..

http://scn.sap.com/docs/DOC-36243

nirmalkumar_v
Participant
0 Kudos

Hi Hareesh,

i tried setting the namespace prefix and value but still its not working.

Thanks,

Nirmal.

Answers (2)

Answers (2)

nirmalkumar_v
Participant
0 Kudos

Hi Everyone,

Can anyone let know what should be the xPath, the prefix namespace and the prefix value for the following payload.  i am unable to configure for an interface and i had tried several variations.

DocumentType is the field which i want to identify using the user defined message search criteria.

former_member184720
Active Contributor
0 Kudos

ns should be your namespace prefix and value should be urn:pl******financialposting:s

nirmalkumar_v
Participant
0 Kudos

Hi Hareesh,

Thats what i also identified. but its not working .

Thanks,

Nirmal.

former_member184720
Active Contributor
0 Kudos

Did you configure

/ns0:FinancialPostingPUTNotification/Record/HeaderRecord/DocumentType  or

/ns:FinancialPostingPUTNotification/Record/HeaderRecord/DocumentType


It should be "/ns:"

Make sure there are no typo's/additional spaces.

Delete the configuration and try sending a new message after recreating the criteria and see if that helps.

nirmalkumar_v
Participant
0 Kudos

Hi Hareesh,

i had already tried both. it did not work.

there is no typos as i had copy pasted the nodes from the payload itself.

i cant delete configurations as it is a production system.

Thanks,

Nirmal.

Former Member
0 Kudos

Try removing the 0 from the namespace prefix -just give /ns:Fin....

nirmalkumar_v
Participant
0 Kudos

Hi Ramkumar,

Tried it. its still not working.

Thanks,

Nirmal.