Skip to Content

In some cases users prefer to login to their SAP systems via the web. It could be because they travel alot, or they do not have access to their computers all the time. In such cases SAP HTML can help them alot.

This document describes how to configure SAP HTML on your SAP system:

1- Login to SAP system

2- Run t-code SICF to start activating the required services

/wp-content/uploads/2014/02/5_381690.png

3- Click on execute

/wp-content/uploads/2014/02/5_381690.png

4- Navigate to /default_host/sap/bc/gui/sap/its/webgui and right click on to activate it

/wp-content/uploads/2014/02/5_381690.png

5- Double click on webgui service to make sure it is activated

/wp-content/uploads/2014/02/5_381690.png

6- Navigate to the second required service /default_host/sap/public/bc/ur and right click on it to activate it

/wp-content/uploads/2014/02/5_381690.png

7- Double click on ur service to make sure it is activated

/wp-content/uploads/2014/02/5_381690.png

8- Navigate to the third required service /default_host/sap/public/bc/its/mimes

  and right click on it to activate it

/wp-content/uploads/2014/02/5_381690.png

9- Double click on mimes service to make sure it is activated

/wp-content/uploads/2014/02/5_381690.png

10- Run t-code SE80 to go to the ABAP Workbench

/wp-content/uploads/2014/02/5_381690.png

11- From the repository browser in your abap workbench from the dropdown list choose internet services

/wp-content/uploads/2014/02/5_381690.png

12- Type webgui in the field and press enter

/wp-content/uploads/2014/02/5_381690.png

13- Give the value 1 to webgui parameter as the below:

/wp-content/uploads/2014/02/5_381690.png

14- Save your changes

/wp-content/uploads/2014/02/5_381690.png

15- Go RZ10 and make sure that you have both parameters set, and if not then you need to define them:

login/accept_sso2_ticket = 1

login/create_sso2_ticket = 2

/wp-content/uploads/2014/02/5_381690.png

/wp-content/uploads/2014/02/5_381690.png

16- Run the t-code  SIAC_PUBLISH_ALL_INTERNAL  to start activating the services

/wp-content/uploads/2014/02/5_381690.png

17- The activation will start as you will notice at the bottom of your screen

18- When the activation is done you should see a screen as the below mentioning that the activation was done successfully

/wp-content/uploads/2014/02/5_381690.png

19- Now it is time to test what you did so far. To do that go to your browser and run http://your server

IP or name:port number/sap/bc/gui/sap/its/webgui

/wp-content/uploads/2014/02/5_381690.png

20- Your web page will look like the following:

/wp-content/uploads/2014/02/5_381690.png


21- Your initial sap screen will look like the following:

/wp-content/uploads/2014/02/5_381690.png


22- In case you face issues with the compatibility on your browser you can fix it by going to your internet explorer –> Tools –> Compatibility View Settings –>  check the box: display all website in compatibility view

/wp-content/uploads/2014/02/5_381690.png

/wp-content/uploads/2014/02/5_381690.png


SAP GUI HTML Public Access through a public IP

You have the option in accessing your SAP system via SAP GUI HTML using a public IP which will allow you to access your SAP system via public natting without the need to have a private VPN “Virtual private network”.


The way how I did was that I took

and gave it to the network team, and mentioned to them my private internal IP for my SAP system along with the port 8000 which I am using for http.


From the network team side, they linked “http://private IP:8000/sap/bc/gui/sap/its/webgui” into a public IP they have so when ever I put “http:// public IP:8000/sap/bc/gui/sap/its/webgui” it directs me to the SAP GUI HTML.


Hope this was helpful


Best Regards

~Amal Aloun


To report this post you need to login first.

20 Comments

