[Web Dynpro]无法显示Layout的解决方法

标签:
杂谈 |
分类: ABAP-Other-Tech |
在进行webdynpro的开发过程中一般都会遇到这种情况,view页面的layout标签无法显示,如下图所示:
http://s2/middle/5ccd375bg98ff009eea21&690Dynpro]无法显示Layout的解决方法" TITLE="[Web
http://s7/middle/5ccd375bg98ff00ae0d16&690Dynpro]无法显示Layout的解决方法" TITLE="[Web
出现这种可能会有以下两种情况:
1、已经进行了相关的webdynpro的配置,这种情况可以把SICF的 default_host/sap/bc/wdvd的服务先取消激活,然后再重新激活此服务。
2、还没有进行相关的webdynpro的配置,请参看:
1) Internet Communication Manager
确认ICM中提供的HTTP/HTTPS运行正常.
Tcode: SMICM -> Display service.
ICM在SAP系统中应用中起着很重要的角色,HTTP请求到达ICM后,由ICM将HTTP请求转发到相应的Work process中,它还可以控制HTTP 对象的缓存等。
2) Internet Communication Framework (ICF)
ICF提供了ABAP AS中的工作进程处理HTTP请求的环境。 有一系列WDA需要的ICF service必需激活,可以使用Report: rsicf_service_activation (T-code:SICF_INST)来激活,有三组
l WEB DYNPRO ABAP
l WEB DYNPRO ABAP DESIGN TIME
l WEB DYNPRO ABAP TEST APPS
Tcode: SICF进入根据默认的执行程序,进入到维护服务,激活以下的服务:
3) 设置Fully Qualified Domain Names FQDN(经过本人测试,这一步骤可以不用了)
配置参数icm/host_name_full
Tcode: RZ10 这一步到目前为止还没有设置成功,不过没有关系了,反正对开发好像没有影响了。
4) 设置IP,域名映射
在C:\WINDOWS\system32\drivers\etc中设置IP到上一步设置域名的映射(测试,这步很关键)
参考:http://blog.csdn.net/F122300349/archive/2010/05/04/5556133.aspx
关于步骤3),参考note 773830
Summary
It is not clear which fully qualified host name (FQHN) the Internet
Communication Manager (ICM) is using.
The following different variables and parameters are available for setting the host name.
- SAPLOCALHOST
- SAPLOCALHOSTFULL
- icm/host_name_full
The ICM sets the FQHN using the following hierarchy.
The parameter SAPLOCALHOST is not fully qualified and is not used
by ICM for the services.
We recommend that you set either SAPLOCALHOSTFULL (for HA
configurations) or icm/host_name_full.
Note that SAPLOCALHOSTFULL or icm/host_name_full must correspond to
the actual or virtual host name of the local instance. Do not set
this parameter to the same value for different hosts. Refer also to
note 962955.
These changes are active with the following patch levels:
6.20 : 1556
6.40 :
The parameters described in this note apply to J2EE services with
the following patch levels:
Patch level:
6.20 : 1602
6.40 :