Hello Nikhs,
It is not necessary to write this part of code:--
current = me->TYPED_CONTEXT->zchild_detail->collection_wrapper->get_current( ).
As you can get current value by following part of code:-
if iterator is bound.
current = iterator->get_current( ).
else.
current = collection_wrapper->get_current( ).
endif.
if iterator is bound then you can get current entity in "current"...and if not then you can get current entity from collection wrapper.
TYPED_CONTEXT is attribute of implementation class...as you are writing code in attribute methods...i.e. under CN00....class. and, TYPED_CONTEXT is unknown here.
Thanks,
Amit Singh