1. Use the SAP router to log on to the SAP server from the Internet (method 1). The self-built LAN structure is as follows: SAP server IP Address: 192.168.0.2, Which is set as DMZ in the router.
Enable the SAP router on the SAP server to build the SAP router easily: 1. Find the SAP installation directory (for example, D: \ usr \ sap \ ECC \ DVEBMGS00 \ exe \ example). You can see the saprouter.exe file.
2. Use notepad to create a file named SAPROUTTAB (with no extension). Enter P *** and save the file.
3. open the SERVICERS file under the c: \ system32 \ drivers \ etc directory and check whether the following fields exist: sapdpXX 32XX/tcp (XX is the system number of your SAP server) sapdp99 3299/tcp normally, after SAP is installed, the system automatically adds the content. If not, add the content and save it.
4. modify the Host file in the c: \ system32 \ drivers \ etc directory and add the following fields: 127.0.0.1 localhost 192.168.0.2 SAPECC 192.168.0.2 and SAPEC. Modify the settings according to your actual situation. Note that the Host file must be restarted to take effect.
5. create a batch file (based on the actual situation on my computer) @ Echo off d: cd D: \ usr \ sap \ ECC \ SYS \ exe \ uc \ NTAMD64 saprouter-r
After running, the system will prompt that the wildcard * is used, and the window will not be closed automatically.
Note: it is better to run saprouter first in the path of saprouter.
6. Apply for a dynamic domain name, such as a peanut shell, and install it on the server.
7. set an SAP connection in the sap gui. Other settings are the same as those for Intranet logon. add/H/domainname/H/to the SAP router. For example, the dynamic domain name is abc.domain.cn, that is,/H/abc.domain.cn/H/ when it is on the Internet, you can use this Internet connection to log on to SAP.
Of course, you can also directly use the IP address. If you find that the IP address is 123.456.789.111, then/H/123.456.789.111/H/, but you have to change it each time.
2. Use SAP router to log on to the SAP server from the Internet (method 2)
1. Set the route direction to 3200-3210 and switch to the SAP Intranet address (each SYSNUM has a corresponding port number)
2. You can specify the domain name and IP address to log on to SAP.
This method is simpler to write.