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.


相关文章
|
11月前
SAP UI5 SimpleForm 在 size XL 下的布局开发
SAP UI5 SimpleForm 在 size XL 下的布局开发
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
106 0
SAP CRM WebClient UI上note下拉列表里类型的过滤逻辑
SAP CRM WebClient UI上以html格式显示note的问题讨论
SAP CRM WebClient UI上以html格式显示note的问题讨论
133 0
SAP CRM WebClient UI上以html格式显示note的问题讨论
|
SQL API
Fiori UI上创建的note和web client UI上note的对应关系
Fiori UI上创建的note和web client UI上note的对应关系
106 0
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
ui5里周期性检查window size大小的变化
Created by Jerry Wang, last modified on May 18, 2015
ui5里周期性检查window size大小的变化
|
Web App开发 容器
ui5里周期性检查window size大小的变化
Created by Jerry Wang, last modified on May 18, 2015
100 0
ui5里周期性检查window size大小的变化
|
iOS开发 容器
iOS8开发~UI布局(二)storyboard中autolayout和size class的使用详解
<div class="article_title" style="margin:5px 0px; font-size:20px; line-height:30px; font-family:'Microsoft YaHei'"> <span style="font-family:Arial; font-size:14px; line-height:26px">一、概要:前一篇初步的描述
1262 0
|
iOS开发
iOS8开发~UI布局(一)初探Size Class
<div class="article_title" style="text-align:start; margin:5px 0px; line-height:30px"> <span style="text-align:right">一、新特性Size Class介绍</span> </div> <p style="margin-top:0px; margin-bottom:0px;
1326 0
下一篇
DDNS