Hello ALL, we have a requirement to delete rows from table views selected by user. We need to provide feature to select one or multi rows to be able to delete. And are facing below issues.
1) selectionMode = "MULTI" with this statement, first row of table view is greyed out. Fields are editable but the row is shown in grey. Any clue on this?
2) No matter which row is selected in UI, always first index(row) is fetched. code attached below for reference.
DATA: l_if_coll TYPE REF TO if_bol_bo_col, " Business Object Collection Interface
l_if_entity TYPE REF TO if_bol_bo_property_access. " Access Interface for BO Attributes
l_if_coll ?= me->typed_context->giftcard->collection_wrapper->get_marked( ).
Where do we code to get the index of the seleced row? would that be in the EH_ONDELETE event itself?
Regards
Prasad