on 10-10-2013 9:56 AM
Hello experts,
I have a problem and I don't know how to proceed.
I have defined user-defined search in Adapter Engine on PI 7.31. I have defined a rule with an Xpath, I have sent a proper test message and tested my rule successfully. I have run the indexing job successfully, although that should not be necessary if the rule was already active. Now I try to find my test message via the monitor using my newly defined criteria, and the search always returns without results. I used a message that I stripped down to just one small record and copied an pasted the value I am looking for. I tried to search with wild cards, all without success. What could be the reason?
I have defined prefix and everything seems to be correct, but still the search doesn't work. The only thing I noticed was that the test only works when I switch to "Inbound". Is this somehow relevant? Is there some hard way to check whether the indexing really worked?
Any help is appreciated.
Regards,
Jörg
Hi Jorg,
Did you check following doc that may help
http://scn.sap.com/docs/DOC-36243
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm
Regards
gAgan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gagan,
thanks for replying, but yes, I have found plenty of configuration documents. I am quite sure I've done that correctly, since the test of my rule works fine. I also doubt I have done anything wrong with message selection. It is pretty straightforward: Select predefined criteria, enter search value, take a look at proper time frame and execute. Only that my search results are always empty, although I know that there is a message with my search criteria.
Regards,
Jörg
Hi Jörg 🙂
To say it upfront, I probably don't have a solution for your problem, because in my case it works fine :-). I found it a bit tricky sometimes to define the filter and criterias right, but after that is correct and the test by entering a message id works, I am able to find the messages (which were processed after the filter creation and activation!).
Since I see in your screenshot of the message monitor that the tab "User defined attributes" shows up with an extracted value, I'm pretty sure the indexing works and you should be able to find messages by your attribute "VKNummer".
I guess you have also selected the correct status of the message that you are looking for (either by status or status group)? Do other payload searches work? I just tested it, I need to use the * wildcard to search for fractions of the value. That works fine.
Did you try the same with a shorter value and without dots? Sounds strange I know, but I had a weird behaviour recently where the value to be extracted was very long (about 100 characters) and contained some special characters. The extractor crashed during the message processing every time when it tried to execute it. Don't know if it was the lenght or the special characters. I just deactivated the rule as I didn't really need it and and msg processing was fine again. Of course, in your case the extraction is not the problem since the tab is there, but maybe it's worth a try anyway.
Br,
Philippe
Hello Philippe,
thanks for the reply, I tried you approach, but unfortunately without success. It can't be message status. In message search I can do the following: I search for messages from last hours, I find my test message. Then I activate the "user-defined attributes" checkbox and enter my criteria - no hits. Since this is a search help I assume the criteria are fine. On the value side I tried shorter numbers, without letters, wildcards, the result is always the same.
The screen is misleading, since I executed the search and afterwards ticked the box with my criteria. If I hit "Search" again now, the result list is empty.
Search in ABAP works, by the way.
I think I'll have to open an OSS message for this one, thanks for your help.
Regards,
Jörg
Dear Jörg,
i just tried to use dots in one of our udscs and it worked out well. This is likely not the cause of the problem. XPath seems to be correct as well, otherwise the message would not show up with the VKNummer you specified.
First of all try to search for V2150*, an see if this helps. If not, I would raise a message in support portal.
Are you sure your messages are getting staged or logged?
Regards,
Markus
Dear Jörg,
which release are you using?
Maybe your are facing this error:
Note 1596012 - User-defined search for Web services messages does not work
Regards,
Markus
Hello Markus,
as you can see in my screenshot I can see the messages in regular monitoring, so they are persisted. As soon as I switch on the selection for user-defined criteria the search fails. I tried giving all kinds of wildcards, none worked.
The note you mention does not apply, unfortunately, since it refers to the ABAP part. I'm using PI 7.31 SP07. I have searched through the notes, and there are some even more relevant ones, but the problem there was mainly that either the test functionality or the index job didn't work. This is not the case here, both work fine.
I was hoping that I missed something obvious or that someone else had made this experience, but I think I'll have to open an OSS message for that. It might be some issue with SWC installed on this particular system.
Regards,
Jörg
Hello Jorg,
The Message Id that you are using for search is of a message before creating the extractors or after??
I can see that you have already run the indexing job and ideally it should show the message.
Can you just try with some other message which was created after your filter was active.
Also I am not sure of the version you are using, But in PI 7.1 we have checked these boxes to retrieve the messages.
Thanks
Gaurav Ranjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Please check whether your payload consist of any namespace or not, if message is under namespace you have to define path prefix.
Go to message mapping--> test tab->click SRC icon and check the namespace.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
there is no mapping, sender and receiver message type are the same. I will try checking this extractor log, but I think I know the result, since extraction on message level works fine. My problem is the search for that attribute, and I don't find anything about the search in the logs. I think I'll look for a proper log to be configured so that I get some more information. This is also why I believe that end-to-end-testing will not change anything. Extraction works, it is the message search routine that I'm having problems with.
I'll keep you posted.
Regards,
Jörg
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.