cancel
Showing results for 
Search instead for 
Did you mean: 

remove print screen in sapscripts

former_member235056
Active Contributor
0 Kudos

Hi frendz,

How do i remove print screen that appears before final output screen and after run F8(selection screen) in sapscript program.

Regards,

Ameet

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In your print program you will have a function module OPEN_FORM, in the parameters of this set;

  call function 'OPEN_FORM'
    exporting
      device                            = 'PRINTER'
      dialog                            = ' '
      form                              = form_name
      language                          = sy-langu
      options                           = ls_itcpo
   exceptions
     canceled                          = 1
     device                            = 2
     form                              = 3
     options                           = 4
     unclosed                          = 5
     mail_options                      = 6
     archive_error                     = 7
     invalid_fax_number                = 8
     more_params_needed_in_batch       = 9
     spool_error                       = 10
     codepage                          = 11
     others                            = 12.

where ls_itcpo has structure itcpo and contains the print parameters.

Regards,

Nick

former_member235056
Active Contributor
0 Kudos

Hi,

can u pls elaborate this i want this to be done in std sap program.

Regards,

Ameet

Former Member
0 Kudos

Sorry, it's not possible to influence the standard program. You'll need to take a copy, change that and use it in your configuration.

Regards,

Nick

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

Print screen can be disabled while OPEN_FROM,

Pass imput parameter

OPTIONS with structure <b>itcpo</b>

Goto SE11, and see the structure, you will find a field in this structure, populate it and pass it to your function module.

Regards,

SaiRam