Add message to Processing Log for an action
I wanted to know, if it is possible to add a custom message to the Processing Log.
I have an action, which is defined as a method call. In this method, I send a mail to multiple recipients. Now I want to show these recipients in the log.
Does anybody know how I can solve this problem?
Robert Kunstelj replied
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
iv_caller_name = gc_object_name-orderadm_i
iv_ref_object = is_orderadm_i_wrk-guid.
ELSEIF ls_set_maintain-data-zz0010 EQ 'B'.
MESSAGE ID 'ZMSG_CRM_ORDER' TYPE 'E' NUMBER '012' WITH