加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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

(2011-01-04 13:55:45)
标签:

杂谈

分类: ABAP-Other-Tech

在进行webdynpro的开发过程中一般都会遇到这种情况,view页面的layout标签无法显示,如下图所示:

http://s2/middle/5ccd375bg98ff009eea21&690Dynpro]无法显示Layout的解决方法" TITLE="[Web Dynpro]无法显示Layout的解决方法" />

http://s7/middle/5ccd375bg98ff00ae0d16&690Dynpro]无法显示Layout的解决方法" TITLE="[Web Dynpro]无法显示Layout的解决方法" />
 

出现这种可能会有以下两种情况:

1、已经进行了相关的webdynpro的配置,这种情况可以把SICF的 default_host/sap/bc/wdvd的服务先取消激活,然后再重新激活此服务。

2、还没有进行相关的webdynpro的配置,请参看:

1) Internet Communication Manager

确认ICM中提供的HTTP/HTTPS运行正常.

Tcode: SMICM -> Display service.

 http://s1/middle/5ccd375bg98ff00ccae20&690Dynpro]无法显示Layout的解决方法" TITLE="[Web Dynpro]无法显示Layout的解决方法" />

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

     WDA运行时环境所需要的ICF Service

l WEB DYNPRO ABAP DESIGN TIME

    在ABAP Workbench中的开发WDA时使用的view designer所需要的ICF Service

l WEB DYNPRO ABAP TEST APPS

    测试WDA时所需要的ICF Service.

Tcode: SICF进入根据默认的执行程序,进入到维护服务,激活以下的服务:

    default_host/sap/option/*

    default_host/sap/public/bc/*

    default_host/sap/bc/wdvd

    default_host/sap/bc/webdynpro/*

    星号表示激活该节点下的所有服务。

 http://s7/middle/5ccd375bg98ff00dbe536&690Dynpro]无法显示Layout的解决方法" TITLE="[Web Dynpro]无法显示Layout的解决方法" />

 

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

     http://blog.csdn.net/F122300349/archive/2010/04/26/5530557.aspx

     note 1088717,1009930

关于步骤3),参考note 773830

Summary

Symptom

It is not clear which fully qualified host name (FQHN) the Internet Communication Manager (ICM) is using.

Reason and Prerequisites

The following different variables and parameters are available for setting the host name.

  • SAPLOCALHOST
  • SAPLOCALHOSTFULL
  • icm/host_name_full

 

Solution

The ICM sets the FQHN using the following hierarchy.

1. The parameter SAPLOCALHOSTFULL in the SAP profile (recommended for high availability configurations) has the highest priority. If it is set in a profile file, the ICM uses this value as the FQHN. Note: the system default value of SAPLOCALHOSTFULL contains the host name without domain, so the system default is ignored by the ICM.
2. If the parameter is not set, icm/host_name_full is analyzed.
3. If this parameter is not set either, the ICM uses the FQHN of the operating system. For this reason, check the settings of the hosts file at the operating system level.


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 :   27

The parameters described in this note apply to J2EE services with the following patch levels:
Patch level:
6.20 : 1602
6.40 :   32

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有