Hi Kalpana,
user click the replacement button in items assignment block serial number value field should be enable and user clicks return button serial number value copied to next line item and should be disable?
what i understand for the above query
first you have to create one variable (static or instance ) in bt120h_cpl item impl class then when user click's on replacement button set that variable as abap_true. then go to serial number get_i method based on this you have to enable or disable that field.
next user clicks return button in the return event you have to read the marked entity by using
lr_entity ?= typed_context->node->collection_wrapper->get_marked().
and add this entity next item collection.
lr_col->add( lr_entity). then clear the variable which is declared in impl so that serial number will disable at that time.
Try this.
Thanks & Regards,
Srinivas K.