Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smart form

Former Member
0 Kudos

what is known as smart form and what are the functions of smart form and what is the diffrence between sap script and smart form

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

check out the following link it may help you.

http://www.erpgenie.com/abap/smartforms_detail.htm

***************please reward points if the information is helpful to you**********

4 REPLIES 4

Former Member
0 Kudos

Regards

Peram

Former Member
0 Kudos

Hi,

check out the following link it may help you.

http://www.erpgenie.com/abap/smartforms_detail.htm

***************please reward points if the information is helpful to you**********

Former Member
0 Kudos

hi

good

SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).

According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).

1. Create a new smartforms

Transaction code SMARTFORMS

Create new smartforms call ZSMART

2. Define looping process for internal table

Pages and windows

First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)

Here, you can specify your title and page numbering

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)

Main windows -> TABLE -> DATA

In the Loop section, tick Internal table and fill in

ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2

3. Define table in smartforms

Global settings :

Form interface

Variable name Type assignment Reference type

ITAB1 TYPE Table Structure

Global definitions

Variable name Type assignment Reference type

ITAB2 TYPE Table Structure

4. To display the data in the form

Make used of the Table Painter and declare the Line Type in Tabstrips Table

e.g. HD_GEN for printing header details,

IT_GEN for printing data details.

You have to specify the Line Type in your Text elements in the Tabstrips Output options.

Tick the New Line and specify the Line Type for outputting the data.

Declare your output fields in Text elements

Tabstrips - Output Options

For different fonts use this Style : IDWTCERTSTYLE

For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&

http://www.erpgenie.com/abap/smartforms.htm

thanks

mrutyun^

Former Member
0 Kudos

hi

SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems. As output medium SAP Smart Forms support a printer, a fax, e-mail, or the Internet (by using the generated XML output).

SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts.

SmartForms are easier to develop, maintain and transport than SAP Script.

ADVANTAGES

SAP Smart Forms offer the following advantages:

Adapting forms without any programming knowledge due to entirely graphical user interface

Web Publishing using the generated XML output

When activating the smart form the system automatically generates the function module and at the runtime processes it.

To make any changes we have to use the Drag & Drop, Cut & Paste. These actions do not include writing of coding lines or using a script language.

We can insert static and dynamic tables. These include the line feeds in the individual table cells, triggering events for table headings and subtotals and sorting data before output.

The smart forms allow the user to include graphics, which can be displayed as a part of the form or as background graphics. During printout the user can suppress the background graphic as and when necessary.

Multiple page formats are possible in SmartForms which is not the case in SAPScripts

It is possible to have a SmartForm without a main window.

Labels cannot be created in SmartForms.

Routines can be written in SmartForms tool.

SmartForms generates a function module when activated.

Hope this solves ur problem....

<b>do reward if useful....</b>

regards

dinesh