on 10-24-2007 12:17 AM
Hi,
My scenario is HTTP - XI - PROXY(ECC).
I would like to capture user id of the person who posted the data using HTTP post to XI.
I could see this user id in SXMB_MONI as below. But, <b>I do not know how to capture/read this user id into mapping</b> using technical context objects or dynamic access configuration since there is no context object to access this field.
- <SAP:RunTime xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Date>20071017</SAP:Date>
<SAP:Time>102604</SAP:Time>
<SAP:Host>uspls247</SAP:Host>
<SAP:SystemId>XS1</SAP:SystemId>
<SAP:SystemNr>08</SAP:SystemNr>
<SAP:OS>SunOS</SAP:OS>
<SAP:DB>ORACLE</SAP:DB>
<SAP:Language />
<SAP:ProcStatus>003</SAP:ProcStatus>
<SAP:AdapterStatus>000</SAP:AdapterStatus>
<b> <SAP:User>SM903673</SAP:User></b>
<SAP:TraceLevel>3</SAP:TraceLevel>
I have looked at the following help in SAP Library and blogs which did not help.
http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
/message/686478#686478 [original link is broken]
/people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi
Thank you in advance
Gurus, Can anyone help with this ?
Thanks,
mk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mallik,
Your problem is quite common, and the solutions are several, mostly crappy tricks.
Since you can not access to the data out of the payload, it's impossible get the data in the mapping, so the best solution is to develop a java bean and add it to the HTTP adapter module.
I was in SAP teched last week, and I did a 'hands on' with PI7.1 with a very similar solution, but instead of getting the data of the username of the message, it was the systemID of the sender machine, so same solution for your problem
gime your mail and i will send you the docs and the code.
Cheers.
Eduardo.
Here some of the data you will need.
http://www.megaupload.com/?d=GW492APD
docs of how to do it, in this other link:
http://www.megaupload.com/?d=OEGSBUHD
I am sure you will solve your problem with all this.
if you have any doubt after reading the doc, ask me.
Cheers.
Eduardo.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.