Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9080

Re: How can I refresh value in AET table

$
0
0

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


Viewing all articles
Browse latest Browse all 9080

Trending Articles



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