Application Development 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: 

How to attach sales order PDF to mail

ashok_2329
Explorer
0 Kudos
268

Hello Experts.

How can we attach sales order PDF to mail.

Regards,

Ashok.

2 REPLIES 2

Tomas_Buryanek
Active Contributor
0 Kudos
217

How are you sending e-mail? Using CL_BCS class (preffered way)?

-- Tomas --

ashok_2329
Explorer
0 Kudos
217

In USEREXIT_SAVE_DOCUMENT I have written the code and by using Function module CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' am sending mails to customers.

Please let me know the process. How can i send Sales order as PRF attachment with the same mail.