Skip to Content

Avoiding popup when calling smartform

Hello all,

I have a smartform for printing Production Order BOM. I want this smartform to directly go to spool, instead it gives me a popup.

Could you please tell me how do I avoid this popup and send the form directly to spool.

Thanks,

Salil

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 29, 2007 at 02:34 PM

    Yes...

    You need to set some parameters in the CONTROL_PARAMETERS while calling the Smartform FM

    NO_DIALOG = 'X'.

    PREVIEW = ' '.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2007 at 02:38 PM

    Yoy have to fill all parameters needed (printer and so) and add the no display parameters when calling the smartform funciton module :

    (Sample)

    * Destination
        ssfcompop-tddest = tddest.
        ssfcompop-tdimmed = 'X'.
        ssfcompop-tdnewid = 'X'.
        ssfcompop-tddelete = 'X'.
    * Options
        ssfctrlop-device = 'PRINTER'.
        ssfctrlop-no_dialog = 'X'.
        ssfctrlop-preview = ' '.
    * Call function
        CALL FUNCTION fm_name
             EXPORTING
                  control_parameters = ssfctrlop
                  output_options     = ssfcompop
                  user_settings      = ' '
                  head               = head
                  para               = para
             IMPORTING
                  job_output_info    = ssfcrescl
             TABLES
                  post               = post
             EXCEPTIONS
                  formatting_error   = 1
                  internal_error     = 2
                  send_error         = 3
                  user_canceled      = 4
                  OTHERS             = 5.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2008 at 10:35 PM

    solved

    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.