You are on page 1of 42

IBM Global Services

Introduction to SmartForms

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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.

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Architecture of Smart Form

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Architecture of Smart Form (Contd.)

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Form Builder Components

Global Settings
Pages and Windows

Navigation Tree

Maintenance Screen

Form Painter

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Form Builder Components (Contd.)

Global Settings
Pages and Windows

Navigation Tree

Maintenance Screen

Form Painter

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Form Builder Components (Contd.)

Global Settings
Pages and Windows

Navigation Tree

Maintenance Screen

Form Painter

10

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

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

11

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

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

12

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Testing/Running Smart Forms


Find the Function module name

Function module name for this example Form

13

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global Services

Downloading Smart Forms

Download Smart Form

Download Subtree

16

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global Services

Uploading Smart Forms

Upload Smart Form

19

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global Services

Other useful functions

Undo
Return to Active Version

Redo

22

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Header data

28

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Header data

29

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Paragraph format

30

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Paragraph format

31

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Paragraph format

32

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Paragraph format

33

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Demonstration
Creating a style and defining a paragraph format in it.

34

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Practice
Creating a style and defining a paragraph format in it.

35

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Character format

36

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Character format

37

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Demonstration
Creating a style and defining a character format in it.

38

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Practice
Creating a style and defining a character format in it.

39

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global Services

Style Builder (Contd.) : Upload / Download Style


Upload Style

Download Style

40

Introduction to Smart Forms |

Dec-2008

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

IBM Global 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

2005 IBM Corporation

You might also like