‎2007 May 28 12:27 PM
hi
experts,
how many types of windows in script(how i can work with different windows when i am entering into the script?)
‎2007 May 28 12:54 PM
Hi,
There r four types of Window.
1. Constant: Constant window is used for displaying the static contents i.e. the contents which are same on every page.
2. Variable: Variable window is used for displaying variable contents but if the content of this window expands more than window size then the contents would be truncated.
3. Main: This window is a cumpoulsary window. There shud be atleast one Main Window in Script. Main Window is used to display line items i. e. the contents that we print using a loop. we can have 99 main windows in Script. To seperate these main windows Text Elements are used.
4. Graphics : It is used display Graphics such as logo.
Reward points if useful.
Regards,
Harsha
‎2007 May 28 12:29 PM
‎2007 May 28 12:31 PM
Hi,
There 4 types of windows:
MAIN
Variable
Constant
Graphic
Check the following links for more information with examples:
http://www.sap-img.com/sapscripts.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
Regards,
Bhaskar
‎2007 May 28 12:34 PM
thnking you for sending the good reply,but i mant know about 4 types of windows
‎2007 May 28 12:51 PM
hi balaji,
main window used for line item means whatever outpur u want to print for multiple lines your code must be in main window.
there r one main window but u can create 99 instance of main window.
means u can create 99 main window but that would not be replica that will print the output in continuation
suppose your first main window size allowing u to print the 30 rows of data and if u have the same size of another main window then from 31 row to 60 will be printed in the next main window.
constant window is used for printing mostly header means whatever u waana to print on each n every pages u will give in constant window bcaz a in a constant window code generated once in a time and printed in all pages .
but variable window used for header item.
means whatever variable of single line u wanna to print u can use this window and u can generate seperate code for each and every page.
till now i didnt use grid window because it rarely used.
thanks and regards
vijay
‎2007 May 28 12:54 PM
Hi,
There r four types of Window.
1. Constant: Constant window is used for displaying the static contents i.e. the contents which are same on every page.
2. Variable: Variable window is used for displaying variable contents but if the content of this window expands more than window size then the contents would be truncated.
3. Main: This window is a cumpoulsary window. There shud be atleast one Main Window in Script. Main Window is used to display line items i. e. the contents that we print using a loop. we can have 99 main windows in Script. To seperate these main windows Text Elements are used.
4. Graphics : It is used display Graphics such as logo.
Reward points if useful.
Regards,
Harsha