You must be Logged on to comment or reply to a post.

  1. mohhh ksla

    Thanks, very helpful!

    is the connection secure? Can I use SSL or HTTPS for these type of connections?

    What about the speed of respond time?

    Thank you very much 🙂

    (0) 
    1. Amal Aloun Post author

      Dear Mohammed;

      Yes it is secure. Incase you have a public IP for your server then you will be able to run SAP GUI HTML from any place outside your network.

      You can use HTTPS as the following:

      http://your serverIP or name:port number for https/sap/bc/gui/sap/its/webgui

      I use both http, and https and both are working fine.

      The performance is the same as the SAP GUI application on my machine. Both SAP GUI, and SAP GUI HTML have the same performance, and response time.

      Best Regards

      ~Amal Aloun

      (0) 
  2. mohhh ksla

    Thanks Amal,

    Does the SAP web cover all modules and transactions like SAP GUI application or there some limitations when using SAP Web ?

    what if I would like to add SSL?

    Thank you very much 🙂

    (0) 
  3. Noé Rodriguez

    Hello Amal,

    Once the configuration has been done, do you know if there´s log in limitations? I mean, can just used one tab o window with the same credentials? Im asking you because when i use my credencials to access and open a new tab in the same web broswer, i can access to 4 or 5.. even 20 tabs with the same credecials.

    Thank you Amal.

    (0) 
    1. Amal Aloun Post author

      Dear Noe;

      This has to do with your browser cookies. When you remove your browser cookies you will be able to provide your sap credentials each time you open a new tab.

      To remove your cookies on fir fox do the following:

      1- click on the lock icon next to your url then click on more information:

      /wp-content/uploads/2014/05/333_460719.png

      2- click on security tab and click on view cookies:

      /wp-content/uploads/2014/05/555_460720.png

      3- click on remove all cookies:

      /wp-content/uploads/2014/05/111_460722.png

      Hope this can fix your issue.

      Best Regards

      ~Amal Aloun

      (0) 
      1. Noé Rodriguez

        Hello Amal,

        Hope you are doing well today,

        Unfortunately, the issue persist after follow this steps, do you if this can be related with SAP GUI Web cofiguration or with the web browser configuration? The issue persist in IE, Google Chrome and Firefox, also the session can be performed from another computer.

        Thank you Amal

        Kind regards

        (0) 
  4. Utkarsha Khadke

    Thank you Amal 🙂 This is a very nice document. I wanted to know if there was any way we could access our SAP GUI from private IP. Looks like i will need to talk to my network guys to get it configured.

    I also wanted to know the use of the second (bc/ur) and third service (bc/its/mimes) that you activated? Can’t we simply activate the webgui service and use it? If not, why?

    Please let me know.

    Thanks in advance.

    Regards,

    Utkarsha

    (0) 
    1. Amal Aloun Post author

      Dear Utkarsha;

      By default you will be redirected to your private IP when you run it in SE80.

      If you put Private IP:port number/sap/bc/gui/sap/its/webgui after you do the required configuration you will be able to work with your gui on the web.

      Regarding the second point as Oisin mentioned bc/its/mimes is required.

      Best Regards

      ~Amal Aloun

      (0) 
  5. Gavin Dack

    Hello Amal,

    Great document. Regarding point 19, do you have any information regarding Single Sign On.

    I’m currently working with a client and implementing the WEBGUI process, we currently have SSO set-up within the ABAP system and it works well.

    How do i set-up SSO when calling the URL

    (0) 
  6. Saurabh Pandey

    Amal,

    Pretty useful document with the required steps for setup. Thanks for posting it. I am able to activate the WEBGUI service and I can go to SAP GUI HTML page but when I put my login credentials there, it throws an 500 Internal server error. Same setup is working fine on my other system. Any idea what could be wrong here?

    Thanks,

    Saurabh

    (0) 
    1. Utkarsha Khadke

      It is most likely that the system on which it is not working, is not within your internal network. Please check if you can log into your SAP network on that system.

      (0) 
  7. Keyvan Sharif

    Thanks Amal,

    very helpful. This Documentation (part: 16- Run the T-code SIAC_PUBLISH_ALL_INTERNAL) resolved our problem.

    Cheers

    Keyvan Sharif

    (0) 
  8. Michael Torres

    Thank you Amal,  This was very helpful, I was able to create and execute SAPGUI for HTML but has anyone tried using SAML2.0 for SSO? 

    Regards,

    M. Torres

    (0) 
  9. Emilio Cano

    Thank you Amal,We have a doubt of how can pass the code of a transaction SAP and a list of parameters for the transaction through SAP GUI HTML for Web Access, is this possible? How can we do it?

    Thanks a lot
     

    (0) 
  10. Akintunde Odenuga

    Hi All,

     

    Thank you for the document.

    I have an issue whereby after the webgui activation works well, but when I input the username and password, nothing happens no changes at all, it doesn’t take me to the initial SAP screen.

     

    (0) 

Leave a Reply