05-09-2006 9:10 AM
Hi,
I have a sapscript form I want to transform to a pdf file. How can I do that?
With smartforms I have done something like that. I have exported my form data to otf and converted it to pdf. Is it the same way in sapscript?
Thank you, Michael
05-09-2006 9:13 AM
Hi michael,
1. This is one way.
2. While taking the printout,
we get a list of printers.
3. If acrobat (acrobat writer)
is installed on front-end,
then in the printer list,
we will also get 'Acrobat PDF Writer'.
4. After selecting this,
we will get a file-open dialog box
for saving the .PDF file.
5. This file will contain the sapscript form.
6. In fact, any kind of printout,
Word,Excel etc,
will be converted to .PDF if we
have acrobat pdf writer installed.
regards,
amit m.
05-09-2006 9:13 AM
I am not sure if SAP Script can give you OTF data. But you can use this to convert the spool of the SAP Script into PDF - CONVERT_ABAPSPOOLJOB_2_PDF
Regards,
Ravi
Note - Please mark the helpful answers
05-09-2006 9:21 AM
There are two SAP functions to convert SPOOL to PDF.
1 CONVERT_ABAPSPOOLJOB_2_PDF
2 CONVERT_OTFSPOOLJOB_2_PDF.
05-09-2006 9:26 AM
for converting script into smartform the following links may be helpful to you
http://help.sap.com/saphelp_nw04/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
and you can get a pdf on convertion of script to smartform in
cheers
ajay
05-09-2006 9:47 AM
<b>CONVERT_OTF</b> Convert OTF format to various formats (TLINE table) ASCII or PDF
<b>CONVERT_OTF_2_PDF</b> Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.
<b>CONVERT_OTF_2_PDF_ARCHIVELINK </b> Convert OTF to PDF (TLINE table). Calls CONVERT_OTF. Looks like the function names for these two functions are mixed up J
<b>CONVERT_OTF_AND_FAX
CONVERT_OTF_AND_MAIL </b>
<b>CONVERT_OTFSPOOLJOB_2_PDF</b> Input: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE) Example
<b>CONVERT_ABAPSPOOLJOB_2_PDF</b> Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE)
regards
vinod
08-02-2006 10:09 AM
Hi Michael,
You can do it in this way,
1. Send the output of Script form to the SPOOL.
2. Run the program 'RSTXPDFT4', it will ask you for the spool number, just enter the spool number and execute.
3. Now you can have the Script form output in a PDF file.
Try and get back,
Regards
Azmath S
08-02-2006 11:07 AM
like u did for smartforms u can do for sapscript...
like OTF conversion...
08-02-2006 11:52 AM
Hi Michael,
Check out programs in package STXD, Which is mainly for SAPScripts which i think is really usefull for SAPscript.
Regards:-
Santosh.D