2009 Sep 21 5:01 PM
[http://blogfiles5.naver.net/20090921_228/jin8417_1253524625285L1ra3_png/print_jin8417.png]
The screen will pop up, such as when printing pictures.
What are ways can not see?
Thanks.
[http://blogfiles5.naver.net/20090921_228/jin8417_1253524625285L1ra3_png/print_jin8417.png]
The screen will pop up, such as when printing pictures.
What are ways can not see?
Thanks.
2009 Sep 21 5:06 PM
link:[http://an-abaper.blogspot.com/2009/07/printing-smartform-without-print-dialog.html]
Edited by: Keshu Thekkillam on Sep 21, 2009 9:36 PM
2009 Sep 21 5:07 PM
Hi,
Set this,
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = w_destination
layout = 'X_58_170'
*no_dialog = 'X'* "Set this parameter
IMPORTING
out_parameters = params
valid = valid.
Regards,
Vikranth
2009 Sep 21 5:08 PM
Hi,
Check the below code:
data: function_module_name type rs38l_fnam,
ssfctrlop type ssfctrlop,
ssfcompop type ssfcompop.
*print parameters
ssfctrlop-device = printer.
ssfctrlop-no_dialog = x. -----------------> No dialog display
ssfcompop-tddest = locl.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = form
importing
fm_name = l_fmname
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc 0.
endif.
call function l_fmname
exporting
control_parameters = ssfctrlop
output_options = ssfcompop
user_settings = ' '
data_cust = it_data
exceptions
exceptions = 1
formatting_error = 2
internal_error = 3
send_error = 4
user_canceled = 5.
Regards,
Soumya
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |