mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 21:42:45 +08:00
parent
da5e66afc1
commit
cb9320243d
|
@ -151,11 +151,22 @@ CLASS z2ui5_cl_core_diss_srv IMPLEMENTATION.
|
|||
|
||||
METHOD main.
|
||||
|
||||
main_init( ).
|
||||
TRY.
|
||||
|
||||
IF line_exists( mt_attri->*[ check_dissolved = abap_false ] ).
|
||||
main_run( ).
|
||||
ENDIF.
|
||||
main_init( ).
|
||||
|
||||
IF line_exists( mt_attri->*[ check_dissolved = abap_false ] ).
|
||||
main_run( ).
|
||||
ENDIF.
|
||||
|
||||
CATCH cx_root.
|
||||
CLEAR mt_attri->*.
|
||||
main_init( ).
|
||||
|
||||
IF line_exists( mt_attri->*[ check_dissolved = abap_false ] ).
|
||||
main_run( ).
|
||||
ENDIF.
|
||||
ENDTRY.
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
@ -188,6 +199,12 @@ CLASS z2ui5_cl_core_diss_srv IMPLEMENTATION.
|
|||
|
||||
lr_attri->check_dissolved = abap_true.
|
||||
|
||||
IF lr_attri->o_typedescr IS NOT BOUND.
|
||||
DATA(ls_entry) = create_new_entry( lr_attri->name ).
|
||||
lr_attri->o_typedescr = ls_entry-o_typedescr.
|
||||
lr_attri->r_ref = ls_entry-r_ref.
|
||||
ENDIF.
|
||||
|
||||
CASE lr_attri->o_typedescr->kind.
|
||||
|
||||
WHEN cl_abap_typedescr=>kind_struct.
|
||||
|
|
Loading…
Reference in New Issue
Block a user