Hi,
I am trying to update result for business activities ( transaction : crmd_bus2000126) through an update program.
I use following call to the bapi-->
CALL FUNCTION 'BAPI_ACTIVITYCRM_CHANGEMULTI'
TABLES
headerx = it_headerx
statusx = it_statusx
outcomex = it_outcomex
header = it_header
status = it_status
outcome = it_outcome
return = it_return.
i am using outcomex and outcome tables to pass the required result related data as follows -->
wa_outcome-ref_guid = acvt_guid.
wa_outcome-code_group = lw_code_group.
wa_outcome-code = lw_code.
APPEND wa_outcome TO it_outcome.
wa_outcomex-ref_guid = 'X'.
wa_outcomex-code_group = 'X'.
wa_outcomex-code = 'X'.
APPEND wa_outcomex TO it_outcomex.
Though Bapi runs sucessfully and all other fields are updated , the status reason field ( which appears under lable Result on Details tab in crmd_bus2000126) is not getting updated.
Can anyone suggest me a solution ?
_________________
Thanks & regards,
Suchita.