Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change e-mail sender smartforms

Former Member
0 Likes
1,924

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

8 REPLIES 8
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,401

[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?

Read only

0 Likes
1,401

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

Read only

0 Likes
1,401

Did you read the note? # 2 answers where the email should be maintained. What is exactly the problem?

Read only

0 Likes
1,401

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).

Read only

0 Likes
1,401

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).

Read only

0 Likes
1,401

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.

Read only

0 Likes
1,401

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

Read only

0 Likes
1,401

This message was moderated.