on 11-24-2008 3:19 PM
Hi Experts,
I need to print smartform from z_program only to spool, not directly to the printer. How do I need to maintain parameters of function module?
Thanks®ards,
Jirka
Set the Output Options like:
data: wa_comp TYPE ssfcompop.
wa_comp-tdnewid = 'X'.
CALL FUNCTION lf_fm_name1
EXPORTING
output_options = wa_comp
..
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Explore the importing parameters control_parameters and output_options in the smartform FM.
DATA: wa_cnt TYPE ssfctrlop,
wa_comp TYPE ssfcompop.
* to avoid print dialog
wa_cnt-no_dialog = c_x.
* Printer
wa_comp-tddest = 'LOCL'.
* New Spool request
wa_comp-tdnewid = 'X'.
Regards,
Naimesh Patel
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.