Skip to Content
0
Former Member
Jun 27, 2014 at 08:11 AM

Interaction record created without 'anchor'

123 Views

Hi all

while creating an interaction record using the following code, where Z001 is a transaction code for IR

lo_bol_core = cl_crm_bol_core=>get_instance( ).

lo_bol_core->start_up( 'BT' ).

ls_params-name = 'PROCESS_TYPE'.

ls_params-value = 'Z001'.

append ls_params to lt_params.

call method lo_bol_core->root_create

exporting

iv_object_name = 'BTOrder'

iv_create_param = lt_params

iv_number = 1

receiving

rv_result = lo_btorder_col.

*

lo_btorder = lo_btorder_col->get_current( ).

I get an IR created without 'anchor', it means without the following relation created which it is supposed to be done automatically by the system

BTORDER -> BTADMINH -> BTHeaderDocFlowSet -> BTDocFlowAll -> BTDocFlow

and the following property created

OBJTYPE_B = CRMCICANCH

Any advise?

Regards

MG