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

Re: get_iterator->entity_list returns null

$
0
0

Hi Merve,

 

As per my understanding you are trying to add some data to your assignment block using data available custom table.

 

When second user open the saved request, the new assignment block do_init_context method will trigger first and then do_prepare_output will trigger. So first you fill your custom data in do_inti_context method so that you can see data in your assignment block.

 

Can you try adding below code in do_init_context method and then check your new assignment block has been filled with data or not when second user opens the service request.

 

data lr_col type ref to if_bol_bo_col.

data: ls_data type ref to data.

data: lr_ent type ref to  cl_bsp_wd_value_node.

Select * from zzztable into table it_zzz.

create object lr_col type ref to if_bol_bo_col.

 

loop  at it_zzz to ls_zzz.

create data ls_data type zzztable.

create object lr_ent exporting iv_data_ref = ls_data.

 

lr_ent->set_preoperties( ls_zzz ).

lr_col->add( lr_ent ).

endloop.

 

try.

me->typed_context->ZCONTEXTNODE->collection_wrapper->add_collection( lr_col ).

 

catch cx_root.

endtry.

 

 

Regards,

Dharmakasi.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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