How do I print a single purchase order per page?

How do I print a single purchase order per page?

In the Smart Forms driver program in select-options, I can select a range of purchase order numbers. Now where do I write a loop condition so that I can print a single purchase order per page?

    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.

There are many ways to accomplish your goal. For instance, you could put the loop in your print program itself, wrapped around the successive calls to the Smart Form, passing in the changed document information each time.

However, if I understand your requirement correctly, I would recommend that you write your print program to produce a single PO at a time and leverage 'wrapper' transaction ME9F (PO message output) to handle the looping for you. One of the benefits of this approach is that it ensures the message control table NAST gets updated properly when output is issued for each individual PO.

This was first published in February 2007