Hi,
Put the below code in do_prepare_output method
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = iv_first_time.
me->view_group_context->set_view_editable( me ).
and then redefine method SET_VIEW_GROUP_CONTEXT method and put below code then check.
DATA:lr_vgc TYPE REF TO cl_bsp_wd_view_group_context.
IF iv_parent_context IS BOUND.
me->view_group_context ?= iv_parent_context.
ELSE.
CREATE OBJECT lr_vgc
TYPE
cl_bsp_wd_view_group_context.
IF lr_vgc IS BOUND.
me->view_group_context ?= lr_vgc.
ENDIF.
ENDIF.
Regards,
Deepika.