hi
still getting the same error ? may be in the method DO INT CONTEXT, they are creating the value node.
Let us do in this way.
copy the all the code from this method. then redefine it. then copy paste the same code in the newly redefined method. do not call the super in the redefinition as we are using same code here.
TYPES: lty_releasehistory TYPE crmt_uiu_release_hist_h_cr.
"add your newly created attribute in above types statement.
DATA: lv_header TYPE crmt_object_guid,
ltype_release_history TYPE crmt_uiu_release_hist_h_cr_t,
lv_value TYPE string,
lv_value1 TYPE string,
lv_valuedd TYPE string,
lv_valuemm TYPE string,
lv_valueyy TYPE string.
DATA : lv_description TYPE bu_descrip,
guid TYPE bu_partner_guid .
DATA : wa_release TYPE crmt_uiu_release_hist_header,
lv_releasehistory TYPE lty_releasehistory,
lr_releasehistory TYPE REF TO lty_releasehistory,
lr_value_node TYPE REF TO cl_bsp_wd_value_node,
lv_bo_coll TYPE REF TO if_bol_bo_col.
CALL METHOD super->do_init_context.
lv_header = me->typed_context->btadminh->get_headerguid( attribute_path = 'GUID' )."#EC NOTEXT
CALL METHOD cl_crm_uiu_release_info=>get_release_history_header_all
EXPORTING
iv_header_guid = lv_header
IMPORTING
et_release_orders = ltype_release_history.
*Remove old entries of collection wrapper
me->typed_context->releasehistory->collection_wrapper->clear( ).
*Create new entries
LOOP AT ltype_release_history INTO lv_releasehistory.
CREATE DATA lr_releasehistory .
CREATE OBJECT lr_value_node EXPORTING iv_data_ref = lr_releasehistory.
CALL METHOD lr_value_node->if_bol_bo_property_access~set_properties( lv_releasehistory ).
me->typed_context->releasehistory->collection_wrapper->add( lr_value_node ).
ENDLOOP.
"here continue your logic as it as we have discussed already. i hope this works for you.