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

简介: Today Ben asks me whether there is some tool which can allow us to get a draft estimation on the size of a BSP application. As far as I know there is no such tool, so I write one by myself:

Today Ben asks me whether there is some tool which can allow us to get a draft estimation on the size of a BSP application. As far as I know there is no such tool, so I write one by myself:

You can simply create a report and paste the source code from this blog, execute it by specifying the BSP application name:


[外链图片转存失败(img-BAYo4M0A-1566557677158)(https://user-images.githubusercontent.com/5669954/59415852-e251e580-8df6-11e9-9267-b17dd298eab2.png)]

[外链图片转存失败(img-V2clZI0c-1566557677161)(https://user-images.githubusercontent.com/5669954/59415853-e251e580-8df6-11e9-9c0b-d5976ef5777c.png)]


According to ABAP help, in Unicode system 1 char occupies 2 bytes:


[外链图片转存失败(img-65zBoQ9C-1566557677162)(https://user-images.githubusercontent.com/5669954/59415854-e2ea7c00-8df6-11e9-983d-232a83c4e119.png)]


So in the example below the BSP application CRM_OPPRTNTY occupies at least 2011344 * 2 = 4022688 bytes.

Source code of report:


image.png

image.pngimage.png

相关文章
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
SAP WM 为Storage Type 004激活SUM报错 - Storage types without pick-point stor.type require partial pallet
SAP WM 为Storage Type 004激活SUM报错 - Storage types without pick-point stor.type require partial pallet
SAP WM 为Storage Type 004激活SUM报错 - Storage types without pick-point stor.type require partial pallet
A simple tool to calculate the total size of a BSP application
Today Ben asks me whether there is some tool which can allow us to get a draft estimation on the size of a BSP application. As far as I know there is no such tool, so I write one by myself:
101 0
A simple tool to calculate the total size of a BSP application
custom field further usage - add into UI and report
custom field further usage - add into UI and report
115 0
custom field further usage - add into UI and report
|
前端开发
CL_BSP_WD_VIEW_MANAGER-MANIPULATE_RESPONSE
CL_BSP_WD_VIEW_MANAGER-MANIPULATE_RESPONSE
CL_BSP_WD_VIEW_MANAGER-MANIPULATE_RESPONSE
How to create unit test for product determination function module
How to create unit test for product determination function module
117 0
How to create unit test for product determination function module
|
XML JavaScript 前端开发
UI5 table display visible row count logic calculation calculate
UI5 table display visible row count logic calculation calculate
131 0
UI5 table display visible row count logic calculation calculate
|
XML Java Maven
how is ui5 resource root calculated
Created by Jerry Wang, last modified on Oct 22, 2015
how is ui5 resource root calculated
|
SQL XML 缓存
《Orca: A Modular Query Optimizer Architecture for Big Data》
Orca: A Modular Query Optimizer Architecture for Big Data
《Orca: A Modular Query Optimizer Architecture for Big Data》