cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.3 user-defined message search

Former Member
0 Kudos

Hello experts.

I am trying to use the message search in PI 7.3 (without TREX)

I have defined my filter and extractor in SXMS_LMS_CONF, and tested it on a message ID.

The result is this:

Processing message CENTRAL 00155DCEC93A1EE1ADA543FE538D80A0

Analyzing payload of message version 000

Filter found for interface name SI_ShipmentData_async_outbound

Name SHIPMENTNUMBER value 0000000001 extracted

but when I try and search using SXI_MONITOR with: name=SHIPMENTNUMBER and value=0000000001

I get the result: No messages found

only after using the report: SXMS_EXTRACT_MESSAGES

I try again to search for the message in SXI_MONITOR and get the message.

Why can't I find the message without using the SXMS_EXTRACT_MESSAGES report each time?

Any help will be appreciated.

Thanks,

Imanuel Rahamim.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Found the solution for the ABAP part as well !

It seems that I needed to put * in the receiver component - as the indexing happens before the receiver is determined.

note: 1600078

again - thanks for any one who tried to help.

Answers (3)

Answers (3)

0 Kudos

Hi Immanuel/Experts,

I am new to SAP PI.. I am trying to configure User defined selection criteria through

http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm

I had configured filter and extractor.

i am getting stuck in between. PFB log:

Processing message 005056BD2FB41EE2BAB884XXXXXXX

Analyzing payload of message version 000

No filter found

Analyzing payload of message version 004

Filter found for interface name MI_InventorySnapshot_XXXXXXX_ia.

Not sure whats the issue.

Kindly help

Regards,

Amaresh

Former Member
0 Kudos

I have found a work around.

It seems that if I use ICO instead of the ABAP configuration objects, and define the search filter in the NWA - I don't need to index every time to find the messages.

However - this search is a little problematic, as it is intended for ABAP users, that are not familiar with the PI (they only use SXI_MONITOR)

Is there a way of exposing the java message search via web service? or any other clean solution that can be built for those users?

Thanks,

Imanuel Rahamim. 

former_member184681
Active Contributor
0 Kudos

Hi Immanuel,

While configuring the filter in SXMS_LMS_CONF, did you mark the Extract During Message Processing option, as described in point 5.2 if this document: http://scn.sap.com/docs/DOC-27549? I believe this is the key to having the messages indexed at runtime. And for already processed messages, using SXMS_EXTRACT_MESSAGES is the only option you have.

Regards,

Greg

Former Member
0 Kudos

Hello.

Both checkboxes are checked.

And I have made the test above after I checked both of them.

Maybe this is a bug in my specific version?

I have searched for notes - but didn't find any...

Also - I have done some debugging and saw that an entry should be inserted in SXMSPDATA - but that happens only after I run SXMS_EXTRACT_MESSAGES ...

Former Member
0 Kudos

Hi. Imanuel.

Umm ..It's extrange.

Are you using this for synchronouns escenario? .Because only works for asynchrononus.

Regards

Lucho

Former Member
0 Kudos

Hello.

I know it's strange.

It is ASYNC. (if it was SYNC - then SXMS_EXTRACT_MESSAGES wouldn't be helpful as well...)

I have opened an OSS call to SAP.

If anyone have any idea of what should I check more - I'll be glad to hear it.

Thanks,

Imanuel Rahamim.