Skip to Content
0
Former Member
Dec 02, 2011 at 08:07 AM

Table row not getting selected when a view is copied

34 Views

Hi Experts,

I have a requirement where I have created a copy of the view BT111H_OPPT/SlsAssistActivEL and named it as ZSlsAssistActivEL.

I have added this view in the Opportunity header DetailsViewSet .

The copied view has all the classes, methods & attributes exactly similar to the actual view.

My problem is when I select a table row in ZSlsAssistActivEL, the row does not get marked or selected.

The view ZSlsAssistActivEL has method EH_ONSELECT exactly similar to SlsAssistActivEL.

It is not throwing any exception while debugging, moreover it give <ENTRY>-SELECTED parameter as 'X', which should mean that the row got selected. But, that is not happening.

this is the code in the eh_onselect method.

method EH_ONSELECT.

data: lv_event TYPE REF TO cl_htmlb_event_tableview.

lv_event ?= htmlb_event.

me->ztyped_context->ACIAction->eh_on_row_selection(

iv_htmlb_event = lv_event

iv_htmlb_event_ex = htmlb_event_ex ).

endmethod.

Please suggest a solution.

Regards,

Litty.