天天看点

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:

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

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

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

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

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

Source code of report:

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

继续阅读