Hi Kamalika,
I think you may debug at following two methods to see if we can find any clue.
1.CL_PMLED_MA_ELBROLES_CTXT
METHOD / CREATE_BROLES
model = owner->create_model(
class_name = 'CL_PMLED_MA_ELBROLES_CN00'
model_id = 'BROLES' ). "#EC NOTEXT
broles ?= model.
* initial setting for depandant model node
coll_wrapper = mailform->get_collection_wrapper( ).
TRY.
entity ?= coll_wrapper->get_current( ).
CATCH cx_sy_move_cast_error.
ENDTRY.
broles->on_new_focus( focus_bo = entity ).
2.CL_BSP_CONTROLLER2============
METHOD / CREATE_MODEL
Table M_MODELS should contain following two entries.
1 mailform ->{O:7265*\CLASS=CL_PMLED_MA_ELBROLES_CN01} Standard Table[0x2(16)]
2 broles ->{O:7273*\CLASS=CL_PMLED_MA_ELBROLES_CN00} Standard Table[0x2(16)]
Best Regards,
Bruce