Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Add message to Processing Log for an action

Hello experts!

I wanted to know, if it is possible to add a custom message to the Processing Log.

Background:

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?

Greetings,

littlesam

Tags:
Former Member
replied

CALL FUNCTION 'CRM_MESSAGE_COLLECT'

EXPORTING

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

is_orderadm_i_wrk-ordered_prod

INTO lv_save_message.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question