Smartform
Smartform
Smartform
1
Objectives
2
Advantages
3
Features
4
Features
5
Features
Structure of the Form
• Pages
• Output areas
• Addresses
• Graphics
6
Pages of a Form
7
Windows of a form
Types of windows
Main Window
•Main window can display text and data covering several pages .
Sub Window
•Sub window can display text and data in a predetermined output
area.
8
Architecture
Smart Form
Application Activate
Output
Program ABAP Function (Printer)
Module
(generated)
DB Selection
Later Selection
Database Form
Output
Description
Data Retrieval Function
Module Call
9
Style builder
10
Tools in smart forms
• Form Painter
• Table Painter
• PC Editor
• Navigation Tree
11
Form Painter
Used to
12
Table Painter
Used to
Draw rows and columns.
• Insert, cut, copy and delete lines.
• Delete cells.
• Split cells.
• Select table patterns.
13
PC Editor
Used to
14
Nodes in Smart form
• Page
• Window
• Address
• Graphic
• Text
• Template
15
Nodes in Smart form
• Table
• Table line
Flow logic
• Alternatives
• Loops
• Program lines
• Command
• Folder
16
Nodal Flow
17
EXAMPLE
18
Table whose data are used in the smartform
ZEMPLOYEE TABLE
19
TCODE :SMARTFORMS
20
Define Form Interface
21
Global definition
22
Creation of first page
23
Insertion of graphical Logo
24
Logo definition
25
Putting text in Text Editor
26
Putting Data Into Table
27
Creation of Rows & Columns
28
Definition of table line
29
Addition of field
(parameter)
30
Getting the name of Function Module.
31
Print Program
REPORT ZEMPLOYEE .
TABLES ZEMPLOYEE.
32
Print Program
34