Hello!
I'm stuck with getting an object_id or guid of solman incident (crmd_orderadm_h).
I'm trying to find it in get_v_text_no of cl_aic_im_t_timereporting_cn01.
Now I have access to core_bol and entity manager:
DATA: LR_BTADMINH TYPE REF TO CL_CRM_BOL_ENTITY,
lr_collection TYPE REF TO if_bol_entity_col,
lr_entity TYPE REF TO cl_crm_bol_entity,
lv_time_spent type CRMT_TIMEREP_DURATION,
lo_bol_core TYPE REF TO cl_crm_bol_core.
CALL METHOD cl_crm_bol_core=>get_instance
EXPORTING
iv_display_mode_support = abap_false
RECEIVING
rv_core = lo_bol_core.
data : lv_result TYPE REF TO CL_CRM_BOL_ENTITY_MANAGER,
lr_header type REF TO IF_BOL_ENTITY_COL,
lr_header2 type REF TO CL_CRM_BOL_ENTITY,
lv_object_id type CRMT_GENIL_OBJECT_ID.
lv_result = lo_bol_core->get_entity_manager( ).
Please advise any further directions.
Regards,
Ayrat.