cancel
Showing results for 
Search instead for 
Did you mean: 

print directly in WebGui

Former Member
0 Kudos

Hello,

i work with a transaction in the WebGui (ITS) and now i want to print directly a SmartForm. I want to suppress the dialog box.

I try this...

'X' TO ls_output_options-tdnewid,

'X' TO ls_output_options-tdimmed,

'2' TO ls_output_options-tdcopies,

'X' to ls_output_options-TDNOPREV.

'LOHP' to ls_output_options-tddest,

'HPLJ4' to ls_output_options-TDPRINTER.

ls_control-no_dialog = 'X'.

CALL FUNCTION lf_fm_name

EXPORTING

control_parameters = ls_control

output_options = ls_output_options

is_dlv_delnote = ls_dlv_delnote

is_lieferschein = ls_lieferschein

IMPORTING

job_output_info = ls_output_info

job_output_options = ls_output_opt

EXCEPTIONS

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You will need to add

ls_control-device = 'PRINTER'

along with your current options to stop the parameters dialog.

Regards,

Nick

Former Member
0 Kudos

Hi,

sorry but the popup window comes again and want it as pdf document to open.

Former Member
0 Kudos

Hi,

I assumed that the pop-up you refer to in your question was the print paramters pop-up. It sounds like you're getting a different pop-up, can you explain more what this pop-up is and how the printer you're using is defined.

Regards,

Nick

Former Member
0 Kudos

correct, it was not the Print-dialog popup.

i found the note 351230...

i think i cannot suppress this windows...

when you have any ideas for me, let me know

thanks

Former Member
0 Kudos

Hi,

As you've found this is a limit of frontend printing through ITS up to 6.20. I guess one way to avoid this is to use a print method other than frontend (for example output type U), but you would need to check with your basis team about this.

Regards,

Nick

Answers (0)