data: lr_entity type ref to cl_bsp_wd_value_node.
lr_entity ?= me->typed_context->releasehistory->collection_wrapper->get_first( ).
while lr_entity is bound.
"send
lr_enity->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_STRING ( exporting IV_ATTR_NAME = 'ORDER_NUMBER' receiving RV_RESULT = lv_orderno ).
"use lv_orderno, read the required value using some FM into some variable lv_field.
lr_enity->IF_BOL_BO_PROPERTY_ACCESS~SET_PROPERTY_AS_STRING ( exporting IV_ATTR_NAME = 'attributeyouaddedtothe contextnode' IV_VALUE = lv_field )
lr_entity ?= me->typed_context->releasehistory->collection_wrapper->get_next( )
endwhile.
correct the syntax errors if any.