Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3228

Print preview window while print smartform

$
0
0

Hi,

 

I am trying to print a smartform and everytime I print it I get the print pop up, I tried different settings to hide it but I am still getting it, here is the code:

 

CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'

     EXPORTING

       pi_nast       = nast

       pi_addr_key   = p_ls_addr_key

       pi_repid      = lf_repid

     IMPORTING

       pe_returncode = p_retco

       pe_itcpo      = ls_itcpo

       pe_device     = lf_device

       pe_recipient  = p_ls_recipient

       pe_sender     = p_ls_sender.

 

 

     MOVE-CORRESPONDING ls_itcpo TO  p_ls_composer_param.

 

     p_ls_control_param-device      = lf_device.

     p_ls_control_param-no_dialog   = 'X'.

     p_ls_control_param-preview     = ' '.

     p_ls_control_param-getotf      = ls_itcpo-tdgetotf.

     p_ls_control_param-langu       = nast-spras.

     p_ls_composer_param-tddest      = 'LOCM'.

     p_ls_composer_param-tdnoprev = 'X'.


Thanks.


Viewing all articles
Browse latest Browse all 3228

Latest Images

Trending Articles



Latest Images

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