Application Development and Automation 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: 
Read only

sap script to pdf

Former Member
0 Likes
371

hi,

my requirement is convert standard sap script to pdf format and send it as attachment via email.send me some sample code ASAP.

2 REPLIES 2
Read only

Former Member
0 Likes
349

Hi,

Please refer this simple program:

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

Best regards,

Prashant

Read only

Former Member
0 Likes
349

Set the "options" parameter of the FM "OPEN_FORM" to create a spool id.

Fetch the spool no from table TSP01.

Convert the spool to PDF using FM "CONVERT_ABAPSPOOLJOB_2_PDF"

then attch the PDF as an attachment to your email.