Hi Every one,
Good after noon .
I have developed a smart form for the output type 'ZDRM', it is working fine.My requirement is when i click 'Process' the spool request is to be generated and click on 'Preview' preview should be open.
I did like this and passing to smart form.
wa_cparam-no_dialog = 'X'.
wa_cparam-device = 'PRINTER'.
wa_output-tddest = 'LP01'."'LOCA'.
wa_output-tdimmed = 'X'.
wa_output-tdnoprint = 'X'.
wa_cparam-preview = 'X'.
But problem is when i click on 'Preview' preview is opened successfully,and click on 'Process' it is showing preview first and generating spool after closing the preview.
How can i suppress preview when clicking on process.
Thanks&Regards,
Suresh.