Skip to Content

SAP Webgui URL redirect to Web Dispatcher

Aug 14, 2017 at 02:46 PM


avatar image

We are currently using SAML2 SSO, and all traffic is going through webdispatcher to our S/4 Hana installation. Everything works normally as long as traffic is going through the dispatcher.

Ex. https://dispatcher:port/sap/bc/gui/sap/its/webgui/

If traffic goes directly to the SAP application server, we end up getting Relay mapping errors, which are probably expected

Ex. https://S4appserver:port//sap/bc/gui/sap/its/webgui/

My question is, how to do redirect from direct hits of the app server: url https://S4appserver:port/sap/bc/gui/sap/its/webgui/ TO the web dispatcher https://dispatcher:port/sap/bc/gui/sap/its/webgui/

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Juan Reyes
Aug 15, 2017 at 03:34 PM

Hi Ryan,

The simple answer is you can't, even if you could redirecting the ICF URL to go to the web-dispatcher URL it will only create a loop

End users should have not been given the direct URL to ICF, You will need to educate your users to use the Web dispatcher.

Regards, JP

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks for responding Juan.

The users do not have the url. The issue came from auto generated MDG emails that contained the application server url.

After adding entries into table HTTPURLLOC, MDG automatically started using the dispatcher url instead of the application url. I actually didn't expect the result, but I'm very happy with it.

Thanks again!


That sounds good!