..1 Context

Here is the nugget to install objects via SAPLINK .

Launch the transaction SE11, and create a new structure with name ZCONTEXT_SUBTOTALS_LVL_3_ROW : 

Create a table type ZCONTEXT_SUBTOTALS_LVL_3_TABbased on the row type ZCONTEXT_SUBTOTALS_LVL_3_ROW :

Create a new structure with name ZCONTEXT_SUBTOTALS_LVL_2_ROW : 

Create a table type ZCONTEXT_SUBTOTALS_LVL_2_TABbased on the row type ZCONTEXT_SUBTOTALS_LVL_2_ROW :

Create a new structure with name ZCONTEXT_SUBTOTALS_LVL_1_ROW : 

Create a table type ZCONTEXT_SUBTOTALSbased on the row type ZCONTEXT_SUBTOTALS_LVL_1_ROW (this table type will be the context) :

Entire context in a hierarchical view: