自定義hybris生成訂單的ID格式
954
2025-03-31
ABAP SICF
SICF里的node是樹上的節點。
如果當前節點的handler class為空:
則回溯到其parent節點,直至定位到一個有handler class的node位置。
通過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小時內刪除侵權內容。
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。