What is difference between SAP Script and Smartform?
SAP Script:
1.Client dependent
2.Multiple page format is not possible
3.Scripts allows only black & white texts
4.There is no mixture of portrait and landscape format
5.Scripts allows more than one main window
6.This is not support for online.
Smartform:
1.Client independent
2.multiple page format is possible
3.Text can be written in various color
4.There is an option to print a mixture of portrait and landscape format
5. Smartforms allows only one main window on page
6.This is online support.
Windows are defined in form maintenance. They represent areas that are positioned on pages – as page windows – and in which at a later time text is printed. You must define at least one window for each form. Otherwise, SAPscript cannot format the text.
You can assign window names and window types. However, note that you can define only one main window per form.
Use one of these window types:
MAIN WINDOW:
Main window in which continuous text is printed. This is the window used by dialog users of a print program and form. For example, the body text of a letter would be entered in MAIN.
The text in the main window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, as long as MAIN has been defined for these pages.
VARIABLE WINDOW:
Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.
To every window you can assign text, which is printed in the corresponding window when the form is formatted. To assign text, use text elements, which are stored with the form.
To create and maintain text elements with the SAPscript Editor, choose Text elements. For more information, see Text Elements.Should the text selected for the window exceed the window size, then the text is cut off.
CONSTANT WINDOW
Window with constant contents that is formatted only once.
Currently, constant windows are processed in the same way as VAR windows. You should only use windows of type VAR.
How to debug SAP Script?
Goto--- Tocde SE71-->Utilities-->Active Debugger. and then go to Tcode SE38-->give driver program name of SAP Script then click on debug.
How do you transport a script and how do you transport standard text?
By using standard program RSTXTRAN we can transfer SAP standard text form one client to another client and using standard program RSTXSCRP we can transport script from one client to another client.
Different types of SAP Script Symbols?
1.System symbols 2. Standard symbols 3.Program symbols 4.Text symbols.
How to find driver program given the name of SAP script?
First you need to goto Form-->check-->text, you will get one small box hit on enter where you can see the driver program name.
SAP Script:
1.Client dependent
2.Multiple page format is not possible
3.Scripts allows only black & white texts
4.There is no mixture of portrait and landscape format
5.Scripts allows more than one main window
6.This is not support for online.
Smartform:
1.Client independent
2.multiple page format is possible
3.Text can be written in various color
4.There is an option to print a mixture of portrait and landscape format
5. Smartforms allows only one main window on page
6.This is online support.
Windows are defined in form maintenance. They represent areas that are positioned on pages – as page windows – and in which at a later time text is printed. You must define at least one window for each form. Otherwise, SAPscript cannot format the text.
You can assign window names and window types. However, note that you can define only one main window per form.
Use one of these window types:
MAIN WINDOW:
Main window in which continuous text is printed. This is the window used by dialog users of a print program and form. For example, the body text of a letter would be entered in MAIN.
The text in the main window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, as long as MAIN has been defined for these pages.
VARIABLE WINDOW:
Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.
To every window you can assign text, which is printed in the corresponding window when the form is formatted. To assign text, use text elements, which are stored with the form.
To create and maintain text elements with the SAPscript Editor, choose Text elements. For more information, see Text Elements.Should the text selected for the window exceed the window size, then the text is cut off.
CONSTANT WINDOW
Window with constant contents that is formatted only once.
Currently, constant windows are processed in the same way as VAR windows. You should only use windows of type VAR.
How to debug SAP Script?
Goto--- Tocde SE71-->Utilities-->Active Debugger. and then go to Tcode SE38-->give driver program name of SAP Script then click on debug.
How do you transport a script and how do you transport standard text?
By using standard program RSTXTRAN we can transfer SAP standard text form one client to another client and using standard program RSTXSCRP we can transport script from one client to another client.
Different types of SAP Script Symbols?
1.System symbols 2. Standard symbols 3.Program symbols 4.Text symbols.
How to find driver program given the name of SAP script?
First you need to goto Form-->check-->text, you will get one small box hit on enter where you can see the driver program name.