cancel
Showing results for 
Search instead for 
Did you mean: 

Skip print preview window while downloading Smartform to desktop

rnb86
Participant
0 Kudos

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

    

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)