Fiori LaunchPad安装、配置、部署

来源:互联网 发布:centos 5.5 下载地址 编辑:程序博客网 时间:2024/06/06 07:15

Fiori LanuchPad(快速启动板) 安装、配置、部署


步骤分解:


**△**Activating SAP Gateway OData Services(激活LaunchPad相关的OData服务)

  1. 在激活服务之前需要先设置系统别名为Local System,设置路径:运行事务码SPRO,SAP NetWeaver >Gateway > OData Channel > Configuration > Connection Settings > SAP Gateway to SAP System,运行Manage SAP System Aliases:

  2. 选择路径:SAP NetWeaver > Gateway > OData Channel > Administration > General Settings > Activate and Maintain Services,激活下列OData 服务;

    /UI2/PAGE_BUILDER_CONF –(launchpad designer用到)
    /UI2/PAGE_BUILDER_CUST –(launchpad designer用到)
    /UI2/PAGE_BUILDER_PERS –(launchpad 用到)
    /UI2/TRANSPORT –(launchpad designer用到)
    /UI2/INTEROP –( launchpad and launchpad designer都用到)

  3. 上述Odata服务激活以后,各访问一次看是否正常;

**△**Configuring Systems with Several Application Servers(集群模式下,确保 launchpad designer请求发往同一服务器)

  1. 运行事务码SMLG,检查登录服务是否已经配置;

  2. 负载均衡设置(略),具体参考http://help.sap.com/,搜索HTTP Load Distribution


**△**Configuring ICF Nodes(配置、激活internet通信框架下的服务对应节点)

  1. 需要激活的服务节点:


    /default_host/sap/bc/ui2/start_up

    /default_host/sap/bc/ui5_ui5/ui2/ushell

    /default_host/sap/bc/ui5_ui5/sap/arsrvc_upb_admn

    /default_host/sap/bc/ui5_ui5/sap/ar_srvc_news

    /default_host/sap/bc/ui5_ui5/sap/ar_srvc_launch

    /default_host/sap/public/bc/ui5_ui5/

    /default_host/sap/public/bc/ui2/

    /default_host/sap/bc/ui2/nwbc/ for NWBC for HTML
  2. 激活方式一,运行事务代码SICF,找到对应节点,激活即可;



    注意:点击激活后,会弹出一个现在对话框,需要选择激活该节点及该节点下的所有子节点!

  3. 激活方式二,运行激活ODATA服务的事务代码 /o/IWFND/MAINT_SERVICE,找到节点对应的ODATA服务;



  4. 为节点路径定义外部访问别名,步骤如下:

    1、In your ABAP front-end system, access transaction SICF and choose Execute. The Maintain Services screen appears.

    2、Choose Goto > External Alias .

    3、Select Default Host and choose External Alias > Create .

    4、Choose Trg Element and navigate to SAP > BC > UI5_UI5 > SAP .

    5、Double-click the SAP node .

    6、In the External Alias field, enter /sap/bc/ui5_ui5/sap and enter a meaningful description .

    7、Choose the Logon Data tab. Leave the User field blank. In the Procedure field, select Required with Logon Data .

    8、the client information as required and save your entries .

    9、Log on to your SAP Gateway system, call transaction SICF and navigate to the respective service that the launchpad and launchpad designer uses.

    10、Double-click the service PAGE_BUILDER_CONF .

    11、Choose the Logon Data tab. In the Procedure field, select Required with Logon Data.

    12、Repeat the steps (10- 11) for the following services -/UI2/PAGE_BUILDER_CUST, /UI2/PAGE_BUILDER_PERS, /UI2/TRANSPORT,/UI2/INTEROP.


**△**Configuring a Login Screen for the Launchpad(配置LaunchPad登录、注销页)

  1. 首先SAP Fiori登陆页是可以客制化的;

  2. 找到Fiori LaunchPad ICF节点,进行登录页面设置;


  3. 注销页面设置;

  4. 最终实现结果,通过访问http://ip+端口/fiori,打开Fiori LanuchPad;

    SE80->BSP Application->/UI2/LAUNCHPAGE


**△**Configuring SAP Web Dispatcher(http/https请求调度器)

  1. 什么是SAP Web Dispatcher?

  2. 延伸一下,什么是SAP NETWARE GateWay? GateWay 与 Web Dispatcher有什么关系?


    我认为,没有必然联系

  3. 看一个配置DEMO;

