Hi Tejaswini,
thank again for your reply.
I am quite new in BOL and not sure that why this code is not work?
(The result is still have some item remain in AET table)
lr_core = cl_crm_bol_core=>get_instance( ).
lr_iterator = me->typed_context->zatab0000ie->collection_wrapper->get_iterator( ).
DO.
IF sy-index = 1.
lr_current = lr_iterator->get_first( ).
ELSE.
lr_current = lr_iterator->get_next( ).
ENDIF.
IF lr_current IS BOUND.
lr_entity ?= lr_current.
lr_entity->delete( ).
lr_core->modify( ).
ELSE.
EXIT.
ENDIF.
ENDDO.
regards,
Boonsom