Skip to Content
avatar image
Former Member

To send output as a PDF attachment via email

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 08, 2007 at 09:26 AM

    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-938c601d5db9

    Refer the following link for more details:

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

    Thanks,

    Reward If Helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 08, 2007 at 09:27 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 08, 2007 at 09:34 AM

    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-0010-eabe-82149bcc292e

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 08, 2007 at 09:26 AM

    check this link hope this solves your problem.

    smartforms-to-pdf

    Regards

    vasu

    Add comment
    10|10000 characters needed characters exceeded