Fill in spool options without dialog in Smartforms
I´m trying to set the spool parameters before printing in Smartforms. Therefore I don´t want a dialog to choose the print options.
There are too structures, which are going to be passed to the smartform function: OUTPUT_OPTIONS and CONTROL_PARAMETERS.
I have the shortname of the device (CHAR4 field), like 'LOCL' or a print device.
How can I now set the parameters before calling the function of the smartform? When I fill the 4char device field into output_options-tddest, it´s not working! It´s always printing on the default device!
What else should I fill to get it printed right?
The parameter USER_SETTINGS should be SPACE and transfer the short name to wa_output_options-TDDEST