Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Smart from process and Print preview issue

$
0
0

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.



Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>