SAP WebClient UI页面标签的决定逻辑介绍

简介: SAP WebClient UI页面标签的决定逻辑介绍

In this blog we have discussed the logic how the correct UI view configuration is chosen by framework in the runtime.


You may have observed that for each field, there is the attribute “Label Origin”, which indicates where the label text comes from.


image.png


There are three types of text origin and their determination priority are sorted in the descending order:


Text Repository

Design layer

ABAP Dictionary

See an example:

I just create a simple component with component set PROD_ALL loaded, and add two fields from Genil Model node Product: PRODUCT_ID and OBJECT_FAMILY_DESC.

For PRODUCT_ID, I don’t change its label so its Label Origin is “Data Dictionary”.

image.png



for the latter, I change the default one to “Description 1”, so the origin changes to “Text Repository”, since it has higher priority.


image.png


If I assign the context node to the Design layer object PRD_MATSRV as below,


image.png


and make some changes on the design object entity:


image.png


the origin for PRODUCT_ID changes to “Design layer”, since it has higher priority than “ABAP Dictionary”.


To debug the label determination logic yourself, you can set BP in method below. The logic is the same as UI configuration determination logic – customer stuff always precedes SAP stuff.



image.png

or use transaction code WCF_FA to get field origin overview of a given UI component:

image.png




相关文章
|
13天前
|
JavaScript 前端开发
如何优雅的只在当前页面中覆盖ui库中组件的样式(vue的问题)
如何优雅的只在当前页面中覆盖ui库中组件的样式(vue的问题)
12 0
如何优雅的只在当前页面中覆盖ui库中组件的样式(vue的问题)
|
22天前
|
机器学习/深度学习 人工智能 前端开发
机器学习PAI常见问题之web ui 项目启动后页面打不开如何解决
PAI(平台为智能,Platform for Artificial Intelligence)是阿里云提供的一个全面的人工智能开发平台,旨在为开发者提供机器学习、深度学习等人工智能技术的模型训练、优化和部署服务。以下是PAI平台使用中的一些常见问题及其答案汇总,帮助用户解决在使用过程中遇到的问题。
|
1月前
|
存储 数据管理 数据处理
SAP CRM 里 Attachment 搜索的实现逻辑介绍
SAP CRM 里 Attachment 搜索的实现逻辑介绍
18 0
|
1月前
|
前端开发 JavaScript API
SAP UI5 sap.ui.require.toUrl 的作用介绍
SAP UI5 sap.ui.require.toUrl 的作用介绍
28 0
|
1月前
|
JSON 前端开发 测试技术
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
21 0
|
1月前
在 CRM WebClient UI Attachment 区域,创建支持 Web Service 的 Word 文档
在 CRM WebClient UI Attachment 区域,创建支持 Web Service 的 Word 文档
21 0
|
1月前
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
20 0
|
2月前
|
JavaScript 前端开发 数据库
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
21 0
|
13天前
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
12 1
什么是 SAP ABAP 里的 Subscreen
|
1月前
|
BI 数据库
SAP ABAP ALV 报表单击某列后执行某段 ABAP 逻辑的实现方式 - hotspot 行为实现试读版
SAP ABAP ALV 报表单击某列后执行某段 ABAP 逻辑的实现方式 - hotspot 行为实现试读版
23 0