SAP UI configuration determination的优先级

简介:

CRM WebUI的text determination logic:
https://blogs.sap.com/2014/03/07/ui-text-label-determination-logic/

优先级从高到低: Text Repository-> Design layer -> ABAP Dictionary
WebUI configuration determination:
https://blogs.sap.com/2014/03/07/ui-configuration-determination-logic-introduction/

Custom defined configuration优先级高于SAP configuration

Hybris

Hybris里的配置是通过键值对的方式写到配置文件里的,配置文件有三种不同的位置,按照优先级从高到低影响最后runtime该配置的value.
这个优先级的design在我看来很怪,和SAP传统的product设计正好相反:server根目录下的配置文件具有最高的优先级,不同的module folder下的次之,platform folder下的配置文件是配置文件里优先级最低的,最后应用代码提供default value的优先级反而是最低的,这和ABAP里应用程序可以overwrite表里的配置从而设置新的default value的behavior正好相反。

下图是一个例子:如果四个地方设置了不同的default value,最后起作用的反而是根目录下的配置文件: 囧

nodejs里,我们用node命令执行一个module,node在文件系统上找该module的实现文件,也有一系列优先级不同的determination procedure。从debugger里能很清楚看到:

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
JavaScript
SAP UI configuration determination的优先级
SAP UI configuration determination的优先级
110 0
SAP UI configuration determination的优先级
Important table for Fiori launchpad Designer and configuration
Important table for Fiori launchpad Designer and configuration
Important table for Fiori launchpad Designer and configuration
SAP Fiori:why my filter by titleID does not work
SAP Fiori:why my filter by titleID does not work
107 0
SAP Fiori:why my filter by titleID does not work
SAP Fiori :why my filter for category does not work
SAP Fiori :why my filter for category does not work
SAP Fiori :why my filter for category does not work
Fiori configuration edit also needs enqueue
Fiori configuration edit also needs enqueue
88 0
Fiori configuration edit also needs enqueue
SAP ABAP Fiori Launchpad role based page - cached_sap_menu - 基于角色的页面显示原理
Created by Jerry Wang, last modified on Aug 26, 2015 GET_ROLE_BASED_PAGE_USAGES GET_START_UP_MENU cached_navigation_tree /ui2/nwbc_nav_tr SUSR_USER_LOGONDATA_GET IMPORT FROM DATABASE session buffer get_user_info get_roles Read list of roles for the user: NAVIGATION_SELECT_AGRS_OF_USER PRGN_READ_ROLE
112 0
SAP ABAP Fiori Launchpad role based page - cached_sap_menu - 基于角色的页面显示原理
How to switch on HANA live configuration customizing
How to switch on HANA live configuration customizing
114 0
How to switch on HANA live configuration customizing
SAP C4C Embedded Component里Lead ID和Lead TI页面的关系
SAP C4C Embedded Component里Lead ID和Lead TI页面的关系
SAP C4C Embedded Component里Lead ID和Lead TI页面的关系
一段在SAP C4C里触发S4HANA outbound Delivery的ABSL代码
一段在SAP C4C里触发S4HANA outbound Delivery的ABSL代码