SAP ABAP SICF事务码和SAP Hybris的链式过滤器filter chain

网友投稿 738 2022-05-30

ABAP SICF

SICF里的node是树上的节点。

如果当前节点的handler class为空:

则回溯到其parent节点,直至定位到一个有handler class的node位置。

SAP ABAP SICF事务码和SAP Hybris的链式过滤器filter chain

hybris

通过debug会看到有一堆的filter参与进去:

Hybris帮助文档有一些常用filter的介绍:

上面debug screenshot里诸多的filter是如何串成一个chain的?在storefront的web.xml里查找到filter chain的名称:storefrontTenantFilterChain

filter-class是Spring标准的class

再到config folder下找到spring-filter-config.xml,把chain id storefrontTenantDefaultFilterChain抄下来:

这个chain里包含的所有filter就定义在这里:

上面这些filter都是Hybris开发人员开发的filter,按照顺序出现在runtime chain call里。

这个issue AIM in CRM and C4C里介绍了C4C和CRM的After import mechanism.

在Hybris里,客户把2个G的Hybris安装包下载下来,然后在命令行里运行命令安装,实际上就是用ant的build命令。

为什么要执行build:

The reasons why you need to build SAP Hybris Commerce are as follows:

(1) SAP Hybris Commerce is an extendable complex solution, and it has a very flexible structure. During the build process, all referenced components are integrated.

(2) Runtime files and configuration files are created, prepared, and validated.

(3) Some parts of SAP Hybris Commerce are compiled, such as ServiceLayer and Other SAP Hybris Commerce components you have implemented.

在我电脑上build需要将近半小时:

这个build起的作用ABAPer可以理解成ABAP里的tcode SGEN:

Hybris比SGEN强大之处在于能允许partner自定义build logic,相当于在Hybris标准的build 逻辑执行的过程中,定义了一些"BAdI definition".

Partner可以通过编辑extension下的buildcallbacks.xml来定义custom build behavior:

Regarding more custom build logic, please refer to SAP 2298535 - How to customize build behavior.

在C4C mobile上有一个built-in的function用于measure network latency,凡遇到客户报mobile performance问题时,我们都会让客户附上该latency的数据。

SAP官方建议的latency是200ms以下。

What is necessary for a better experience working in online?

Minimum bandwidth requirements for mobile devices using SAP Hybris Cloud for

Customer apps.

Upstream: 2 mbps

Downstream: 2 mbps

Latency: 200ms or better

ABAP web前端 数据库

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:利用Python写属于自己的翻译命令行
下一篇:从#65279字符看dede模板页面编码问题
相关文章