on 04-21-2008 4:30 PM
How to modify a print program that is used to convert the script o/p in to PDF FORMAT .. give me procedure to develop & help me sdn..
Check the sample programs
RSTXPDFT4 and RSTXPDFT5
Regards,
Ravi Kanth Talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can use :
CONVERT_ABAPSPOOLJOB_2_PDF
or
CONVERT_OTFSPOOLJOB_2_PDF
or
RSTXPDFT4 standard program for the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dara Rajesh,
RSTXPDFT4 is using for download pdf from spool request but i like get the pdf form script output display.
Kindly help me to do.
Advance Thanks.
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc 0.
endif.
perform download_pdf.
form download_pdf.
daTA : p_file LIKE rlgrap-filename VALUE 'C:\test.pdf'.
data : file type string.
file = p_file.
data : wf_len_in1 type i.
wf_len_in1 = v_len_in.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = wf_len_in1
FILENAME = file
FILETYPE = 'BIN'
TABLES
DATA_TAB = i_tline.[/code]
<REMOVED BY MODERATOR>
Dara.
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 1:02 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
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.