Skip to Content
avatar image
Former Member

Smartform Print

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 30, 2007 at 09:31 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 31, 2007 at 03:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2007 at 05:47 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded