SAP WebClient UI配置决定(configuration)的逻辑介绍-阿里云开发者社区

开发者社区> jerrywangsap> 正文

SAP WebClient UI配置决定(configuration)的逻辑介绍

简介: SAP WebClient UI配置决定(configuration)的逻辑介绍
+关注继续查看

This blog will try to introduce the Webclient UI Configuration determination logic to those friends who are new for this topic.


Suppose I log on Webclient UI via Business role SALESPRO and have opened Sales Order overview page and F2 to open technical information page, what are the meaning of the left four fields ( Searched For) and the right four fields ( ) ?


image.png


Figure1 Technical information page


In UI workbench, there are 8 standard configuration pre-delivered by SAP and 1 configuration done by customer.


image.png


Figure2 View configuration list for Sales Order detail view


The SAP configuration data is storaged in table BSP_DL_XMLSTRX2 while customer configuration in BSPC_DL_XMLSTRX2.


The configuration determination logic could be summarized as the following:


(1) The four fields config key, component usage, object type and object sub-type are evaluated by framework to determine which configuration should be loaded. The priorities of these four fields are different and hard coded by SAP, see following picture. These 22 table rows are called “Configuration Access sequence”.


(2) Customer configuration precedes SAP configuration. If a customer configuration is evaluated and accepted, the framework will stop the determination process and load it.


image.png


Figure3 Access sequnce table


Briefly speaking, the configuration determination logic could be concluded as below process:


(1) framework will build the access sequence table gt_access_sequence, which has 22 entries as listed in figure3.

(2) framework will load the 8 sap configuration information( config key, component usage, object type and object subtype ) to internal table it_config_sap

and 1 customer configuration to it_config_cus.

(3) LOOP AT gt_access_sequence, within each loop, check it_config_cus whether there are matched configuration. If found, mark it as “Found” configuration and stop the process. If not found ( ie, the 11 times LOOP finish ), the framework will LOOP AT gt_access_sequence again from beginning, but this time the table it_config_sap is checked instead.


Let’s use the SalesOrder detail view as example to make this process more clear:


(1) Framework will try to load a configuration which matches the four fields displayed in debugger. These four fields are just considered as “Searched for” fields shown in figure 1.


image.png


                                                                     

(2) load the SAP and customer configuration data:


image.png


The internal table looks exactly the same as what we see in UI workbench ( Figure 2 ):


image.png


(3) if the determination is being executed in a customer system, there are totally 22 ( 11 for customer configuration and 11 for SAP configuration ) loop until a match is found.


image.png


the gt_access_sequence is filled according to Figure3.


image.png


For each fields, X means the corresponding field in it_config_cus or it_config_sap is checked with the search key passed in ( figure4 ), space means .


image.pngimage.png




All 11 times LOOP for it_config_cus failed, so it_config_sap is now evaluated.

The matched one is finally found in the last attempt, and since it belongs to SAP configuration, so in figure1 “Standard Configuration” is marked for Configuration Origin.

image.png



版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
SpringCloud-微服务配置统一管理SpringCloud Config
前言:对于应用,配制文件通常是放在项目中管理的,它可能有spring、mybatis、log等等各种各样的配置文件和属性文件,另外你还可能有开发环境、测试环境、生产环境等,这样的话就得一式三份,若是传统应用还好说,如果是微服务呢,这样不光配置文件有可能冗余而且量大,繁重复杂,不好维护,这样的话就需要一个配置文件的统一管理了。
1358 0
SAP CRM Fiori Simulation Pipeline 设计介绍
SAP CRM Fiori Simulation Pipeline 设计介绍
7 0
Asp.net MVC 3 Convention over configuration 约定胜于配置
这个约定是我在Profession Asp.net MVC 3 这本书上看到写下的笔记,作为一个总结。因为原书是英文的,所以可能会有翻译不对的地方,我尽量使用原文。 MVC is designed around some sensible convention-based defaults that can be overridden as needed.This concept is commonly referred to as “Convention over configuration”. MVC被设计用来遵循以约定为基础。
637 0
PostgreSQL 最佳实践 - 在线逻辑备份与恢复介绍
背景 PostgreSQL 逻辑备份, 指在线备份数据库数据, DDL以SQL语句形式输出, 数据则可以以SQL语句或者固定分隔符(row格式)的形式输出. 备份时不影响其他用户对备份对象的DML操作. 本文主要介绍一下PostgreSQL提供的逻辑备份工具pg_dump, p
3648 0
J360-cloud SpringCloud系列一:分布式配置服务器ConfigServer
SpringCloud 提供了在分布式系统中快速构建工具(e.g. configuration management, service discovery, circuit breakers,intelligent routing, micro-proxy, control bus, one-tim
1446 0
Jerry在2020 SAP全球技术大会的分享:SAP Spartacus技术介绍的文字版
Jerry在2020 SAP全球技术大会的分享:SAP Spartacus技术介绍的文字版
14 0
SAP S/4HANA CDS View的访问控制实现:DCL介绍
SAP S/4HANA CDS View的访问控制实现:DCL介绍
13 0
+关注
2627
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载