Skip to Content
0
Feb 17, 2011 at 01:28 PM

How to add deep structure like LVC_T_SCOL in dynamic internal table

150 Views

Hello,

can any one help me with adding a deep structure to a dynamically created internal table. the deep structure which needs to be added is for the color purpose for each record i.e. LVC_T_SCOL .

Dynamic table created with below method.

CALL METHOD cl_alv_table_create=>create_dynamic_table

EXPORTING

it_fieldcatalog = gt_struct

i_length_in_byte = 'X'

IMPORTING

ep_table = dy_table.

ASSIGN: dy_table->* TO <dyn_table>,

dy_table->* TO <dyn_line>.

gt_struct has the list of fields and their technical attributs.

Thanks In Advance.

BR,

Rajesh