on 08-19-2011 7:20 PM
Hi
I am creating a form of purchase order, I am trying to have the price printed, but I have the following message when I try to print:
Output device WA_EKPO-NETPR not defined.
Message no. SSFCOMPOSER011
Diagnosis
The output device specified is not known in the SAP System. Valid output devices are maintained in spool administration.
System Response
The system issues an error message.
Procedure
Choose an output device from the possible entries help on the printer dialog box.
Procedure for System Administration
Check the output devices defined in spool administration.
thanks
Hi,
Try with;
Giving reference field to NETPR in > global declaration >Currency/Quant. Fields.
BR
Dep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<sorry duplicate post>
Edited by: koolspy on Aug 23, 2011 11:43 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, i guess you havent defined your printer (i.e) output type.
if you use driver program then when you call your sf just insert the below code.
also please check your reference field
NETPR in > global declaration >Currency / Quant. Fields and select either currency or quantity.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = f_sf_formname
* VARIANT = ' '
* DIRECT_CALL = ' '
importing
fm_name = f_sf_fmname
exceptions
no_form = 1
no_function_module = 2
others = 3
.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
st_control_parameters-no_dialog = 'X'.
st_control_parameters-preview = 'X'.
st_output_options-tddest = 'WINDEFAULT'.
and also please check your smartform -> form attributes -> output tab page format and also check output format.
regards,
koolspy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Please dubug an see what value you are passing as printer (output device) , looks like you are not passong correct value to the TDDEST ...Please dubug and see what is the value you are passing to smartform in outuput_option structure ,,,
Thanks,
Anjaneya
Edited by: Anjaneya Bhardwaj on Aug 20, 2011 11:13 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the values in this variable
also check in the conditions using this variable..
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Smartforms, when your application calls the function module of the Smartform, the parameter OUTPUT_OPTIONS-TDDEST should contain the name of the output device that is used for printing. The parameter USER_SETTINGS must be set to ' ' (default is 'X', so the parameter must be set), otherwise the output device contained in the default settings of the user(in transaction SU01) will be used.
So you should ensure that the parameter OUTPUT_OPTIONS-TDDEST is filled with the name of a valid output device when your application calls the smartform function module.
regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.