cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP stack configuration for content based message search in PI 7.

former_member1330829
Participant
0 Kudos


Hi experts,

I am trying to eanble Content based message search in PI7.11 SP10.

My requirement is to Filter message in PI moni based on a particular DeviceID field in the paylaod.I have set filters in SXMS_LMS_CONF.

But upon testing the extractor, the messages are extarcted based on the interface mentioned in the filter criteria, and not the particluar field of the message.

I have referred a few bolgs on this topic , but could not find a relevant solution to my issue. Am i missing any configurations in this? Or is his not possible without TREX.

Could anyone suggest a solution for this.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Tanzoom ,

Can you please refer this blog and cross check your configurations :

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

Thanks

former_member203764
Participant
0 Kudos

Hi Gaurav,

thanks for your Input!

I tested and it works just for the outbound-Messages, but not for inbound-message, doesn't it?

Regards

Sara

azharshaikh
Active Contributor
0 Kudos

Hi Sara,

Yes, AFAIK it will work for Outbound Interface. I don't think there is an option to define the Receiver Interface or XPATH details.

Regards,
Azhar

former_member203764
Participant
0 Kudos

really? this is just for outbound Interface? why?

my customer get EDIFACT from his customer via IDoc, such as ORDERS.

If anyone has Problem, they want to find the source-message via order-no of customer.

Maybe it works with Inbound-Interface in PI 7.3 or higher? 

Anyway, thank u very much for your answers.

former_member203764
Participant
0 Kudos

Hi Gurus,

I have also Problem with user defined message searching on ABAP-Stack.

Who can help me out?

Thanks and Regards

Sara

azharshaikh
Active Contributor
0 Kudos

Hi Sara,

What is the PI version & SP level? As suggested in abv post, pls check section 5.2 & 5.3 of the following doc if its configured correctly in the system:

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

Let us know if you are getting any error.

Regards,

Azhar

former_member203764
Participant
0 Kudos

Hi Azhar,

thank you for your prompt reply!

My PI is release 7.11 with SP-13.

Is this user defined message search not available for my Version?

Thanks and Regards

Sara

Former Member
0 Kudos

Hello Sara ,

This feature is available from 7.11 EHP3 onward.

Further , are you able to see user defined search option in SXMB_MONI - Monitor XML messages?

Thanks.

former_member1330829
Participant
0 Kudos

Hi Experts,

As suggested, i tried making the change in the namespace of the XPATH specified in the extarctor, but unfortunately it did yeild any result either.

Muniyappan
Active Contributor
0 Kudos

if you don't mind please share your extractor configuration screen shot..

former_member1330829
Participant
0 Kudos

Filter

Extractor:

XPath: nm:XXXXXCreateRequest/MeterReadingDocument/UtiltiesMeasurementTask/UtiltiesDevice/UtilitiesDeviceID

Muniyappan
Active Contributor
0 Kudos

And did you create Define Namespace Prefix as per section 5.3 in the shared document?

if you did, can you try this

go to se 38 and run the report SXMS_EXTRACT_MESSAGES.

give the time frame in which message are processed. this will extract the message.

then go to sxmb_moni and select time then go to UDMS tab. and check.

former_member1330829
Participant
0 Kudos

hi.

i have created the namespace. Upon running the report SXMS_EXTRACT_MESSAGES, i get the messages filtered based on the interface, but not on the DeviceID field.

Same is the case in SXI_MONITOR.

Am i missing any other config here?

Muniyappan
Active Contributor
0 Kudos

did you select sender and receiver interface in sxi_monitor?

you need to select only date and go back to UDMS tab and give the ID value.

i am not sure why it is fetching all the interfaces.

extractor testing also will give one message as using searching based on the message id.

vishal1889
Active Participant
0 Kudos

Hi Tanzoom,

Coud be an issue with namespace prefix, check for step 5.3 in below document.

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

Also see if below post helps:

http://scn.sap.com/thread/3386261

Regards

VJ

Muniyappan
Active Contributor
0 Kudos

did you create xpath to filter?

could you share your xpath condition?

check section 5.2 in this doc

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

former_member1330829
Participant
0 Kudos

yes, i did create an XPATH in my extractor

DeviceID is the field based on which teh message is to be filtered

/ns0:XXXXXCreateRequest/MeterReadingDocument/UtiltiesMeasurementTask/UtiltiesDevice/UtilitiesDeviceID

Muniyappan
Active Contributor
0 Kudos

i guess you have used message id in extractor testing.

did you check in sxmb_moni? i am sure that should work for you.

former_member1330829
Participant
0 Kudos


search in moni for  the particular device ID doesnt yeild any result either.

Muniyappan
Active Contributor
0 Kudos

could you please share your input xml payload?

former_member1330829
Participant
0 Kudos
Muniyappan
Active Contributor
0 Kudos

As vishal said there is a mismatch in the prefix.

/ns0:XXXXXCreateRequest/MeterReadingDocument/UtiltiesMeasurementTask/UtiltiesDevice/UtilitiesDeviceID


instead of above, use like below  and do the necessary changes in filter also.


/nm:XXXXXCreateRequest/MeterReadingDocument/UtiltiesMeasurementTask/UtiltiesDevice/UtilitiesDeviceID