07-21-2014 8:41 PM
Hello Everyone:
Wondering if anyone knows a solution to an issue we are coming across. I tried searching using different terms, but couldn't find an answer.
By default system uses the first e-mail address saved in Vendor Master to e-mail ERS; whereas, we would like to use the 3rd e-mail address (for example) instead. Is there a BADI, User-Exit, or Enhancement Spot that I can utilize? Do you know which program, form, function module, etc. MRRL uses to get e-mail address from Vendor Master?
Thanks in advance and if you have any questions, please let me know.
Thanks,
07-22-2014 2:55 AM
Hello Jawad,
Is the mail being triggered through any message output type. If yes then you need to check and enchance the driver program to pick third mail id of the vendor.
Thanks
07-23-2014 8:31 PM
Thanks Always Learner for the reply.
I used Implicit Enhancement to determine the 3rd E-Mail address of the Vendor.
10-07-2014 4:32 AM
Hello Jawad,
I'm facing the similar issue same as using Multiple email ID for MRRL ERS . Could you please let me know where you have used the Implicit enhancement as i'm unable to find the exact spot .
Thanks in advance
10-07-2014 2:07 PM
Hi Naveen:
Enhancement can be placed at the end of Form check_comm_type of Include LSZAFF05. Please see the example below. In this case, this enhancement is limited only to T-Codes MRRL and MR90.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Form CHECK_COMM_TYPE, End A
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
enhancement 1 zei_emad4ers. "active version
** E-Mail Address determination for Evaluated Receipt Settlement (ERS).
if sy-tcode = 'MRRL' or sy-tcode = 'MR90'.
read table <lt_comm_table>
assigning <ls_comm_table>
index 3. " Third E-Mail Address stored in Vendor Master
if sy-subrc <> 0.
message a890 with 'LT_COMM_TABLE' raising internal_error.
endif.
ascf ev_comm_values ls_comtypes-table_type <ls_comm_value>.
<ls_comm_value> = <ls_comm_table>.
ev_comm_type = cs_strategy-comm_type.
cs_strategy-status = 'F'.
endif.
endenhancement.
*$*$-End: (1)---------------------------------------------------------------------------------$*$*
Hope this helps, but if you have any questions, please let me know.
Thanks,