Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

How to update table view custom fields using 'Do_Prepare_Output'

$
0
0

Hi All,

 

  How to update table view custom fields in 'Do_prepare_output' method? I have added three custom fields in related BOL structure using 'Append Structure'. When i am trying to update those custom fields using 'Set_Property' method in 'do_prepare_output' values are not saving and iterator ->get_next( ) method is not working (looping only one item). Sample code below.

 

Code:

 

lr_col ?= me->typed_context->btordprd->collect_wrapper.

lr_iterator ?= lr_col->get_iterator( ).

 

if lr_iterator( ) is bound.

lr_entity ?= lr_iterator->get_first( ).

 

while lr_entity is bound.

if lr_entity->lock( ) = abap_true.

set_property( lv_cust1)

.

.

endif.

lr_entity ?= lr_iterator->get_next( ).

endwhile.

endif.

 

Please give me suggestions to update custom fields in table view.

 

Thanks & Regards,

Nirish


Viewing all articles
Browse latest Browse all 4552

Latest Images

Trending Articles



Latest Images

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