I am using smartforms to send an email. If I remove the printer from my master data and I run my program in the background, I get the error 'Please maintain an output device in your user master data'. If I run it in the foreground I do not get the error. This will be a background job and that user does not have an output device. Here are my output settings.
l_output_options-xsf = 'X'. " XSF Output active
l_output_options-xsfcmode = 'X'. " Get XSF params from program
l_output_options-xsfoutmode = 'A'. " Application
l_output_options-xsfformat = 'X'. " Formatting ON
l_output_options-tdimmed = space.
l_output_options-tdnewid = space.
l_control_parameters-no_dialog = 'X'.