Showing results for 
Search instead for 
Did you mean: 

Is it possible to read the user in a user defined fuction in a PI mapping?

Former Member
0 Kudos

I am running PI 7.0. I have a service call to the HTTP adapter on my Integration Engine to initiate a message. I would like to capture the username used to connect to the HTTP service when this message was called.

The call is initiated with the endpoint http://<myhost>:<http port>/sap/xi/engine?type=entry&sap-user=THISUSER&sap-password=MyPassword&version=3.0&Sender.Service=MyBServ&Interface=MyNamespace^MyInterface

When I look at the message in the RWB, I can see that the username is captured as part of the SOAP Header, in the RunTime area of the input message,

<!-- Inbound Message -->














Is there a way that I can return this username in a User Defined Function (UDF)?

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

You have to make use of the ASMA....dynamic will be a URL paarmeter....check point4 from this help section:

(sould be applicable for PI7.0 also)