Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: What determines order of execution of SETTER methods?

$
0
0

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


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>