on 10-26-2015 11:58 AM
Hi Experts,
I am trying to configure a Content search in Adapter engine but I am getting trouble. Let me explain step by step...
1) I created a Filter in which i have given Sender Component, Receiver Component, Interface (Receiver), Namespace (Receiver) (Question arises here that which interface & Namespace we need to mention in Filter Sender or Receiver ?)
2) Now i created Search Criteria in which i have given name to search criteria & X-path for the field which i want to search (Question arises here that in receiver determination X-path which i got is "/p1:MT_OpenOrdersProxy/Records/SKU_CODE" & in Search criteria X-path which i mentioned is /ns0:MT_OpenOrdersProxy/Records/SKU_CODE so my question here is that do we need /p1 in xpath or not & i mentioned /ns0 in xpath because in mapping namespace is prefixed with ns0.
3) In namespace prefix tab i mentioned namespace and its prefix value ns0 is it correct?
Still i am unable to find the message in my monitoring after doing indexing.
I think there is some mistake in configuration, so need your help for this.
Regards,
Mohit Dua
9958056753
Hi Raghuraman,
User doesn't have any of the role mentioned in the blog.
Can you please suggest which is appropriate role for removing this error or any role will work.
Regards,
Mohit Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohit,
Try with the below roles
The SAP_XI_MESSAGE_MODIFY role provides the edit_header and edit_payload actions.
and coming to namespace.Configure as per the namespace in the message.It can be p1 or nso but maitaing the same in the filter.
Refer my blog for more details..Let me know if your stuck somewhere.
Hi Raghuraman,
Thanks for the reply.
I am checking with basis team for these roles.
I have also configured another content search in same system with same user id i.e for Idoc to Idoc communication in this case I don't have to provide name space prefix value because there was not namespace prefix in MM and I was successful to search the message with the help of content search and didn't faced any authorization issue.
What I want to tell is that can you please help me out with the namespace prefix and x-path thing, I believe I doing some mistake over there.
Thanks in advance..waiting for your reply
Regards,
Mohit Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
Thanks for your reply.
For point 1 i understood that we can configure content search on basis or any of the interface Sender or Receiver.
For point 2 I still have Confusion.
I am still getting error when I tried to test the search criteria.
Error: Test cannot be performed you are not authorized to access the header value for the message.
Regards,
Mohit Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohit,
Check whether your user id hase roles as mentioned in the link
http://help.sap.com/saphelp_nw73/helpdata/en/45/951838644f4b12822900e1b127166d/content.htm
Hi Mohit,
First of all you can check this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/803b22cf-ad75-2f10-0790-da055f2e8...
1) I created a Filter in which i have given Sender Component, Receiver Component, Interface (Receiver), Namespace (Receiver) (Question arises here that which interface & Namespace we need to mention in Filter Sender or Receiver ?)
This depends where you can search, on the sender service interface or in the receiver server interface.
2) Now i created Search Criteria in which i have given name to search criteria & X-path for the field which i want to search (Question arises here that in receiver determination X-path which i got is "/p1:MT_OpenOrdersProxy/Records/SKU_CODE" & in Search criteria X-path which i mentioned is /ns0:MT_OpenOrdersProxy/Records/SKU_CODE so my question here is that do we need /p1 in xpath or not & i mentioned /ns0 in xpath because in mapping namespace is prefixed with ns0.
It is indifferent to set any or another prefix, the important is the chose one prefix points correctly to its namespace. (check the point 5.3 in the document)
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.