Skip to Content
author's profile photo Former Member
Former Member

smartforms

How can I make the Smartforms to choose a printer name by default ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Sep 14, 2008 at 07:08 AM

    using the OUTPUT_OPTIONS you can default the printer, or else if your SAP user id aleady having some default printer the you can use USER_SETTINGS option.

    In the OUTPUT_OPTIONS you have option to specify the printer name , check it once.

    *"     VALUE(OUTPUT_OPTIONS) TYPE  SSFCOMPOP OPTIONAL
    *"     VALUE(USER_SETTINGS) TYPE  TDBOOL DEFAULT 'X'

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2008 at 07:17 AM

    Hi,

    In the CALL FUNCTION of the Smartform Function Module,.

    set the parameter output-options to printer name.

    Check the sample code:

    data:

    output_options TYPE ssfcompop.

    output_options-TDDEST = '<name>'. " printer name

    CALL FUNCTION '/1BCDWB/SF00000041'

    EXPORTING

    OUTPUT_OPTIONS = output_options

    TABLES

    IT_PALLET_LABELS = itab.

    Regards

    Adil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2008 at 06:16 AM

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.