I'm trying to set a default printer when calling the function that allows me to print my SmartForms.
data: output_options TYPE ssfcompop.
output_options-TDDEST = 'CTR7'.
CALL FUNCTION '/1BCDWB/SF00000001'
OUTPUT_OPTIONS = output_options
IT_PALLET_LABELS = ct_label4.
IF SY-SUBRC <> 0.
However, when the funcition is called, the print that appears by default is the predefined user printer. Does anyone know how to set the printer by default?
Thanks in advance.