You are on page 1of 42

IBM Global Business Services

Introduction to SmartForms

Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Objectives

The participant will be able to :


Explain what is Smart Form and its features
Explain the architecture of the Smart form
Explain form builder components
Explain how to test the Smart Form
Explain how to download, upload Smart form as well as other useful functions
Explain how to call a Smart Form from the application Program using various
function modules
Explain how to build the main program for calling the Smart form
Explain Style Builder
Explain how to create paragraph format using style builder
Explain how to create character format using style builder
Explain how to download and upload style to and from local PC

2 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

What is Smart Form ?

Smart Forms are a new generation graphical user interface (GUI) tool to create &
maintain Forms for mass printing in minimum time.
Supports a printer, a fax, e-mail, or the Internet (XML) as output medium
A development over the earlier print technique SAP Scripts
Transaction > SMARTFORMS
Menu path -> SAP menu->Tools->Form Printout->Smart Forms

Note : The SAP Smart Forms replace the SAP Script forms. SAP Script forms will also
be supported in the future; you can use them without making any changes for years
to come. You can use SAP Script texts in the Smart Forms. Migration of SAP Script
forms into Smart Forms is supported.

3 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Architecture of Smart Form

4 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Architecture of Smart Form (Contd.)

5 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Features of Smart Form

Easier development than SAP Scripts


Hierarchical representation of Form logic,
GUI based no or less programming effort involved
Added print and print control features
Graphics as background or as part of the form
Minimizes or eliminates the need for Pre-printed stationery
Provides better presentation facility
Color on the form
Client independent
Separate data retrieval logic from form logic and form layout
Web publishing

6 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Features of Smart Form (Contd.)

Easier development than SAP Scripts


Hierarchical representation of Form logic,
GUI based no or less programming effort involved
Added print and print control features
Graphics as background or as part of the form
Minimizes or eliminates the need for Pre-printed stationery
Provides better presentation facility
Color on the form
Client independent
Separate data retrieval logic from form logic and form layout
Web publishing

7 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Form Builder Components

Global Settings

Pages and Windows

Navigation Tree Maintenance Form Painter


Screen

8 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Form Builder Components (Contd.)

Global Settings

Pages and Windows

Navigation Tree Maintenance Form Painter


Screen

9 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Form Builder Components (Contd.)

Global Settings

Pages and Windows

Navigation Tree Maintenance Form Painter


Screen

10 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Display an existing smart form and show the various components of it.

11 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Display an existing smart form and check the various components of it.

12 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Testing/Running Smart Forms


Find the Function
module name

Function module
name for this
example Form

13 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Finding the function module name of an existing smart form and executing the
function module from function module builder (SE37).

14 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Finding the function module name of an existing smart form and executing the
function module from function module builder (SE37).

15 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Downloading Smart Forms

Download Smart Form


Download Subtree

16 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Downloading an existing Smart Form in to the local PC.


Downloading sub tree of an existing Smart Form in to the local PC.

17 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Downloading an existing Smart Form in to the local PC.


Downloading sub tree of an existing Smart Form in to the local PC.

18 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Uploading Smart Forms

Upload Smart
Form

19 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Uploading a Smart Form that was stored previously in the local PC as an XML
file.

20 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Uploading a Smart Form that was stored previously in the local PC as an XML
file.

21 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Other useful functions

Undo Redo

Return to Active Version

22 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Function Modules for Calling a Smart Form from the


Application Program
The following function modules are used for interfacing between the Smart Form
and the Application Program:
System generated Function Module (upon activation of smart Form) (Mandatory)
SSF_FIELD_LIST (Optional)
SSF_FUNCTION_MODULE_NAME (Optional)
SSF_ERRORMESSAGE (Optional)
SSF_READ_ERRORS (Optional)

23 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Calling a Smart Form from the Main Program

Steps to create the Main Program


Find which form will be used and which parameters for data selection is required (Read
from the message control or from individual selection screen of a standalone program)
Call the function module SSF_FIELD_LIST to know which data the form needs (this
step is optional).
Read the database tables to prepare the data required for the smart form.
Call the function module SSF_FUNCTION_MODULE_NAME to determine the name of
the function module for the smart form.
Call the function module of the smart form for output.
Call the function module SSF_READ_ERRORS for error handling purpose (this step is
optional).

24 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Creating a custom main program and call a custom Smart Form ( copy of an
standard Smart form).

25 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Creating a custom main program and call a custom Smart Form ( copy of an
standard Smart form).

26 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder

Style Builder is used to maintain Smart Styles where we define character formats
and paragraph formats for use across Smart Forms. These are not explicitly
defined in the Smart Form; the Smart Style in which required Formats are defined
is referred to in the Smart form.
Transaction-> SMARTSTYLES or From the initial screen of transaction
SMARTFORMS

27 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Header data

28 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Header data

29 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Paragraph format

30 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Paragraph format

31 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Paragraph format

32 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Paragraph format

33 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Creating a style and defining a paragraph format in it.

34 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Creating a style and defining a paragraph format in it.

35 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Character format

36 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Character format

37 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Demonstration

Creating a style and defining a character format in it.

38 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Practice

Creating a style and defining a character format in it.

39 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Style Builder (Contd.) : Upload / Download Style

Upload Style

Download Style

40 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Summary

Smart Forms are a new generation graphical user interface (GUI) tool to create &
maintain Forms for mass printing in minimum time.
The Transaction for Smart Forms is SMARTFORM.
Smart Forms are easier to develop than SAP Scripts.
Smart Form can be created by migrating an existing SAP Script this copies only
the layout (Pages, windows, etc) of the SAP Script to the smart Form. Transaction
: Smartforms -> initial screen-> menu Utilities->Migrate Sap script Form.
Style Builder is used to maintain Smart Styles where we define character formats
and paragraph formats for use across Smart Forms.

41 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013


IBM Global Business Services

Questions

What is Smart form ?


What are the main advantages of Smart form over Sapscript ?
Describe the Architecture of Smart Form?
What are the main components of smart form builder?
What are the main function modules required to call a Smart form from the main
program?
How can we find the associated function module name in a Smart form?
What is Smart style?

42 Introduction to Smart Forms | Dec-2008 IBM Corporation 2013

You might also like