Smart form is a GUI Tool which is used to design the business legal documents such as Delivery note,Purchase order,Invoice etc .Smartforms are client independent objects.
Tcode is Smartforms.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeqXKkihcx1gm6bASAizXiA61E1_D-BvFwiE-DAtXgGdcyvrpsyjJE_6bOTipVHOn0EFNxsV54BbsEkcWPIesa4kjXUnLu6pRqjl69HBy-xf9GmD9jpqRrBPl6UraLtedZGkLKVDGXVy6Z/s640/Screenshot_1.jpg)
SmartForm Consist Of Three Windows
1. Navigation window (left panel) :-
It consist of nodes and sub nodes. They contain all the
elements (text, window etc) that belong to sap forms .
Navigation Window has Two Main Nodes
A. Global Setting :-It is used to provide the basic settings for the smartform.
Form Attribute :-
Tcode is Smartforms.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeqXKkihcx1gm6bASAizXiA61E1_D-BvFwiE-DAtXgGdcyvrpsyjJE_6bOTipVHOn0EFNxsV54BbsEkcWPIesa4kjXUnLu6pRqjl69HBy-xf9GmD9jpqRrBPl6UraLtedZGkLKVDGXVy6Z/s640/Screenshot_1.jpg)
SmartForm Consist Of Three Windows
1. Navigation window (left panel) :-
It consist of nodes and sub nodes. They contain all the
elements (text, window etc) that belong to sap forms .
Navigation Window has Two Main Nodes
A. Global Setting :-It is used to provide the basic settings for the smartform.
Form Attribute :-
It specifies the general attributes like who created, Date time,
package,translate options, default smart style, Page format .
Form Interface :-
It acts as a mediator between a driver program and a smart
form The main functionality of form interface is, it will import the
parameters which are exported by driver program.The parameters can be
variables, work areas, internal tables..etc.
Global Definition :-
It will contain the variables to be used within the smart form.
We can define variables, user defined data types, field symbols,
initialization code,Subroutine, currency/quantity fields.It is mainly used
for declaring or defining the above variables.
B . Pages and windows
This will contain all the pages and the windows, which are used in the smartform.
By default, a page will be created by name %page1.
By default, a window will be created by name 'Main' under the page1.
For each page, we need to specify the next page.
Eg: page = %page1
Next page = %page1 or %page2
Nodes under pages :-
Page : It is used to define the layout of a smartform. We can have
different pages with different layouts.
Window : it is used to display information or text at a particular place on a page.
Graphic : it is used to display logos or images on the smartforms.
Address : It is used to display the address of customer or vendor or employee,
organization address , workplace address etc.Just provide address no,
it will automatically display the address as per the country formats.
Nodes under the window :-
Text : it is used to display the information or text in a window.
Table : It is used to display the information in the form of table.When
ever we create table by default HEADER, MAIN AREA, FOOTER
will be displayed The main functionality of a table is, it expands
automatically depending on the internal table data.We need to
provide the name of the internal table for a table.
Template : template is also like a table which does not expand. That means
it will have fixed number of rows and columns.
Program lines : it is used to write some lines of abap code.
Window Types in Smartforms :-
Main window : For continuous output .
Secondary window : For output with a fixed length.
Final window : Special type of secondary window for outputting the
information that is not known until the end of form
processing .
Copies window : Special type of secondary window for marking pages as
copy or original.
2. Maintenance window : - It shows attributes of the elements
3 .Form painter window :- It shows the layout of the page.
This Form Painter Layout Which has Windows & Main Window.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE5imBb3SfBDPW1AHgoO8Ubk7KYNPIJ50seoAJT1ohZ_WavjZrxPP2DPNFwIEFy1lJz8qFcNR2mvE7y3yWeCGvK7BcqlgKe9WYyGitJSLV-4K_QRMa34aybc2P8zyPlSChv0ZVe3j0zw1Y/s640/Screenshot_2.jpg)
B . Pages and windows
This will contain all the pages and the windows, which are used in the smartform.
By default, a page will be created by name %page1.
By default, a window will be created by name 'Main' under the page1.
For each page, we need to specify the next page.
Eg: page = %page1
Next page = %page1 or %page2
Nodes under pages :-
Page : It is used to define the layout of a smartform. We can have
different pages with different layouts.
Window : it is used to display information or text at a particular place on a page.
Graphic : it is used to display logos or images on the smartforms.
Address : It is used to display the address of customer or vendor or employee,
organization address , workplace address etc.Just provide address no,
it will automatically display the address as per the country formats.
Nodes under the window :-
Text : it is used to display the information or text in a window.
Table : It is used to display the information in the form of table.When
ever we create table by default HEADER, MAIN AREA, FOOTER
will be displayed The main functionality of a table is, it expands
automatically depending on the internal table data.We need to
provide the name of the internal table for a table.
Template : template is also like a table which does not expand. That means
it will have fixed number of rows and columns.
Program lines : it is used to write some lines of abap code.
Window Types in Smartforms :-
Main window : For continuous output .
Secondary window : For output with a fixed length.
Final window : Special type of secondary window for outputting the
information that is not known until the end of form
processing .
Copies window : Special type of secondary window for marking pages as
copy or original.
2. Maintenance window : - It shows attributes of the elements
3 .Form painter window :- It shows the layout of the page.
This Form Painter Layout Which has Windows & Main Window.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE5imBb3SfBDPW1AHgoO8Ubk7KYNPIJ50seoAJT1ohZ_WavjZrxPP2DPNFwIEFy1lJz8qFcNR2mvE7y3yWeCGvK7BcqlgKe9WYyGitJSLV-4K_QRMa34aybc2P8zyPlSChv0ZVe3j0zw1Y/s640/Screenshot_2.jpg)
0 comments:
Post a Comment