Hi,
try below code once.
data lr_col type ref to cl_crm_bol_bo_col.
data: ls_data type ZZTABLE.
data: lr_ent type ref to cl_bsp_wd_value_node.
select * from ZZTABLE
into table it_ZZTABLE
where parent_id eq gv_guid.
create object lr_col.
create data ls_data.
create object lr_ent
exporting
iv_data_ref = ls_data.
loop at it_ZZTABLEinto lv_ZZTABLE.
lr_ent-> if_bol_bo_property_access~set_properties( is_attributes = lv_ZZTABLE).
lr_col-> if_bol_bo_col~add( lr_ent ).
clearL lr_ent.
endloop.
me->typed_context->ZZCONTEXTNODE->collection_wrapper->clear( ).
try .
me->typed_context->ZZCONTEXTNODE->collection_wrapper->set_collection( lr_col ).
catch cx_root.
endtry.
Br,
Navn