Skip to Content
avatar image
Former Member

Gateway with multiple login ..change user id dynamically according to RFC destination


I want to connect Fiori application to 2 systems simultaneously with two different userids, for example I want to connect one system through net weaver gateway with my current user (current user is marked as default user in both RFC connections) .I want to connect to other system but with my other user id which is mapped to my current user id .Can I change dynamically my current user with my mapped user when connecting to second system?

Note: I don't want to change SM59 login details options, It will be always marked as 'current user' for both RFC connections. I should change user id dynamically when connecting to second system.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Nov 07, 2016 at 04:44 PM

    Hi Ranjith,

    the SAP Gateway (ABAP) doesn't support something like this since SSO is based on a trusting trusted system relationship that requires you to have the same user id in the hub and in each backend.

    Mapping (all users) to a single user id could be achieved by mapping a users credentials in the logon details of the RFC destination but I would not recommend to use such a setup.

    Not sure whether my blog

    How to implement custom dynamic system alias calculation in SAP Gateway is of any use for you.

    You potentially can create several system alias entries pointing to the same system that use RFC destinations with different logon details settings underneath.

    Best Regards


    Add comment
    10|10000 characters needed characters exceeded