‎2010 Jun 30 2:22 PM
Hi Experts,
When I send a billing document from VF03 to a customer, the e-mail address is read from my sap user (SU01). I would like an e-mail address for each billing type, but I don't now how to change "mail_sender" parameters in the smartforms (RLB_INVOICE program).
Can you help me, please?
Thanks.
Luca
‎2010 Jun 30 6:48 PM
[Note 960088 - FAQ: Sending SD messages externally|https://service.sap.com/sap/support/notes/960088]
Also emailing of invoices has already been discussed very, very many times on SCN. Have you considered using search in the forum or simply Google with 'invoice email site:sdn.sap.com', for example?
‎2010 Jul 01 8:24 AM
HI Jelena,
thanks for your answer but I had already searched in the forums (and google) and I haven't found how to change the sender address.
Luca
‎2010 Jul 01 3:28 PM
Did you read the note? # 2 answers where the email should be maintained. What is exactly the problem?
‎2010 Jul 01 3:50 PM
When I send an invoice with the transaction VF31, I want to change the sender address with which the invoice is sent. The note does not explain how to change the sender address. Now I can only send e-mail by e-mail address of sap user (SU01).
‎2010 Jul 01 5:26 PM
Email cannot be changed in VF31. It has to be maintained in the condition record or in the master records, as per the already mentioned note.
This is not an ABAP question, ask your SD consultant (or whoever configured the output).
‎2010 Jul 01 6:31 PM
No, it certainly is an ABAP-related issue. Developers are the only ones smart enough to figure this stuff out ;-). The note says nothing about sender configuration for medium '5'. The sender is hard-coded as SY-UNAME during the communication strategy analysis (since the call to CONVERT_COMM_TYPE_DATA does not specify a sender).
This is a common issue - most companies normally use a single sender for all invoices (or invoices per company code) and identify the correct sender details on the job user ID. If this isn't good enough, then you have two choices: use a custom program to generate the email yourself after rendering the form (a copy of RLB_INVOICE) and specify the sender OR enhance the existing function to return a different sender based on your criteria. Personally, I'd go with the custom approach.
‎2010 Jul 02 7:41 AM
Thanks for the replies. I'll try a custom solution, because I had already contacted the SD consultant and there aren't standard solutions.
Luca
‎2015 Apr 18 4:19 PM