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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • 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 comment
    10|10000 characters needed characters exceeded

  • 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 comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2008 at 10:35 PM

    solved

    Add comment
    10|10000 characters needed characters exceeded