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

Setting background print parameters for a Smartform

Hi,

I have created a Smartform being triggered from a report program. On the selection screen we have given option for the user to select printer of their choice. When I run the report in foreground it works fine and prints for whatever printer specified. However we need to run this report in the background and print to a specific printer, when I run it in background it always picks local printer as default. Can anyone help me on this?Any advise would be greatly appreciated and rewarded..

Thanks,

-Anthony.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Mar 31, 2008 at 08:06 AM

    when calling your smartform, you can set the printparameters for the printer which should be used. There are function modules for retrieving these parameters and than pass them on to the smartform. Sounds bit simple, but in fact it is. You know which printer you want to use, retrieve parameters and use them.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 31, 2008 at 08:09 AM

    You can use the Interface parameters CONTROL_PARAMETERS

    Populate the Information like Device etc to this , this will take care.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 08:10 AM

    Hi

    Set the control parameters using FM

    Import parameter of the generated function module: CONTROL_PARAMETERS

    Component type: SSFCTRLOP

    you can refer standard driver program RLB_INVOICE

    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9ccd9c8e0e11d4b608006094192fe3/frameset.htm

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 08:19 AM

    hi ,

    in the dynamic function module created by the smartform there is an option for the print parametes like...IS_PARA , you can use this for the printer settings..

    regards,

    venkat.

    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.