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: 

sending documents as attachments via email

Former Member
0 Kudos

Hi,

I have a selection screen with purchase order number as "select-options" and 2 radio buttons one for downloading and opening the SAP Script output to the local file and the other raido button would convert the SAP Script output into .pdf file and send that file as an attachment via e-mail to the receipent(only one).

I'm through with the first operation. Now need to know about the e-mailing procedure and the function module(s) to be used and their import, export, etc. parameters.

Thanks & Regards,

Rajesh

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

Hi,

Sending PDF as attachment.

Regards

Vijay

former_member188685
Active Contributor
0 Kudos

ferry_lianto
Active Contributor
0 Kudos

Hi Rajesh,

You can use standard SAP program <b>RSTXPDFT4</b> to convert SAPSript spools request to PDF.

Also please check this link for sample code to sending an attachment (PDF) via email:

http://www.sapgenie.com/abap/code/abap31.htm

Hope this will help.

Regards,

Ferry Lianto