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

No print dialog should display for Sascript output

Hi,

I am converting the Sapscript output as PDF and mailing it as attachment.

But I am getting print dialog for Open-Form to select output device and print preview.

Can you please let me know how to skip this Print dialog while exectuing this script...

Thanks

Rakesh

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 19, 2008 at 03:09 PM

    Try this way

        i_itcpo-tdimmed    = 'X'.
        i_itcpo-tdnewid    = 'X'.
        i_itcpo-tdprogram  = sy-repid.
        i_itcpo-tddest = '<PRINTER>'. " Your Printer Name
     
        call function 'OPEN_FORM'
             exporting
                  device   = '<PRINTER>'
                  language = sy-langu
                  options  = i_itcpo
                  dialog   = ' '
             exceptions
                  others   = 1.
    

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 03:34 PM

    try passing X to TDNOPREV in the control parameters.

    Thanks

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

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.