cancel
Showing results for 
Search instead for 
Did you mean: 

Email invoice to different addresses based on company code

Former Member
0 Kudos

Running 4.7 and want to send invoice via email to different customer email addresses depending on the company code of the billing document. Currently, configured to send invoice to bill-to party in header of billing doc. Still using modified version of RVADIN01 & Sapscript.

Has anyone done this? Can I overide the email address in the abap and if so, how?

Accepted Solutions (0)

Answers (1)

Answers (1)

martin_voros
Active Contributor
0 Kudos

Hi,

you have to have call of FM OPEN_FORM in your modified version of RVADIN01. This FM has input parameter MAIL_RECIPIENT. So you just need to find correct spot where you can change value of this field to correct email address.

Cheers