on 09-03-2008 3:52 PM
Hi,
In R/3 4.7 can we print sapscript form to PDF. I know we can do it with smartform, but if anyone knows if same can be done with sapscript also.
-Sid
yes.
if your script generatin any spool than execute in se38 with spool number RSTXPDFT4 else you need to code for generate PDF.
Ya it can be done,
it would be best to code for getting the PDF ,or either u can execute in se38 with an specific number of spool after if your script generate any spool.then u canresolve ur problem .
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks,
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know about the printing the PDF directly. But you can convert the SAPScript output to PDF and than save, print or send as email.
First you need to get the OTF data from the FM CLOSE_FORM.
Like:
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = i_itcpp
TABLES
otfdata = otf_data
EXCEPTIONS
OTHERS = 1.
Than use the FM CONVERT_OTF_2_PDF to convert the OTF data to PDF.
Regards
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes.
if your script generatin any spool than execute in se38 with spool number RSTXPDFT4 else you need to code for generate PDF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.