Skip to Content
author's profile photo Former Member
Former Member

How to send the SAP SCRIPT form to Email as attachment of PDF?

Hello everyone...

I need a suggestion/solution for the problem explained below.

i have just created the custom form thru the program which will accept the input parameters to print the form.

i need to send this form to Email as an attachment of PDF with the help of spool number or the Form data.

Please let me know the sample logic to achieve this.

Thanks in advance

Madhu

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2007 at 01:32 PM

    Hi Madhu,

    I think you cant send SCRIPT as a email attachment but smartform.

    Regards,

    Nageswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2007 at 01:46 PM

    Hi Madhu,

    Have a look at the thread https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/search%21execute.jspa%3FdateRange%3Dlast90days%26q%3Dpdf%20email%26searchType=2

    See also https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://sending-by-email-attached-documents

    There is also this excellent weblog by Thomas Jung.

    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

    Try to use the below function modules to convert report to PDF

    CONVERT_ABAPSPOOLJOB_2_PDF( convert abap spool output to PDF )

    or

    CONVERT_OTF ( Convert SAP documents (SAPScript) to other types )

    The below function modules are used to send the pdf format as EMAIL.

    SO_NEW_DOCUMENT_ATT_SEND_API1

    or

    SO_DOCUMENT_SEND_API1

    Hope this helps.

    plz reward if helpful

    Regards,

    Pritha.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2007 at 03:10 AM

    go through the link it contains detailed info.. I guess it will solve your problem...

    Examplewww.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9">Example>

    Regards,

    Sairam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2007 at 02:44 PM

    I got the answer from previous blogs

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.