Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Jan 27, 2024
1 parent ad0b978 commit 66d6df1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/rtti/cl_abap_typedescr.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,16 @@ CLASS cl_abap_typedescr IMPLEMENTATION.
METHOD is_deep.

DATA lt_components TYPE cl_abap_structdescr=>component_table.
DATA ls_component LIKE LINE OF lt_components.
FIELD-SYMBOLS <ls_component> LIKE LINE OF lt_components.

lt_components = io_struct->get_components( ).
rv_deep = abap_false.

LOOP AT lt_components INTO ls_component.
IF ls_component-type->kind = kind_struct
OR ls_component-type->type_kind = typekind_string
OR ls_component-type->type_kind = typekind_xstring
OR ls_component-type->kind = kind_table.
LOOP AT lt_components ASSIGNING <ls_component>.
IF <ls_component>-type->kind = kind_struct
OR <ls_component>-type->type_kind = typekind_string
OR <ls_component>-type->type_kind = typekind_xstring
OR <ls_component>-type->kind = kind_table.
rv_deep = abap_true.
RETURN.
ENDIF.
Expand Down

0 comments on commit 66d6df1

Please sign in to comment.