Why UI correction note always has a big static size

简介: Prerequisite knowledge

A simple tool to calculate the total size of a BSP application

Some more technical details about SAP note


My Analysis

Take this simple note for example:

image.png

Sara has only changed two lines in JavaScript code ( displayed below ):

image.png

image.png

However, when downloading this note, the size of compressed XML stream has unbelievable size of 3.2MB.

image.png

Among which the delta change occupies 1.7MB:

image.png

Why? Please have a look at decompressed XML content here.

image.png

image.png

However, apart from this code change made by Sara, there are also lots of unrelated code or comment which are also included into the delta change area:

i18n property data


image.png

unrelated Javascript code

image.png

Unrelated XML view source code

image.pngIf you use Jerry’s tool to calculate the total static size of My Appointment application, you can get size: 1.5MB.

image.png

Please notice that this is only the static size. In the runtime, ABAP note tool needs more memory to unpack and apply the delta change to customer system as explained clearly in ABAP help.


image.png

It means the correction instruction for UI note DOES NOT contain the delta code change, but actually contains lots of other unused statement, which leads to the unnecessary big size of note.


相关文章
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
SAP CRM WebClient UI上以html格式显示note的问题讨论
SAP CRM WebClient UI上以html格式显示note的问题讨论
122 0
SAP CRM WebClient UI上以html格式显示note的问题讨论
|
SQL API
Fiori UI上创建的note和web client UI上note的对应关系
Fiori UI上创建的note和web client UI上note的对应关系
Fiori UI上创建的note和web client UI上note的对应关系
|
XML JavaScript 前端开发
Why UI correction note always has a big static size
Why UI correction note always has a big static size
Why UI correction note always has a big static size
|
1月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
|
1月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
|
1月前
|
前端开发 JavaScript API
SAP UI5 sap.ui.require.toUrl 的作用介绍
SAP UI5 sap.ui.require.toUrl 的作用介绍
|
1月前
|
JSON 前端开发 测试技术
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
SAP UI5 sap.ui.core.util.MockServer.simulate 方法介绍
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版