0% found this document useful (0 votes)
18 views7 pages

1 Smartforms

SAP Smart Forms provide a graphical user interface for creating and maintaining form layouts separately from the driver program logic. The form layout contains visual elements like windows, tables, and templates, while the driver program contains data retrieval logic. When executed, a generated function module interacts with both the layout and driver program to output the form, such as a PDF.

Uploaded by

krish9.900000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views7 pages

1 Smartforms

SAP Smart Forms provide a graphical user interface for creating and maintaining form layouts separately from the driver program logic. The form layout contains visual elements like windows, tables, and templates, while the driver program contains data retrieval logic. When executed, a generated function module interacts with both the layout and driver program to output the form, such as a PDF.

Uploaded by

krish9.900000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SMART FORMS

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.

SMARTFORM = Layout (Certain code in Layout) + Driver Program (CODING)

1. T-Code to Create Smartforms is Smartforms.


2. Forms are designed with Graphical User Interface. It has features like drag & drop,
Copy, Paste etc…
3. After activation & execution of form a Function Module is generated .

The form layout contains windows,


minor logics, tables, templates etc.
LAYOUT

Driver program contain data


Retrieval Logic

OUTPUT

DRIVER FUNCTION MODULE


PROGRAM

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.

The next screen is divided into three sections-

 Navigation window contains Nodes and subnodes.


 Maintenance window shows attributes of the elements
 Form printer window shows the layout of the page

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.

Then the following screen will appear .

By default we get one page (PAGE1) and MAIN Window.

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 GotoChange 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 .

Finally we get the following Output.

You might also like