Dynamic Text is a Text Type in Smart Form and the value can be directly passed through Interface of the form. The data should be in table type TFSTEXT
"Using Text Type we can add text in smartforms.
Types of Text Type:
1. Text Element
2. Text Module
3. Include Text
4. Dynamic Text"
Types of Text Type:
1. Text Element
2. Text Module
3. Include Text
4. Dynamic Text"
Set the print mode as Duplex
To give a page break in smartforms we need to create a COMMAND line in the Main Window. For example if we want to display only five records per page and the records of the particular flight
Set a variable based on SFSY-PAGE and use in a condition parameter for the Logo node
A command node is a special type of node in smartforms which can be used to trigger page-breaks
Whenever we create a smart form and activate it a function module is generated based on a naming convention. Smart forms internally use Number ranges to name the function module whenever we change and activate the smart form. In the above case the FM name is /1BCDWB/SF00000359. The function module for the next new and activated Smart Form would be /1BCDWB/SF00000360. So when this smart form is transported to other systems a new function module name is generated according to the Number range in that system, then using the function module name directly in the driver program may result into dumps as the function module names is not available in the system. To handle this situation SAP developed Function module SSF_FUNCTION_MODULE_NAME to get the name of the function module for a smart form dynamically. If the form is not active, the FM raises the exception NO_FORM.
Execute the smartform then you will see a Function Module. Just put breakpoint in that FM and execute the smartform.
Template is static, it has fixed number of rows and column once you fixed the number of row and column in templates you can't add extra data. Table is dynamic the number of column and row can be increased of decreased according to the requirement of data.
Form Interface contains fields or tables passed from the driver program to the Smartform. Variables declared within the Global Definitions can be used inside Smartform only.