Box components purpose to reduce the memory needed by ABAP Program. For example : We have ABAP Internal table which is contain two fields let’s say Main Address and Secondary Address, not all the data have secondary address. The problem if there is no data in the fields, SAP System still allocate memory to just hold initial values, this potentially a lot of wasted memory to just hold initial values.

You can use Box for addition when declaring substructure of a table type to tell SAP System not to allocate memory. Check the following ABAP Program.

Result :

boxed component abap program

As you can see for the result . the memory usage for un-boxed internal table more consume than boxed internal table.

Incoming search terms:

About The Author