SAP Hybris的build callback和SAP ABAP的SGEN事務碼

i042416發表於2020-03-05

這個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需要將近半小時:

SAP Hybris的build callback和SAP ABAP的SGEN事務碼

這個build起的作用ABAPer可以理解成ABAP裡的tcode SGEN:

SAP Hybris的build callback和SAP ABAP的SGEN事務碼

Hybris比SGEN強大之處在於能允許partner自定義build logic,相當於在Hybris標準的build 邏輯執行的過程中,定義了一些"BAdI definition".

Partner可以通過編輯extension下的buildcallbacks.xml來定義custom build behavior:

SAP Hybris的build callback和SAP ABAP的SGEN事務碼

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


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2678580/,如需轉載,請註明出處,否則將追究法律責任。

相關文章