on 08-03-2010 1:45 PM
Hi,
I have given the below logic in SF to print 2 copies and not working.
Can you please help me in this issue and how should I take care of ?
Logic:
gs_control_param-no_dialog = 'X'.
gs_composer_param-tdnewid = 'X'.
gs_composer_param-tdcopies = '2'.
gs_composer_param-tdimmed = 'X'.
gs_composer_param-TDDELETE = 'X'.
*determine smartform function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = gv_formname
IMPORTING
fm_name = gv_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
e_subrc = sy-subrc.
ENDIF.
CALL FUNCTION gv_fm_name
EXPORTING
control_parameters = gs_control_param
output_options = gs_composer_param
user_settings = ' '
TABLES
gi_labels = gi_labels
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
e_subrc = sy-subrc.
ENDIF.
Thanks
Hi,
What are the attributes of the spool that has been created? Does that have '2' in the number of copies or '1'? If it has 2 then the problem is between the spool and the printer, if 1 then the problem is in the smartform.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.