cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Print

rahul_srivastava3
Participant
0 Kudos

Hi Experts,

I need one help regarding the print layout set while excuting program to print.

One Pop-Up comes where we used to give the Printer name , Output Options etc....

Requirement is : not to give this pop-up and pass these user-options and printer name directly in program.

In short i want to know how to use Control Prameters and user-options in Program.

Plz. do help.

Regards,

Rahul Srivastava

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

DATA :cs_composer_param TYPE ssfcompop

cs_composer_param-TDDEST = 'Printer name'.

cs_composer_param-TDCOPIES = 'No of copies'

specify these fields and pass cs_composer_param to 'OUTPUT OPTIONS' while calling the smartform.

former_member196280
Active Contributor
0 Kudos

Pass the following to your smartform function module control parameters.

CON_PAR-in-dialog = ' '.

CON_PAR-in-tddest = 'LOCL'

CON_PAR-dialog = ' '.

CON_PAR-tdnewid = ' ' .

CON_PAR-tdpreview = ' '.

Regards,

SaiRam

Former Member
0 Kudos

Hi,

you need parameter " CONTROL_PARAMETERS"

CALL FUNCTION fn_name

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

control_parameters = control_parameters

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

  • OUTPUT_OPTIONS =

CONTROL_PARAMETERS-in-dialog = ' '.

CONTROL_PARAMETERS-in-tddest = 'PRINTER'

CLEAR CONTROL_PARAMETERS-dialog.

CLEAR CONTROL_PARAMETERS-tdnewid.

CLEAR CONTROL_PARAMETERS-tdpreview.

With the function module LOAD_PRINT_PARAMETERS you can get the information from the user (printer), but it must be customized.

Hope you can use it,

Manuela