Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Create new entity.

$
0
0

Hi Experts,

 

I am trying to create entity using below approach. Here is the code I am using

  data:        lv_bol_core                TYPE REF TO cl_crm_bol_core,        lv_call_list_factory     TYPE REF TO cl_crm_bol_entity_factory,        lr_call_list_entity         TYPE REF TO cl_crm_bol_entity,        lt_params_tab             type crmt_name_value_pair_tab,        ls_params                   type crmt_name_value_pair.        lv_bol_core = cl_crm_bol_core=>get_instance( ).        lv_call_list_factory = lv_bol_core->get_entity_factory( 'ClmCallList' ).  CLEAR: ls_params.  ls_params-name = 'RESPONSIBLE'.  ls_params-value = sy-uname.  APPEND ls_params TO lt_params_tab.      lr_call_list_entity = lv_call_list_factory->create( lt_params_tab ).

 

It is not creating any entity. Do we need to pass some value?

 

Kindly advise what is wrong in above code. It is very very urgent, please suggest.

 

Thanks and Regards,


Viewing all articles
Browse latest Browse all 8419

Trending Articles