‎2007 Dec 21 3:43 PM
i needed a help in converting a script to pdf file , i know there is one standard programto do so. but im unable toget the program name.
please let me know if any body knows.
thanx.
‎2007 Dec 21 3:53 PM
Hi,
I know one method to convert the sapscript to pdf file :
first generate a Spool Request for the required Sapscript
then goto transaction SP01 and copy the generated Spool Request number
now execute the SAP report RSTXPDFT4
here enter the copied Spool request number and the target directory into the parameters
execute the report
required pdf file will be generated into the target directory
i hope it will help you out
Please refer this simple program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Reward points if found helpful....
Cheers,
Venkoji Babu.
‎2007 Dec 21 3:53 PM
Hi,
I know one method to convert the sapscript to pdf file :
first generate a Spool Request for the required Sapscript
then goto transaction SP01 and copy the generated Spool Request number
now execute the SAP report RSTXPDFT4
here enter the copied Spool request number and the target directory into the parameters
execute the report
required pdf file will be generated into the target directory
i hope it will help you out
Please refer this simple program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Reward points if found helpful....
Cheers,
Venkoji Babu.
‎2007 Dec 21 4:18 PM
use these declarations
DATA: i_otf LIKE itcoo OCCURS 100 WITH HEADER LINE,
i_pdf LIKE tline OCCURS 100 WITH HEADER LINE,
i_opt like itcpo occurs 0 with header line.
i_opt-TDGETOTF = 'X'.
append i_opt.
add this in OPEN_FORM exporting
OPTIONS = i_opt
do it in CLOSE_FORM
TABLES
otf = i_otf
lines = i_pdf .
use GUI_DOWNLOAD to download it.
pass i_pdf in DATA_TAB table
FILETYPE must be BIN
put the filename as .pdf
Reward if useful
Thanks
Sayak