How to Design and Maintain the Smartform?
Every company regularly needs to print large numbers of documents with a consistent design, such as invoices or delivery notes. To do this, they must use their business application software. Documents can be output to a printer, a fax device or as e-mails.
Starting with R/3 Release 4.6C, SAP provides a new tool for form processing -SAP Smart Forms. This tool includes utilities for designing forms and for defining the interface to the application programs that use forms for data output.
Benefits of Smart Forms
Sapscript and Smart Forms
Tools For SAP Smart Forms
Designing SAP Smart Forms
Creating / Maintaining Forms
To call the initial screen of the SAP Smart Forms maintenance transaction, enter SMARTFORMS in the OK code field, or choose Tools → Form printout → Smart
Forms from the menu. Then choose one of the radio buttons depending on which type of SAP Smart Forms object you want to edit:
Forms Styles Text modules
If you want to work on a form, choose the Form radio button and enter the name of the form.
You can create, display, and change forms. The system then takes you to the graphical editing tool, which is called the SAP Form Builder.
Never change the original SAP forms to prevent your modifications from being lost during the next upgrade. Instead, copy the original form into your customer namespace (starting with Y or Z) and then modify the form copied as required.
You can also rename, delete, or test forms. To do this, use the available pushbuttons or the options of the Smart Forms menu. Testing a form requires that it has been activated before (in the SAP Form Builder).
Additionally, you can make settings specific to the SAP Form Builder. You can create SAP Smart Forms based on existing SAPscript forms by choosing Utilities → Migrate SAPscript form.
- There are two types of windows: main windows and secondary windows.
- In the subnodes of the main window, you output text and data that may cover several pages (called the body text) such as the bookings of a customer. When the main window is completely filled with text and data, the text is displayed in the main window of the next page. The pages are broken automatically. (You can use a different next page than that set as the default. See Unit 7 -Flow Control.)
- You can only define one window in the form as the main window.
- The main window must have the same width on each page. You can choose the height and position as required.
- A page without a main window may not refer to itself as the next page since this would cause an endless loop. In this case, the system terminates after processing three pages.
- In the subnodes of a secondary window, you output text and data in a predefined output area. This means that the text is not displayed as a body text with page breaks.
- Text and data that do not fit into the secondary window are truncated and not output.
- The height, width and position of a secondary window may be different for each page.
- Graphics are automatically set to the correct size. As far as addresses are concerned, only the most important information is shown if the output area is too small.
1. The transaction looks up in Customizing which program to call. This program then reads the data.
2. The transaction learns in Customizing which SAP Smart Form to use for the scenario chosen, calls the appropriate function module generated and thus triggers the form processing process. The interface is filled with the data read.
When the form processing process is started, the form processor (Composer) is automatically called in the background. The Composer is responsible for formatting the texts according to the layout information stored in the form, filling fields with values at runtime and controlling the page breaks.Download attached file:
You must be Loged in to download file