2023 Mar 05 5:58 PM
Hi,
I have a job calling RSNAST00 to send a mail with an invoice list. The user needs to send this list to multiple mails, is it possible?
thanks!
Maria
2023 Mar 05 6:23 PM
Hello mariamerino,
Please make a distribution list to assign in your batch job with enhancement of your program to trigger mail to distribution list.
Hope it works for you.
Regards,
Neeraj Jain
2023 Mar 10 8:01 AM
But the distribution list is not always the same. They want to assign some more than one email address to the customer and then send the mail to all those addresses.
2023 Mar 10 7:24 PM
Hello mariamerino,
Then what's the problem? You can maintain multiple email addresses in customer master and enhance the print program to trigger the mail.
Regards,
Neeraj Jain
2023 Mar 05 10:09 PM
Hi Maria,
Several of the SD output programs contain BADIs for dealing with output medium 5 (external send). If the distribution list option that neeraj.jain16 has suggested is not desired, then this option is a possibility. Please note that the distribution list is probably a better option as it requires zero code.
Regards,
Ryan Crosby
2023 Mar 12 10:23 PM
My problem es that I didn’t find any badi/user exit to modify the current behavior.
The distribution list is not an option because they want to maintain these mails in the customer master.
2023 Mar 12 10:29 PM
mariamerino80 if you cannot find a BADI then your remaining alternatives are the distribution list or copying the standard program and inserting the necessary logic. The future is far cleaner going the former route, and the latter is likely laden with problem after problem.
2023 Mar 13 3:58 PM
This fm CONVERT_COMM_TYPE_DATA is the one that returns the mail address in lvs_comm_values, I don't know if it's possible to to add other addresses there.
2023 Mar 13 4:23 PM
mariamerino80 if you were to alter that behavior you could break other things in the system that use that function. You would need to look at the distribution list or copying the program so you can decide how you want to handle it. The former option is vastly superior as far as future maintenance goes.
2023 Mar 13 6:35 AM
What is the logic between the email ? Is there an email for the customer and several emails never changed ? or is it several email for each customer ?
2023 Mar 13 9:20 AM
RSNAST00 is the program used to retrigger the output types(to make one more printout of the invoice for example). It is not specific to any application. Hence it can be used for sales order outputs, delivery outputs and invoice outputs.
RSNAST00 can be used only if the output was triggered for the first time in Batch mode(i.e. it is not triggered in immediate mode(4) and triggered in batch mode(1). Those kind of outputs can be triggered n number of times using RSNAST00
2023 May 23 7:27 AM