Hello Nikhs,
Please do nt write this part of code here:----
current = me->TYPED_CONTEXT->zchild_detail->collection_wrapper->get_current( ).
me represents implementation class, TYPED_CONTEXT is attribute of implementation class...as you are writing code in attribute methods...i.e. under CN00....class. hence, error message is coming as "TYPED_CONTEXT is unknown here".
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.
Please check what value u are getting in current entity here..
Thanks,
Amit Singh