Thursday, May 27, 2010

Tutorial on SMART FORMS

Tutorial on SMART FORMSTutorial on SMART FORMS © 2005 SAP AG 1 Applies To: SAP R/3 4.6C – ABAP / SMART FORMS. Summary SAP Smart Forms are used to create and maintain forms for mass printing in SAP Systems. As an output medium SAP Smart Forms support a printer, a fax, e-mail. Many a times there is requirement to download output of SAP Smart Forms in a PDF file. This piece of code gives users a demo for creating and downloading Smart forms to their local PC. By: Swaroopa Vishwanath Company and Title: Wipro Technologies, SAP ABAP/XI Consultant Date: 11 Feb 2005 Table of Contents Applies To:........................................................................................................................................1 Summary ..........................................................................................................................................1 Table of Contents .............................................................................................................................1 Introduction:......................................................................................................................................2 Creation of SMARTFORM:...............................................................................................................2 Global Setting ...............................................................................................................................2 Form attributes ..........................................................................................................................2 Form Interface...........................................................................................................................2 Pages and windows:.....................................................................................................................3 Graphics:...................................................................................................................................3 Date Window.............................................................................................................................4 Main window..............................................................................................................................4 Address .....................................................................................................................................4 Generate Function Module for Smart Form .....................................................................................5 Downloading Smart Form to PDF from Application .........................................................................5 Sample Code ............................................................................................................................6

Sample Output of Smart Form Created ...........................................................................................9 Output of application program with screen shots.............................................................................9 Disclaimer & Liability Notice...........................................................................................................11 Author Bio.......................................................................................................................................12 Tutorial on SMART FORMS © 2005 SAP AG 2 Introduction: SAP Smart Forms allow us to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. For the purpose of demonstrating the power and download capabilities of Smart form, I have created a Smart from named ZSMARTFORM_SWAR. Creation of SMART FORM: From SAP R/3 release 4.6C onwards, SAP has come up with the concept of SMART FORMS. Prior to SAP R/3 4.6C, Sap Scripts were being used for mass printing. To create a smart form, execute the transaction “SMART FORMS”. Provide “ZSMARTFORM_SWAR” as the name of the Smart form. Select “Create”. When you create a Smart Form, the tree structure of the Form Painter already contains two root nodes:...

Website: www.abapguide.com | Filesize: 370kb
No of Page(s): 12
Download Tutorial on SMART FORMS.pdf

No comments:

Post a Comment