DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR. DATA : INT_DETAILS TYPE ABAP_COMPDESCR_TAB, * Get the structure of the table. REF_TABLE_DES ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( DB_TABLE ). INT_DETAILS[]
structdescr as it dumps when I use thelater and then use the following ref_descr?= cl_abap_descr=>describe_by_data( <gt_table> ). My issuethen occurswith the resultant table that is returned (of type abap_keydescr) only having the P, C or N fields. Very odd. Maybe a problem ...
DATA: lo_struct_descr TYPE REF TO cl_abap_structdescr, lt_struct_fields TYPE cl_abap_structdescr=>component_table, lwa_struct_field TYPE cl_abap_structdescr=>component, lo_elem_descr TYPE REF TO cl_abap_elemdescr.* Get RTTI object for the local structurelo_struct_descr ?= cl_abap_type...
data : it_tabdescr type abap_compdescr_tab, wa_tabdescr type abap_compdescr. data : ref_table_descr type ref to cl_abap_structdescr. Data: lr_elem_descr TYPE REF TO cl_abap_elemdescr. * Return structure of the table. ref_table_descr ?= cl_abap_typedescr=>describe_by_name( p_t...