Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 20, 2011 at 04:54 AM

    Hi,

    Try with;

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

    BR

    Dep

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 19, 2011 at 06:39 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Aug 20, 2011 at 12:28 PM

    check the values in this variable

    also check in the conditions using this variable..

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 20, 2011 at 09:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 06:12 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 06:13 AM

    <sorry duplicate post>

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.