mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:22:19 +08:00
fix binding for sql monitor (#1048)
* fix binding for sql monitor * update
This commit is contained in:
parent
b4fed491d5
commit
7851c5e03a
|
@ -72,6 +72,10 @@ CLASS z2ui5_cl_core_attri_srv IMPLEMENTATION.
|
|||
CONTINUE.
|
||||
ENDIF.
|
||||
|
||||
IF lr_attri->r_ref IS NOT BOUND.
|
||||
CONTINUE.
|
||||
ENDIF.
|
||||
|
||||
ASSIGN lr_attri->r_ref->* TO FIELD-SYMBOL(<val_ref>).
|
||||
IF <val_ref> IS NOT INITIAL.
|
||||
ASSIGN <val_ref>->* TO FIELD-SYMBOL(<val>).
|
||||
|
@ -139,10 +143,11 @@ CLASS z2ui5_cl_core_attri_srv IMPLEMENTATION.
|
|||
METHOD attri_refs_update.
|
||||
|
||||
LOOP AT mt_attri->* REFERENCE INTO DATA(lr_attri).
|
||||
|
||||
lr_attri->r_ref = attri_get_val_ref( lr_attri->name ).
|
||||
lr_attri->o_typedescr = cl_abap_datadescr=>describe_by_data_ref( lr_attri->r_ref ).
|
||||
|
||||
TRY.
|
||||
lr_attri->r_ref = attri_get_val_ref( lr_attri->name ).
|
||||
lr_attri->o_typedescr = cl_abap_datadescr=>describe_by_data_ref( lr_attri->r_ref ).
|
||||
CATCH cx_root.
|
||||
ENDTRY.
|
||||
ENDLOOP.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -158,6 +158,7 @@ CLASS z2ui5_cl_core_bind_srv IMPLEMENTATION.
|
|||
TRY.
|
||||
DATA(lv_path) = shift_right( val = val sub = `->*` ).
|
||||
mo_app->mt_attri->*[ name = lv_path ]-check_dissolved = abap_false.
|
||||
mo_app->mt_attri->*[ name = val ]-check_dissolved = abap_false.
|
||||
mo_app->mt_attri->*[ name = lv_path ]-name_client = ``.
|
||||
mo_app->mt_attri->*[ name = lv_path ]-bind_type = ``.
|
||||
|
||||
|
|
|
@ -72,6 +72,10 @@ CLASS z2ui5_cl_core_dissolve_srv IMPLEMENTATION.
|
|||
|
||||
METHOD diss_dref.
|
||||
|
||||
IF z2ui5_cl_util=>check_unassign_inital( ir_attri->r_ref ).
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
DATA(lr_ref) = z2ui5_cl_util=>unassign_data( ir_attri->r_ref ).
|
||||
IF lr_ref IS INITIAL.
|
||||
RETURN.
|
||||
|
|
Loading…
Reference in New Issue
Block a user