on 05-18-2012 1:03 PM
Hi Experts,
i have 2 questions about smartforms. In one of my custome screens, i have given 2 buttons 1. Print proview and 2 Download.
1. For print preview, i used the FM SSFCOMP_PDF_PREVIEW. Here before preview i get the print preview standard SAP window. I want to skip this screen and give the user the preview directly.
The parameters i used for print preview are:
prnt_ctrl-getotf = 'X'.
prnt_ctrl-preview = space.
prnt_ctrl-no_dialog = 'X'.
and
out_optn-tdnoprev = 'X'.
I still get the print preview window. How to skip this??
2. For the download button, i used the FM convert_otf and gui_download respetively to download to local PC.
the settings i used are:
prnt_ctrl-no_dialog = 'X'.
prnt_ctrl-preview = 'X'.
prnt_ctrl-getotf = 'X'. "Parameter to convert smartforms data to OTF format
out_optn-tdnoprev = 'X'.
out_optn-tddest = 'LOCL'.
I implemented the suggestions given here on SDN about the parameter combinations but it didnt work out. Where am i going wrong??
Thanks
For PRINTING DIRECTLY
ST_CONTROL_PARAMETERS-PREVIEW = ' '.
ST_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
ST_OUTPUT_OPTIONS-TDIMMED = 'X'.
user printer settings must be maintained too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.