2019 Jul 30 9:19 AM
Hi Experts,
I have to create dynamic Internal table with a deep table which is also dynamic. I am using
cl_alv_table_create=>create_dynamic_table for the same. But for creating a deep table, it is required to pass the data dictionary structure as reference table/field. Since my deep table is also determined at runtime, I can't pass them as reference while creating the fieldcatalog.
Below is the final table I want as output.

The header fields (vbeln, wadat, vstel, kunnr) are determined at runtime. The item fields of the deep table products (matnr, lfimg, meins) are also determined at runtime only. How do I create such a table through ABAP code ?
Thanks,
Afroz
2019 Jul 30 9:37 AM
Instead of CL_ALV_TABLE_CREATE use well-documented RTTS classes. Method CREATE/GET of CL_ABAP_TABLEDESCR should do the job.
BR,
Gábor
Instead of CL_ALV_TABLE_CREATE use well-documented RTTS classes. Method CREATE/GET of CL_ABAP_TABLEDESCR should do the job.
BR,
Gábor
2019 Jul 30 9:37 AM
Instead of CL_ALV_TABLE_CREATE use well-documented RTTS classes. Method CREATE/GET of CL_ABAP_TABLEDESCR should do the job.
BR,
Gábor
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |