Hi,
I am not sure but you can try - creating a new value attribute and add into a new collection and populate on UI
new ZZFIELD attribute needs to be added into config for UI.
Types : begin of ty_data, ZZfield type string, end of ty_data. data: lr_mixed TYPE REF TO cl_bsp_wd_mixed_node. data: lr_entity type ref to cl_crm_bol_entity. data : ls_str type ty_data. data : lr_mixed_node tyep ref to cl_bsp_wd_mixed_node. CREATE OBJECT lr_col TYPE cl_crm_bol_bo_col. TRY. lr_mixed ?= me->ztyped_context->result->collection_wrapper->get_first( ). CATCH cx_root. ENDTRY. * Add ollection to mixed node WHILE lr_mixed IS BOUND. CALL METHOD lr_col->add EXPORTING iv_entity = lr_curr_mixed. lr_mixed ?= me->ztyped_context->result->collection_wrapper->get_next( ). ENDWHILE. lr_entity ?= lr_col->get_first( ). ** Write your logic to retrieve value of custom attribute i.e refer get_method code of custom attribute CREATE OBJECT lr_mixed_node EXPORTING iv_struct = ls_str iv_model_node = lr_entity. CALL METHOD lr_mixed_node->if_bol_bo_property_access~set_property_as_string EXPORTING iv_attr_name = 'ZZFIELD' iv_value = lv_zzfield. * set mixed node to wrapper CALL METHOD me->ztyped_context->result->collection_wrapper->add EXPORTING iv_entity = lr_mixed_node lr_entity ?= lr_col->get_next( ). ENDWHILE.
Regards,
Sumeet