Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Runtime constants - UserName ?

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

Former Member
Not what you were looking for? View more on this topic or Ask a question