1 Smartforms
1 Smartforms
SAP Smart Forms provide a graphical user interface that helps you create and
maintain the layout and the form logic is maintained separately in the driver program
Smartforms can also be used to generate the PDFs.
OUTPUT
Generated Function Modules interacts with both Driver program and Layout and generates
the output.
4. Enter transaction SMARTFORMS in the transaction code box. In the next
screen,enter a Form name and click create.
5. Form Attributes:
In Forms attributes, we have two tabs. General attributes & Output Options.
General attributes contain some information like the person who created the form,
changed by etc.. .
In Output Options tab, the important options like page format, Style etc.. are
available. The default values are as follows.
We can change page format, Characters per Inch and Lines per inch as per our
requirement.
To provide the custom style we can give the new style name in place of SYSTEM.
EXAMPLE:1 :
Creating Simple form with hard text and directly executing without driver program
Go to the T-Code Smartforms. Supply the Form name (Name should start with z / y).
Choose Create.
Choose main window and right Click on it and create TEXT. Then the following screen
appears.
Then under the General Attributes tab choose this symbol .
If the following screen appears then choose GotoChange Editor.
Then provide the Hard text OR variable (with data) which you want to print.
Provide text and back and save, Check, Activate and Execute(F8) .If it ask the package
provide as local object (Local object is only for practice purpose ).
Then auto generated function Module will appear .Furthure execute . Again Execute(F8)
Then the following screen comes .Supply the value LP01 OR Locl in Output Device and
choose Print Preview .