**△**Defining the Host Name of SAP Web Dispatcher(定义主机名及端口)

  1. 运行事务代码RZ10检查参数文件;


  2. 检查参数;

  3. 运行事务代码smicm,检查通信管理器运行状态;


  4. 修改本地hosts文件,确保能够正常访问sap应用服务器;

**△**Configuring the Launchpad(LaunchPad 配置)

  1. 配置LaunchPad的方式有多种,个人比较倾向于通过修改FioriLaunchPad.html文件的方式,很多参数(例如客户端号、语言、主题风格等)系统有默认配置,当我们有客制化需求时,需要关注下本章节,这里只做简单介绍;

  2. 当同一参数在不同方式下均有设置时,作用的优先级顺序为:


**△**Configuring Authorization Roles(配置运行Fiori LaunchPad必要的角色权限)

  1. 运行事务代码/IWFND/MAINT_SERVICE,打开激活服务窗口,挨个选中服务,执行“调用浏览器”操作
  2. 运行事务代码PFCG,复制系统角色“SAP_UI2_ADMIN ”&“SAP_UI2_USER_700 ”,复制后的名称为别为:“ZSAP_UI2_ADMIN”&“ZSAP_UI2_USER_700 ”,SAP_UI2_ADMIN是一个复合角色,包含以下角色:

    SAP_UI2_ADMIN_700 for SAP NetWeaver 7.0

    SAP_UI2_ADMIN_702 for SAP NetWeaver 7.0 enhancement package 2

    SAP_UI2_ADMIN_731 for SAP NetWeaver 7.0 enhancement package 3 and SAP NetWeaver 7.3 enhancement package 1

  3. 角色ZSAP_UI2_ADMINZSAP_UI2_USER_700添加各自的菜单权限;

      ZSAP_UI2_ADMIN
    • ZINTEROP_0001
    • ZPAGE_BUILDER_PERS_0001
    • ZPAGE_BUILDER_CUST_0001
    • ZPAGE_BUILDER_CONF_0001
    • ZTRANSPORT_0001

      ZSAP_UI2_USER_700
    • ZINTEROP_0001
    • ZPAGE_BUILDER_PERS_0001

  4. 切换到权限页签,点击更改权限数据,生成权限对象;

  5. 分配角色给用户;

**△**Launching the Launchpad(访问LaunchPad)

  1. 到这里我们就可以一睹LaunchPad的芳容了,访问地址:http://saph4d.com.cn:8010/fiori,如图:


**△**Launchpad Designer(LaunchPad设计器)

  1. 参考章节“Configuring a Login Screen for the Launchpad”配置设计器的外部访问别名;

  2. 访问地址:[http://saph4d.com.cn:8010/designer];

  3. 权限:

    • /UI2/INTEROP【普通用户】
    • /UI2/LAUNCHPAD【普通用户】
    • /UI2/PAGE_BUILDER_PERS【普通用户】
    • /UI2/PAGE_BUILDER_CONF【管理员】
    • /UI2/PAGE_BUILDER_CUST【管理员】

**△**Configuring Tiles, Catalogs, and Groups(设置Tile、磁贴组、磁贴目录)

这里通过讲解如何发布一个自开发Fiori应用到LaunchPad来阐述磁贴组、磁贴目录等的设置;

  1. SAP端创建WEB APP ,并上传相应的客户端APP站点文件到相应的目录;


    • SE80->创建BSP页面应用程序
    • BSP页面应用程序创建完成以后,上传站点文件到相应目录

    • PS:这里导入站点文件还可以通过程序BSP_UPDATE_MIMEREPOS 具体用法可以网上搜一下。

  2. 进入FIORI应用发布地址,创建一个新的Catalog(不知道是谁翻译为“磁铁目录”);


  3. 创建TargetMapping,这一步的配置将决定我们点击“订货意向单提交”这个catalog,将会打开哪一个web app;

  • ![](http://i.imgur.com/VHwTonO.png)
  • ![](http://i.imgur.com/Hq1py1H.png)
  1. 创建TITLE;

  2. 创建GROUP 顾名思义我们可以将多个catalog分组到一起 ,在launchpad页面可以根据组配置菜单 ,相对比较好理解,这里不再赘述。

  3. 经过上面的步骤以后,这里配置角色很重要,否则在launchpad页面无法看到我们前面创建的catalog,系统中手机下单2个catalog对应的角色为:ZSAP_FIORI_DH_01

    • 如图添加SAP FIORI 磁贴目录打开就能看到之前创建的catalog

参考


部分资料来源于:https://help.sap.com
author:杨大山 qq技术交流群:242573682

3 0