‎2007 Jul 27 2:38 PM
what are various elements present in the layout set of a script or smartform and what is the functionality of each element,what is the procedure to transfer data from one tab to another tab.
‎2007 Jul 27 2:51 PM
Hi Sandeep,
Language
Language in which the data coming on to the layout set will be printed. Generally, this will be the language that has been set up as default in the SAP system
Header
Section to define the various attributes of the layout set on a global level. Changing these attributes will affect all the components of the layout set.
The various components of the header are explained below
Administration Information
This shows the information about the layout set details of the designer, details of changes occurring to the design, development class of the layout set and the language details for the layout set
Standard Attributes
Description - Brief description or title of the layout set
Default paragraph - The base paragraph that is globally applicable to the document. This can be overridden at lower level of the layout set by using other paragraphs
Tab Stop - The base tab-stop that is globally applicable to the document. These can be overridden at lower level of the layout set by using other tab stops
First Page - The start page of the layout set
Page Format
Orientation - The direction of printing the data on a page P for portrait (vertical) and L for landscape (horizontal)
Lines per inch
Characters/inch
Font Attributes
Here the various attributes and the base font applicable to the document can be defined. This font setting can be overridden at a lower level using the character strings
Paragraphs
Used to define the start and end positions for the different texts and objects that need to be printed on the output document.
Character Strings
Used to define the fonts and the formatting and printing styles for each and every character that needs to be printed on the output document. The start of the character string is indicated by <string name>, while the end of the character string is indicated by </>
Pages
The designer needs to organise the template as a series of pages. When an actual output document is printed, it will refer to each page for putting the data coming from the ABAP program. The order of pages is also taken from the template i.e the layout set defined.
Windows
Various parts of the output document can be conveniently organised on the pages using windows. Thus the data stream coming from the ABAP program can be logically grouped into various parts and can be placed on different locations on a page
There are 2 main types of windows that can be used in a layout set:
MAIN - A layout set can have only one MAIN window which is created by default. This window can flow over multiple pages.
CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page
Text Elements
Any text that needs to be written on the output document should be placed within a text element. This includes constant text as well as variable data like internal table data coming from the ABAP program.
It is advisable to group logically related data within one text element.
The fields of various tables defined in the ABAP program will be included under these text elements. These fields are carriers of data. Every field should be included in a pair of & characters. (e.g. &aufk-aufnr&)
Page Windows
All the windows that form a page of the layout set.
Choose the window and click the Text Elements button to go to the Layout Set Editor. This consists of 2 parts
The small space on the left is for specifying the type of command, while the window adjacent to it is for writing the command or the text that needs to go under a text element.
This would be a Clear Info I Guess.
Cheers.
<b>Reward Points If useful*</b>
‎2007 Jul 27 2:51 PM
Hi Sandeep,
Language
Language in which the data coming on to the layout set will be printed. Generally, this will be the language that has been set up as default in the SAP system
Header
Section to define the various attributes of the layout set on a global level. Changing these attributes will affect all the components of the layout set.
The various components of the header are explained below
Administration Information
This shows the information about the layout set details of the designer, details of changes occurring to the design, development class of the layout set and the language details for the layout set
Standard Attributes
Description - Brief description or title of the layout set
Default paragraph - The base paragraph that is globally applicable to the document. This can be overridden at lower level of the layout set by using other paragraphs
Tab Stop - The base tab-stop that is globally applicable to the document. These can be overridden at lower level of the layout set by using other tab stops
First Page - The start page of the layout set
Page Format
Orientation - The direction of printing the data on a page P for portrait (vertical) and L for landscape (horizontal)
Lines per inch
Characters/inch
Font Attributes
Here the various attributes and the base font applicable to the document can be defined. This font setting can be overridden at a lower level using the character strings
Paragraphs
Used to define the start and end positions for the different texts and objects that need to be printed on the output document.
Character Strings
Used to define the fonts and the formatting and printing styles for each and every character that needs to be printed on the output document. The start of the character string is indicated by <string name>, while the end of the character string is indicated by </>
Pages
The designer needs to organise the template as a series of pages. When an actual output document is printed, it will refer to each page for putting the data coming from the ABAP program. The order of pages is also taken from the template i.e the layout set defined.
Windows
Various parts of the output document can be conveniently organised on the pages using windows. Thus the data stream coming from the ABAP program can be logically grouped into various parts and can be placed on different locations on a page
There are 2 main types of windows that can be used in a layout set:
MAIN - A layout set can have only one MAIN window which is created by default. This window can flow over multiple pages.
CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page
Text Elements
Any text that needs to be written on the output document should be placed within a text element. This includes constant text as well as variable data like internal table data coming from the ABAP program.
It is advisable to group logically related data within one text element.
The fields of various tables defined in the ABAP program will be included under these text elements. These fields are carriers of data. Every field should be included in a pair of & characters. (e.g. &aufk-aufnr&)
Page Windows
All the windows that form a page of the layout set.
Choose the window and click the Text Elements button to go to the Layout Set Editor. This consists of 2 parts
The small space on the left is for specifying the type of command, while the window adjacent to it is for writing the command or the text that needs to go under a text element.
This would be a Clear Info I Guess.
Cheers.
<b>Reward Points If useful*</b>