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

作者阿里云代理 文章分类 分类:linux图文教程 阅读次数 已被围观 721

这个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需要将近半小时:



image.png

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


image.png


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

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



image.png

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

本公司销售:阿里云新/老客户,只要购买阿里云,即可享受折上折优惠!>

我有话说: