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: