1. 在C:/WINDOWS/system32/drivers/etc/hosts 文件中加入条目,
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
10.180.225.106 dga106.ndpaper.com
10.180.225.14 dgw005.ndpaper.com
221.238.240.155 exxept01.viides.com
其中IP可以在GUI中看到,而主机名有几种方法看:
(1)当WebDynpro中显示”页面无法显示“时,在白页上右键---属性---其中有主机地址res://ieframe.dll/dnserrordiagoff_webOC.htm#http://exxept01.viides.com:8001/sap/bc/wdvd?_vdrespkey=19YMQNGOLXRE03DDXLQBGP0VA&_vdframe=no_add_ui_lib&sap-client=800
(2)Tcode:RZ11,输入参数名:icm/host_name_full----显示,
缺省值
参数文件值 exxept01.viides.com
当前值 exxept01.viides.com
获取了主机名后在cmd命令行状态下ping该主机名,便可得到主机名对应IP
至此,便可添加host主机了。
2011.3.23
另外,如果是远程登录的系统,一定需要用VPN连,而不能直接在GUI中用SAProuter字符串连,这样同样会导致白页的问题。