File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -611,15 +611,15 @@ CLASS z2ui5_cl_pop_display_layout IMPLEMENTATION.
611611 ENDIF .
612612
613613 DATA (Head ) = VALUE z2ui5_layo_t_01( guid = ms_layout-s_head-guid
614- layout = mv_layout
615- control = ms_layout-s_head-control
616- handle01 = ms_layout-s_head-handle01
617- handle02 = ms_layout-s_head-handle02
618- handle03 = ms_layout-s_head-handle03
619- handle04 = ms_layout-s_head-handle04
620- descr = mv_descr
621- def = mv_def
622- uname = user ).
614+ layout = mv_layout
615+ control = ms_layout-s_head-control
616+ handle01 = ms_layout-s_head-handle01
617+ handle02 = ms_layout-s_head-handle02
618+ handle03 = ms_layout-s_head-handle03
619+ handle04 = ms_layout-s_head-handle04
620+ descr = mv_descr
621+ def = mv_def
622+ uname = user ).
623623
624624 LOOP AT ms_layout-t_layout INTO DATA (layout ).
625625
@@ -882,6 +882,12 @@ CLASS z2ui5_cl_pop_display_layout IMPLEMENTATION.
882882 " create the tab first if the db fields were added/deleted
883883 DATA (t_comp ) = z2ui5_cl_util=>rtti_get_t_attri_by_any( data ).
884884
885+ LOOP AT t_comp INTO DATA (comp ).
886+ IF comp-type->type_kind = cl_abap_elemdescr=>typekind_oref.
887+ DELETE t_comp.
888+ ENDIF .
889+ ENDLOOP .
890+
885891 LOOP AT t_comp REFERENCE INTO DATA (lr_comp ).
886892
887893 INSERT VALUE #( control = control
You can’t perform that action at this time.
0 commit comments