Hi Garcia,
I've seen the GET_AND_ADD_ENTITY_TO_AC method and it is indeed called by the PROCESS_RETURN method, but both of these calls happen before the ECC transaction is launched. I am launching the transaction in the SAPGui for Windows rather than the HTML GUI embedded in the WebUI, so maybe that is why the calls are not happening in the order I would have expected.
No method from the handler class is called after the ECC transaction is saved. The entry in the activity clipboard happens in the top method call of the stack shown below. This would appear to be part of the "Intent-Driven Interaction" framework, which I've not come across before, so I will just have to research that.
Thanks,
Andrew
| IF_CRM_UI_BOL_CLIPBOARD~ADD_ROOT_OBJECT | CL_CRM_UI_F_CUCOCLIPBOARD_IMPLCP |
| IF_CRM_IC_5X_WS_COMP_HANDLER~HANDLE | CL_CRM_IC_SSC_SET_OBJECT======CP |
| IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT | CL_CRM_IC_5X_WS_EVENT_HANDLER=CP |
| IF_CRM_IC_EVENT_SRV~RAISE | CL_CRM_IC_EVENT_SRV===========CP |
| IF_SAM_MESSAGE_LISTENER~ON_MESSAGE | CL_CRM_IC_5X_WS_SAM_TO_EVENT==CP |
| IF_SAM_MESSAGE_LISTENER~ON_MESSAGE | CL_CRM_IC_5X_SAM_AGENT_LSTENERCP |
| ENQUEUE_MESSAGE | CL_SAM_QUEUE_RECEIVER=========CP |
| ENQUEUE_MESSAGE | CL_SAM_SHARED_QUEUE_RECEIVER==CP |
| DO_REQUEST | CL_SAM_SESSION_QUEUE_CNTRLER==CP |
| DO_REQUEST | CL_BSP_CTRL_ADAPTER===========CP |
| ON_REQUEST | CL_BSP_RUNTIME================CP |
| IF_HTTP_EXTENSION~HANDLE_REQUEST | CL_HTTP_EXT_BSP===============CP |