cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms, Output device WA_EKPO-NETPR not defined., ME9F

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try with;

Giving reference field to NETPR in > global declaration >Currency/Quant. Fields.

BR

Dep

Former Member
0 Kudos

thanks

I solved the problem

Answers (5)

Answers (5)

koolspy_ultimate
Active Contributor
0 Kudos

<sorry duplicate post>

Edited by: koolspy on Aug 23, 2011 11:43 AM

koolspy_ultimate
Active Contributor
0 Kudos

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.

anjaneya_bhardwaj2
Contributor
0 Kudos

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

Former Member
0 Kudos

check the values in this variable

also check in the conditions using this variable..

Regards

aidan_black
Active Contributor
0 Kudos

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

Former Member
0 Kudos

thanks for your response

my own data contains the correct output device. the form can be printed but this error happens only when I try to add the field that contains the price of the item in the PO , which is the field NETPR