on 04-29-2009 3:27 PM
Hi All,
Can any one help me. My requirement is to print a picking list output using smartform automatically when ever a transfer order is generated.
The main problem is i have to select the printer which is defined in VV22 Transaction for that particular output type but when the smartform is called it is taking the printer defined in SU3 transaction.
I have developed the smartform and now done the setting for automatic printing also by passing NO_DIALOG = 'X' when the function module is called but unable to set the printer defined in VV22 Transaction.
Please let me know if you know the solution.
Regards
Ravi
Hi ,
Thanks lot , it helped.
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think u can directly pass the printer name in ur driver program.
eg:
data: l_t_out TYPE ssfcompop.
l_t_out-tddest = 'LOCL'.
CALL FUNCTION l_f_fname -
> Smartform Function Module Name
EXPORTING
archive_index = toa_dara
ARCHIVE_INDEX_TAB = TSFDARA
archive_parameters = arc_params
control_parameters = l_t_control
output_options = l_t_out
user_settings = space
p_langu = p_langu
TABLES
g_t_item = g_t_final
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to define printer in OPK8 transaction for 'Pick list'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.