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: 

To send output as a PDF attachment via email

Former Member
0 Kudos

Hi experts

I have the (smartform) output data in OTF format..and displaying it in PDF form with FM 'HR_EFI_SHOW_PDF_FORM' .

Now the requirement is <b>to send this output as a PDF attachment via email</b>.

Please help me with sample code to perform this.

Regards,

Matt.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check this links,

/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp

Also for email:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d...

Refer the following link for more details:

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Thanks,

Reward If Helpful.

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check this links,

/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp

Also for email:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d...

Refer the following link for more details:

http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

Thanks,

Reward If Helpful.

Former Member
0 Kudos

check this link hope this solves your problem.

Regards

vasu

Former Member
0 Kudos

Please give me reward point If it is useful

Thanks

Murali Poli

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

You can use the function module SO_NEW_DOCUMENT_ATT_SEND_API1.

Check this link.I am explaining the same here.

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...