mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 00:36:14 +08:00
Update rtti_get_t_attri_by_table_name (#1211)
Co-authored-by: Viktor Hoffmann <Viktor.Hoffmann@swisskrono.com>
This commit is contained in:
parent
f60e44c178
commit
a504911508
|
@ -1275,7 +1275,14 @@ CLASS z2ui5_cl_util_api IMPLEMENTATION.
|
|||
TRY.
|
||||
DATA(lo_struct) = CAST cl_abap_structdescr( cl_abap_structdescr=>describe_by_name( table_name ) ).
|
||||
CATCH cx_root.
|
||||
RETURN.
|
||||
|
||||
TRY.
|
||||
DATA(lo_tab) = CAST cl_abap_tabledescr( cl_abap_structdescr=>describe_by_name( table_name ) ).
|
||||
lo_struct = CAST cl_abap_structdescr( lo_tab->get_table_line_type( ) ).
|
||||
CATCH cx_root.
|
||||
RETURN.
|
||||
ENDTRY.
|
||||
|
||||
ENDTRY.
|
||||
|
||||
result = lo_struct->get_components( ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user