cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I got the answer from previous blogs

former_member196280
Active Contributor
0 Kudos

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

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9">Example</a>

Regards,

Sairam

Former Member
0 Kudos

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%2...

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

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.

Former Member
0 Kudos

Hi Madhu,

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

Regards,

Nageswar