on 12-30-2008 3:08 PM
Dear All,
I have a requirement where i have to archive my smartform in pdf format to a folder on the unix server and also archive it to users local desktop if required.
According to my observation when i am viewing the smartform in print preview i can see two buttons
1) Archive 2) Print and Archive in disabled mode.
Please let me know whether i can enable them and do the required coding for conversion of smartform to pdf and saving the files to the unix server.
Suggest me if there is any other solution for the same.
Regards,
Prathima.
hi Prathima.,
i have done the similar requirement , but not worked in unix server,,
try like this and try to covnert to unix server .
we can convert the smartform to pdf using this FM
data :it_otfdata type table of itcoo,
it_pdfdata type table of tline,
GV_info type SSFCRESCL..
this gv_info is the final table which u r getting from smartform.
it_otfdata[] = gv_info-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = len_out
TABLES
OTF = it_otfdata
LINES = it_pdfdata
.
this is Fm to download the pdf to a particular location ,
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = len_out
FILENAME = gv_fullpath
FILETYPE = 'BIN'
TABLES
DATA_TAB = it_pdfdata.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.