Skip to Content

User-Exit / BTE / BADI for VF02 - E-Mail from Customer Clerk

Jun 21, 2017 at 10:00 AM


avatar image
Former Member

Hey guys,

we are using transaction VF01/VF02 for creating invoices in SAP. Now we want to send the invoices via E-Mail. Therefor we created an own output type with medium 5 external send. This works fine as it takes the e-mail Adress from customer branch data in General Data.

The problem is: We want to take the E-Mail Address from Customer Clerk (B-Segment). Is there any User-Exit etc. to change this behaviour?

We found out that E-Mail address get selected in report SD_INVOICE_PRINT01, Form routine GET_OUTPUT_PARAMS.


Regards Michael

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jelena Perfiljeva
Jun 21, 2017 at 05:28 PM

SD module is different from FI. In SD we have the condition driven output, which is a rather good functionality as long you know how to use it. I'd suggest to get an experienced SD consultant on this to avoid creating unnecessary ABAP.

To each output type, we can assign a partner function. It can be any partner in the document, even a custom one. Instead of trying to switch the source field for the email, the best practice would be to maintain a different partner or a contact person.

This has been discussed on SCN before, make sure to search. Also search in SAP documentation and notes. There is an FAQ note on the output in SD, if memory serves.

10 |10000 characters needed characters left characters exceeded