cancel
Showing results for 
Search instead for 
Did you mean: 

Notifications to be triggered only to those Engineers based on the field "Technical Managing Bureau"

former_member445510
Active Participant
0 Kudos

Hello Everyone,

I've got requirement that not all Engineers should receive notification mails - Notifications to be triggered only to those Engineers based on the field "Technical Managing Bureau" .

I'm using the IF_USMD_SSW_SYST_METHOD_CALLER~CALL_SYSTEM_METHOD .

this is my current code:

CASE iv_service_name.
WHEN 'Z_EMAIL_SERVICE'.
* Get and read CR and launch email notification
CALL METHOD cl_usmd_crequest_api=>get_instance
EXPORTING
iv_crequest = iv_cr_number
IMPORTING
re_inst_crequest_api = lo_crequest.
CALL METHOD lo_crequest->read_crequest
IMPORTING
es_crequest = ls_crequest.
CALL FUNCTION 'ZMDG_USER_SEND_MAIL'
EXPORTING
im_crequest_id = iv_cr_number
im_user_name = ls_crequest-usmd_created_by
im_status_text = ls_status_txttable-txtmi.

Any help, please?

Kind Regards.

Accepted Solutions (0)

Answers (0)