Skip to Content
author's profile photo Former Member
Former Member

print directly in WebGui

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 08:37 AM

    You will need to add

    ls_control-device = 'PRINTER'

    along with your current options to stop the parameters dialog.

    Regards,

    Nick

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.