Selecting alias depending on calling system
Our landscape is like this :
external apps --> SAP Gateway HUB (custom code with RFC calls) --> SAP ECC
We have developed a global service that will be used by many apps. Depending on the calling system, the user to connect to SAP ECC should be different as in the backend will have different type of access.
external app (Germany) --> SAP Gateway HUB (RFC call to ECC with user with german roles) --> SAP ECC
external app (France) --> SAP Gateway HUB (RFC call to ECC with user with france roles) --> SAP ECC
I thought that this could be achieved by adding more aliases to the service and then with some logic I should be able to determine the calling system to select later the proper alias.
Is this solution possible? Any other way to do it?
thanks in advance.