Allowing users to choose printer for Smart Form output

Allowing users to choose printer for Smart Form output

How can we allow users to choose which network printer to send Smart Form output to from an ABAP report program?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Add a parameter to the selection-screen based on type NAST-LDEST (Printer ID). If you do this correctly, it should appear as a drop-down box with all defined printers in your system.

In your code, pass this parameter value into NAST-LDEST itself and into CONTROL_PARAM-DEVICE (or whatever variant thereof you are using to call the form). Make sure this value transfer takes place before you call the Smart Form itself.

This was first published in February 2007