mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 22:09:24 +08:00
Update z2ui5_cl_util_api.clas.abap (#974)
* Update z2ui5_cl_util_api.clas.abap Correction when dissolving deep structures * Update z2ui5_cl_util_api.clas.abap Correction when dissolving deep structures
This commit is contained in:
parent
fc17fc5dc3
commit
a85f1a1dc8
|
@ -773,10 +773,11 @@ CLASS Z2UI5_CL_UTIL_API IMPLEMENTATION.
|
|||
|
||||
DATA(sdescr) = CAST cl_abap_structdescr( cl_abap_typedescr=>describe_by_name( type->absolute_name ) ).
|
||||
|
||||
LOOP AT sdescr->components REFERENCE INTO DATA(lr_comp).
|
||||
result = sdescr->get_components( ).
|
||||
|
||||
DATA(ls_attri) = VALUE abap_componentdescr( name = attri && lr_comp->name ).
|
||||
INSERT ls_attri INTO TABLE result.
|
||||
LOOP AT result REFERENCE INTO DATA(lr_comp).
|
||||
|
||||
lr_comp->name = attri && lr_comp->name.
|
||||
|
||||
ENDLOOP.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user