Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Passing printer name to smart form

Former Member
0 Kudos

Hi,

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

Thanks.

6 REPLIES 6

Former Member
0 Kudos

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.

0 Kudos

Hi,

Thanks for your reply but there I can pass maximum four character printer name but my case printer name contains 12 characters. If I pass 12 characters printer name it is considering first four characters and it is displaying printer name is not found. So please tell me how to pass more than four characters printer name.

Thanks.

0 Kudos

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

former_member182041
Active Contributor
0 Kudos

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

brad_bohn
Active Contributor
0 Kudos

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

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

So I am thankful to her.

Kind regards

Peter