Preface – This post is part of the ABAP Beginner series.
Table of Contents
Introduction
As we have already basics of the SAP Smart Forms, in this article we will learn to build Smart Forms in SAP ABAP to print a simple text.
Steps to build Smart Forms in SAP ABAP
Step 1: SMARTFORMS is the t-code for Smart Forms. Enter SMARTFORMS in the common field.

SMARTFORMS Transaction
Step 2: Enter a form name and click on Create button.

Create Smart Forms
Step 3: Enter a short description of the Smart Forms.

Short Description for Smart Forms
Step 4: To create a text, expand the node “Pages and Windows”, then “New Page”. Right-click on “Main Window”, then click on Create -> Text.

Smart Forms Main Window
Step 5: Give a name and description of this text. And enter the text which has to be printed.

Text in Smart Forms
Step 6: Save and activate the Smart Forms.
Step 7: To find the function module that got generated upon activation of the Smart Forms Click on Environment -> Function Module.

Find Function Module of Smart Forms
A pop-up with the name of the function module will appear.
Step 8: Copy the function module name and open t-code SE38 and enter the function module name.

Function Module for Smart Forms
Step 9: Execute the function module.

Execute Smart Forms Function Module
Step 10: Since there are no parameters to pass, click on Execute.

Print preview of Smart Forms
0 Comments