Skip to Content
avatar image
Former Member

Passing printer name to smart form

Hi,

How to pass more than four characters printer name to smart form function module name. Please help me. I will give points.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 10, 2007 at 02:00 PM

    In the smartform function module, there will be a output options parameter.

    Pass the Output device to TDDEST and Printer name to TDPRINTER and pass that parameter to the smartform function module.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Check the table TSP03D. the field 'NAME' is the name of the printer and 'PADEST' is the logical name to be used for output device.

      Hope this helps.

      Regards

      Navneet

  • Apr 11, 2011 at 07:55 AM

    Hi,

    you will have to convert the printer name to 4 characters by using exit CONVERSION_EXIT_SPDEV_INPUT and then you can pass this value to Function module calling smartform.

    I know its a late reply.

    Regards,

    Kumud

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2011 at 01:00 PM

    Response edited out...why people feel the need to find and reply to 4 year old threads, I'll never know. Why don't we auto-lock them?

    Edited by: Brad Bohn on Apr 11, 2011 8:01 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The response of Kumud may be helpful for people who search for their problem later.

      So I am thankful to her.

      Kind regards

      Peter