Skip to Content
avatar image
Former Member

Getting run time error while calling smartform


Am getting run time error "please maintain output device in your master data" while calling smart form.

I have hardcoded the printer name in output options as shown:-

outputoptions-xsfcmode = 'X' .

p_output_options-xsf = space .

p_output_options-xdfcmode = 'X' .

p_output_options-xdf = space .

p_output_options-tddest = 'LP01'.

p_output_options-tdnewid = 'X'.

p_output_options-tddelete = SPACE.

p_control_parameters-no_dialog = 'X' .

p_control_parameters-getotf = 'X' .

p_control_parameters-DEVICE = 'PRINTER'.

and then am calling function module



FORMNAME = form_name

  • VARIANT = ' '

  • DIRECT_CALL = ' '


FM_NAME = fm_name


  • NO_FORM = 1


  • OTHERS = 3


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 30, 2008 at 07:33 AM

    Hi Neha,

    I dont know how to workout this....

    but I have displayed smartforms using different method :

    i.e.using InteractiveForms UI Element:

    It is quiet simple

    Download PDF file from liunk below:

    Award points If found useful.

    Add comment
    10|10000 characters needed characters exceeded

    • Could the problem possibly be related to the usage of LP01. LP01 generally is used as frontend printing as the output type. This output type will only work with a connection to the SAPGUI so that it can print via the desktop print spooler. In Web Dynpro you would not have any connection to the SAPGUI, and usage of any frontend based printer would fail. Try using a printer that is setup to print via the ABAP spooler instead.