Hi, the length lengths of the structdescr->components table are doubled. how do I solve it?
iatf_16949, iatf_16949_t, surbel_t, iso_14001, iso_14001_t, iso_45001,
iso_45001_t, iso_27001, iso_27001_t, iso_50001, iso_50001_t, iso_genel, iso_genel_t
FROM zbtmm_t_0001 WHERE ( ( iso_genel_t >= ‘20230101’ AND iso_genel_t <= ‘20250101’ ) OR
( iso_50001_t >= ‘20230101’ AND iso_50001_t <= ‘20250101’ ) OR
( iso_27001_t >= ‘20230101’ AND iso_27001_t <= ‘20250101’ ) OR
( iso_45001_t >= ‘20230101’ AND iso_45001_t <= ‘20250101’ ) OR
( iso_14001_t >= ‘20230101’ AND iso_14001_t <= ‘20250101’ ) OR
( surbel_t >= ‘20230101’ AND surbel_t <= ‘20250101’ ) OR
( iatf_16949_t >= ‘20230101’ AND iatf_16949_t <= ‘20250101’ ) OR
( iso_9001_t >= ‘20230101’ AND iso_9001_t <= ‘20250101’ ) ) INTO TABLE @DATA(lt_analok).
DATA(tabledescr) = CAST cl_abap_tabledescr( cl_abap_typedescr=>describe_by_data( lt_analok ) ).
DATA(structdescr) = CAST cl_abap_structdescr( tabledescr->get_table_line_type( ) ).
DATA index TYPE i value 1 .
LOOP AT structdescr->components INTO DATA(component).
WRITE: / index , ‘ ‘ , component-name , ‘ ‘ , component-type_kind , ‘ ‘ , component-length.
index = index + 1.
ENDLOOP.