cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI - Filters And Extractors - Payload Based Message Search

vishnu_pallamreddy
Contributor
0 Kudos

Hi All,

I have created Filters and extractors for IDOC interface it is working fine.

But it is not working for proxy Interface.

Could you please help me to get solution for Proxy Interfaces.

I have followed below document for Filters and Extractors.

Step by Step guide for Payload based message search in SAP PI

What I have to enter in below screen shot Prefix and namespace

Thanks In Advance,

Vishnu.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello vishnu,

Its based on the XML and namespace you have.

for example :ns1:Input    

for ns1 define namespace in that tab ns1:Http://.com

You can check the XML i mentioned at the beginning in my blog.

vishnu_pallamreddy
Contributor
0 Kudos

HI Raghu,

Which Blog?

When I open a message I have below things in message

<?xml version="1.0" encoding="UTF-8"?>

-<n0:FASHIONSStocks_POSDM_BI xmlns:prx="urn:sap.com:proxy:BIQ:/1SAI/TAS623EBBADE76BA05428E3:740" xmlns:n0="http://alfuttaim.ae/POSDM_BI/FASHIONSStocks246">

Now what I have to mention in prefix and namespace.

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

check the below one

prefix can ns0 mention the same search criteria.

in namespace definition

ns0=http://alfuttaim.ae/POSDM_BI/FASHIONSStocks246

vishnu_pallamreddy
Contributor
0 Kudos

Thank You Raghu,

Please find the below screen shots of my filter extractor and namespace.

when I test it is showing extractor value.

but when i search with value in SXMB_MONI

it is showing like no messages found.

Please help me.

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

Are you checking for messages processed earlier?In that case you need to run the indexing job.

Run a new message and see if UDS is picking the message.

vishnu_pallamreddy
Contributor
0 Kudos

OK Raghu,

small clarifications.

attached is my source

i am trying to fetch message based on Field0001

So now x path is : //ns0:FASHIONSStocks_POSDM_BI/Header/Field0001 right?

i have seen n0 as prefix in mapping XML

so  i need to use ns0 or n0 as prefix in name space and in x path?

Mapping XML:

<?xml version="1.0" encoding="utf-8"?>

<n0:FASHIONSStocks_POSDM_BI xmlns:n0="http://alfuttaim.ae/POSDM_BI/FASHIONSStocks246" xmlns:prx="urn:sap.com:proxy:BIQ:/1SAI/TAS623EBBADE76BA05428E3:740">

   <Header>

      <Qualf>MNSSTKOUT</Qualf>

      <Field0001>Standard Business Header Version 1.3</Field0001>

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

You can any.ns0 or n0

Make sure you define the same in namespace definition..

vishnu_pallamreddy
Contributor
0 Kudos

Thank You So Much Raghu,

Last query.

If Field0001 occurs multiple times it will fetch all the messages right?

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

with this UDS we wont get performance issues right?

former_member186851
Active Contributor
0 Kudos

Hello Vishu,

Yes..You can try it all.

Performance will not be an issue as its not going to affect the message processing in any ways.

vishnu_pallamreddy
Contributor
0 Kudos

Thank You

Answers (0)