到底什么样的 ABAP 系统能运行 Fiori 应用

有朋友在微信上问我两个问题:
S/4 fiori 是标配吗?
如果是 ERP R/3,可以激活 fiori 配置吗?
先回答第二个问题。
在 Jerry 的微信公众号文章SAP Fiori应用的三种部署方式曾经提到这张图:

ABAP Front-End Server 如上图红色方框所示,上面主要包含三部分代码:
Fiori UI 的框架代码,位于 software component SAP_UI 内。
Gateway 相关功能,位于 software component SAP_GWFND 内。Gateway 模块负责解析从 Fiori UI 通过 JavaScriot 发送过来的 HTTP 请求,进行处理并通过 RFC 调用 ABAP Back-End Server 的 API 执行业务逻辑。
Fiori UI 的应用代码,比如 CRM 的 My Lead,My Opportunity,S/4HANA 的 Materoial Management 等等。每个应用对应 Front-End Server 上一个 BSP 应用。
比如下图是 CRM Fiori 应用 My Opportunity 对应的源代码,位于 Software component UICRM001 内。这意味着为了使用这个 Fiori 应用,您也需要将该 software component 安装到 Front-End Server 里。

Front-End Server 简称 FES,需要的 ABAP 版本如下:

如果 FES 缺少 Fiori 应用对应的 software component,那么通过事务码/UI2/FLP 打开 launchpad,会看到一片空白:

回到问题本身,其实这两个问题彼此关联。
你可以通过这个链接查询某个 SAP 产品到底有无原生的 Fiori 标准应用。比如下图是 My Opportunity 的应用说明,清楚的注明了该应用是用于 SAP Business Suite 的 CRM。

如果您用的 SAP 产品在上面的链接里查不到 Fiori,那意味着您无法在该产品里使用原生的 Fiori 应用了。两种退而求其次的办法:
将 SAPGUI 的事务在浏览器里运行
S/4HANA 里大量的 SAPGUI 事务使用了这种做法,具体细节参考我的微信公众号文章那些年我用过的SAP IDE.


2. 将现有的同样基于浏览器的 WebUI 或者 ABAP Webdynpro 加上一层 Fiori 的皮肤,让这些应用从风格上看起来和原生的 Fiori 应用类似。
比如下图是 SAP 于 2018 年 2 月 28 日发布的新产品:Customer Management for S/4HANA 里呼叫中心的截图。风格看起来是不是和 Fiori 很像?

具体细节参考我的微信公众号文章Hello World, S/4HANA for Customer Management 1.0。
版权声明: 本文为 InfoQ 作者【Jerry Wang】的原创文章。
原文链接:【http://xie.infoq.cn/article/a3dec607c0c7247d0ae33963d】。文章转载请联系作者。
评论