Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fill in spool options without dialog in Smartforms

Hi,

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?

Cheers Arne

Tags:
Former Member replied

Hi

The parameter USER_SETTINGS should be SPACE and transfer the short name to wa_output_options-TDDEST

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question