cancel
Showing results for 
Search instead for 
Did you mean: 

Add message to Processing Log for an action

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

May be.

See the FM CRM_MESSAGE_COLLECT , you can add messages of your choice in the log.

Former Member
0 Kudos

Thank you!

Do you have an example code how to call this FM?

robert_kunstelj
Active Contributor
0 Kudos

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.

Answers (0)