cancel
Showing results for 
Search instead for 
Did you mean: 

Different URLs for different ESS roles - how to default

former_member197700
Participant
0 Kudos

We have four different ESS roles for the various types of users.

In the old Portal, users could type "ESS" in their browser and it would go to one URL. Users would see the appropriate options that were included in their assigned security role, all from the same URL.

Now that we are using NWBC on ABAP WebDynpro, there are 4 different URLS. Is there a way to send everyone to the same URL initially (by typing in ESS), and then it would go to the right page depending on their role?

Right now, we make the users go to a URL that has the correct role hardcoded in the URL.

Example of URLS that users must use:

http://hrsapsrv.mydomain.com:8000/nwbc/SAP_EMPLOYEE_ESS_WDA_3/?sap-client=440&sap-language=EN&sap-nw...

http://hrsapsrv.mydomain.com:8000/nwbc/INTERNATIONAL_SAP_EMPLOYEE_ESS_WDA_3/?sap-client=440&sap-lang...

http://hrsapsrv.mydomain.com:8000/nwbc/ADMIN_SAP_EMPLOYEE_ESS_WDA_3/?sap-client=440&sap-language=EN&...

http://hrsapsrv.mydomain.com:8000/nwbc/PARTTIME_SAP_EMPLOYEE_ESS_WDA_3/?sap-client=440&sap-language=...

Warm Regards,

CM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

It's an old post, but shows "Not Answered".  I'm going to add some thoughts for anyone who may stumble across the post.

Here are some high level ideas.  The details might be a bit much for a message board post.  How to do most of these can be found with additional searches.

1) Let a front end system forward the URL.  This could be WebDispatcher or another solution like a hardware load balancer.

2) Create an icm/HTTP/redirect_00 parameter.  With this you can specify a redirect path for each host name.

3) Create a virtual host for each host name with a default service pointing to the cockpit SICF service.  This is probably the most difficult path, but gives you additional flexibility.  You'll also need to be sure to create an SICF service for the cockpit.  If you don't, you won't be able to specify it as a default service for the virtual host.

Directing to a different URL for different hosts names may not be the only challenge.  If you are using https (as you should with this type of data) and don't have a wildcard certificate *.domain.com, you may need different certificates for each host name.  This could be accomplished with multiple ports or IP addresses and different SSL PSE's for each.  See the SSLCONFIG value in parameter icm/server_port_xx for details.

Sincerely,

Gary A.

Former Member
0 Kudos

You could navigate to a specific cockpit (/nwbc/<cockpit>) and define that cockpit in all 4 roles. This discussion thread belongs to the space.

Former Member
0 Kudos

May be u can use launch pad badi or any other and based on user role etc, you can change the url or its parameters etc