Here's how to create nested within a dynamic table in the ABAP program, that is, within the dynamic of the table is also a field in the table.
Proceed as follows:
1, SE11 create a table type
2, SE11 create structure
Structure created contains a table type created in step.
3, the program refer to this field to create a dynamic table of catalog
Below the red frame, then call cl_alv_table_create => create_dynamic_table create a dynamic table.
4, Debug test
the above.