cancel
Showing results for 
Search instead for 
Did you mean: 

Avoiding popup when calling smartform

former_member188001
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member188001
Active Participant
0 Kudos

solved

raymond_giuseppi
Active Contributor
0 Kudos

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

snaithalath
Explorer
0 Kudos

Amazing man,

Your input helped me resolve some issues. Keep it up!!!

Thanks and Regards,

Sujith.

naimesh_patel
Active Contributor
0 Kudos

Yes...

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

NO_DIALOG = 'X'.

PREVIEW = ' '.

Regards,

Naimesh Patel

former_member188001
Active Participant
0 Kudos

Hi Naimesh,

Its now working fine, I am not getting the popup any longer also the smartform is getting printed.

The only problem is i dont see it in the spool SP01. Do I need to set any other parameters for that ?

Regards,

Salil

raymond_giuseppi
Active Contributor
0 Kudos

Clear the TDDELETE parameter to keep the spool after printing.

Regards