on 04-01-2008 9:15 AM
Hi ,
I don't want to display dialog while showing output in SAP Script.How to do it?
How to create PDF output of SAP Script.
Hi ,
I am facing one problem while converting to PDF through RSTXPDFT4.
There are few Japanese fonts which are coming as Junk characters in PDF.
I have installed the Japanese font for the adobe reader but still the issue is there.
Any insight as to how this can be resolved?
Regards,
Rohini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to convert a spool with Japanese characters to PDF, there are some pre-requisites.
The spool must be created by a Japansese device type like JPSAWIN, JPSPOST or JPHPLJ4. The language key of the sapscript form or smartform must be Japanese. Finally the Japanese texts must use a Japanese font like JPMINCHO or DBMINCHO.
Alternatively if the spool is created by Unicode device type SWINCF, then the form language and the font settings are not important. In this case the PDF conversion should work regardless of form language and fonts.
Regards,
Aidan
Hi Ramesh,
1. To convert SAP script output to PDF, in the transaction give external send as the medium instead of print output.
2. Choose comm.strategy as CS01
3. In SCOT transaction, make sure there is an active node to convert OTF to PDF.
If you are not sure of how to use SCOT , pls get in touch with your basis consultant .
Thanks
Seema.
Hi Rohini,
You said you convert a spool to PDF via report RSTXPDFT4.
The spool that is converted must have previously been created with a device type, form language and using fonts as I described above.
For the device type this is defined in the output device that is used to create the spool. The output devices are defined via transaction SPAD.
Regards,
Aidan
I don't want to display dialog while showing output in SAP Script
What dialog ???
To convert to PDF
get the OTF from CLOSE_FORM then use fm CONVERT_OTF to get pdf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
I am just having a similar problem. I would like to output the sapscript form to PDF additionally to printing it. Using the otf conversion functions and writing the pdf to disc will only create the pdf but not print the sapscript form on my printer.
Do you have any idea how to solve this?
Thanks.
Best regards
Martin
Hi,
For Convert script to PDF use the below FM
==========================
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 255
IMPORTING
bin_filesize = w_bin_filesize
TABLES
otf = t_otfdata
lines = t_pdf
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
========================
For suppress display dialog
g_flag = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = g_flag
form = ' '
language = sy-langu
options = itcpo
IMPORTING
result = itcpp
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
OTHERS = 7.
============================
Regards
Nehruu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u need to find the code in standard program used for Script,there u will find for example : OPTIONS internal table or work area and its parameters those are passed to FM OPEN_FORM - OPTIONS .u can comment it to hide dialog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
u need to find the code in standard program used for Script,there u will find for example : OPTIONS internal table or work area and its parameters those are passed to FM OPEN_FORM - OPTIONS .u can comment it to hide dialog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
capture the spool request number and use the belom program in se38 RSTXPDFT4
Regards,
V.Balaji
Reward if Usefull...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.