on 01-06-2022 9:37 AM
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.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.