SAP Hybris的build callback和SAP ABAP的SGEN事务码

这个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.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

发布了6740 篇原创文章 · 获赞 646 · 访问量 112万+

猜你喜欢

转载自blog.csdn.net/i042416/article/details/104502057