How to build Smart Forms in SAP ABAP

by | Jul 4, 2020 | ABAP Beginner

Home » SAP » ABAP » ABAP Beginner » How to build Smart Forms in SAP ABAP

Preface – This post is part of the ABAP Beginner series.

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

SMARTFORMS Transaction

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

Create button for Smart Forms

Create Smart Forms

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

Short Description for 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

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

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

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

Function Module for Smart Forms

Step 9: Execute the function module.

Execute Smart Forms Function Module

Execute Smart Forms Function Module

Step 10: Since there are no parameters to pass, click on Execute.

Print preview of Smart Forms

Print preview of Smart Forms

Author

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Author