Fix binding (#1085)

* fix binding

* Update changelog.txt
This commit is contained in:
oblomov 2024-04-17 22:38:55 +02:00 committed by GitHub
parent 04958e02fa
commit 13120c3637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 7 deletions

View File

@ -8,6 +8,16 @@ Legend
+ : added
- : removed
2024-04-17 v1.125.0
-------------------
* Binding Fixes for Attributes created with RTTI
+ XML View Extensions
+ Replace Magic Numbers and Fixes for Auto Renaming
+ Download base64 Files
+ Features for Interactive Charts
2024-04-01 v1.124.0
-------------------

View File

@ -45,15 +45,18 @@ CLASS z2ui5_cl_core_attri_srv IMPLEMENTATION.
METHOD attri_after_load.
LOOP AT mt_attri->* REFERENCE INTO DATA(lr_attri).
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 ).
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 ).
IF lr_attri->srtti_data IS NOT INITIAL.
ASSIGN lr_attri->r_ref->* TO FIELD-SYMBOL(<val>).
<val> = z2ui5_cl_util=>xml_srtti_parse( lr_attri->srtti_data ).
CLEAR lr_attri->srtti_data.
ENDIF.
IF lr_attri->srtti_data IS NOT INITIAL.
ASSIGN lr_attri->r_ref->* TO FIELD-SYMBOL(<val>).
<val> = z2ui5_cl_util=>xml_srtti_parse( lr_attri->srtti_data ).
CLEAR lr_attri->srtti_data.
ENDIF.
CATCH cx_root.
ENDTRY.
ENDLOOP.
ENDMETHOD.