cancel
Showing results for 
Search instead for 
Did you mean: 

FM BCS - Budget Exceed mail alters to External mail Box

Former Member
0 Kudos

Dear Experts

We are going to implement FM BCS module to my client. My client is asking Budget exceed mail alerts will trigger to external mail box. But as per my observation Budget exceeding mail alerts are triggering to Supervisor and user SAP Inbox. But my client is asking mail alters should trigger to supervisor external mail box only.

Please suggest on this.

Thanks in advance

Rao

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Alex

Thanks for the support. I will try it.

Former Member
0 Kudos

   method IF_EX_FMAVC_EVENT~MODIFY_MAIL_RECIPIENTS.

TYPES:      BEGIN OF TY_ITAB,
            w_email type ADR6-SMTP_ADDR,
            END OF ty_itab.



DATA: l_f_receiver LIKE LINE OF c_t_receivers,
      ITAB TYPE TABLE OF TY_ITAB,
      WA_ITAB type TY_ITAB,
      w_bname type XUBNAME,
      w_email type ADR6-SMTP_ADDR,
      adrn type USR21-ADDRNUMBER,
      pers type USR21-PERSNUMBER.

READ TABLE c_t_receivers INDEX 1 INTO l_f_receiver.

w_bname = l_f_receiver-receiver.

     select single ADDRNUMBER from USR21 into ADRN where BNAME = w_bname.

     select single PERSNUMBER from USR21 into PERS where BNAME = w_bname.

     select single SMTP_ADDR from ADR6 into w_email where PERSNUMBER = PERS and ADDRNUMBER = ADRN.


l_f_receiver-receiver = w_email.
l_f_receiver-rec_type = 'U'.

append l_f_receiver to c_t_receivers.

endmethod.

Try this now the system will trigger external mail.

PS: Email should be maintained for the user who is responsible for Fund center.

former_member213733
Active Contributor
0 Kudos

Use the BADi - FMAVC_EVENT , in which you have the method - MODIFY_MAIL_RECIPIENTS , which you can use the same for configuring the scenario .

Cheers ,

Dewang

Former Member
0 Kudos

Hi Dewang

Thanks for the quick response,

By using this Badi we are trigerring budget exceed alerts mails to SAP Inbox only. But our client is asking mails trigerrs external inbox.

BADI Use

This Business Add-In enables you to create an individual list of email recipients, if this type of list is to be sent for the "With internal mail" events.

Please suggest Is there any alternative way to get budget exceed mails to external inbox ?..

Thanks in advance

Rao

Former Member
0 Kudos

Hi,you can customize automatic mail redirection from internal to external box.ask for basis person

iklovski
Active Contributor
0 Kudos

Hi,

I believe, you can use BADI FMCCAVC_EVENT for this purpose.

Regards,

Eli

Former Member
0 Kudos

Hi,ask for basis person. I think it's possible to make redirection(send to SAP address and then 'resend' to external mail)