Skip to Content
avatar image
Former Member

SAP PI: How to use Login-User in Message-Mapping (SOAP) at Runtime

Good Morning,

I´m searching for a solution to find out which user has effected the incoming soap-message in the PI (Dual Stack). This should be read out at runtime in the message mapping (for example java-mapping).


I want a general EDI-Input Scenario for external partners and so i need to know at runtime which user has sent the message. The information i need is written in the Header-Information of the SOAP-Message in the bullet "RunTime".


Any idea how a java-mapping for example could look like?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 13 at 09:49 AM

    Hi Max!

    Sender SOAP adapter has an ASMA attribute called "SRemoteUser". Didn't you try to make use of it?

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Evgeniy,


      perfect. Thank you. I searched at the wrong place. I looked at message-mapping instead of mapping-program in operation mapping. My fault.

      Regards, Max