I want to print Smartform output directly with any dialog box. I am doing like this.
wa_control_parameters-no_dialog = 'X'.
wa_control_parameters-device = 'PRINTER'.
wa_output_options-tddest = 'ZLOC'.
wa_output_options-tdnewid = 'X'.
wa_output_options-tdimmed = 'X'.
wa_output_options-tddelete = 'X'.
I am passing this structure to FM. I am not getting any dialog box. IT is creating the spool also if i check in SP02. But this is not priniting the output.
Where m i wrong.
Please help me. its urgent.