‎2006 Dec 13 11:20 AM
I have created a cheque format in sapscript. For that i went to form painter and created that format with having seven windows.
Now i have been told that we dont require main window, change mainn window to the constant window or final window.......
I am also not able to hard code the window name....... i am going to change editor for change but nit getting success.........
thanks
‎2006 Dec 13 12:34 PM
HI,
A sap script cannot run without a main window, that is the major disadvantage of
sap script u can try smart forms as this can run without main window.
Regards,
Vaibhav B Gawali.
‎2006 Dec 13 12:41 PM
Hey Sam...
This is not possible in SAP Scripts. Because sap script requires atleast one main window. this is only the constraint with the windows in sap script. this can be done in smartforms. Main window is manditory. Data will flow from this window only.
regards
arjun
‎2006 Dec 13 12:42 PM
Hi,
you can't delete main window,if you want this to be done only in sap-script you can create another constant window inside the main window.
to change the name of the window
goto edit menu and click on rename
regards,
pankaj singh
‎2006 Dec 13 12:45 PM
Hi Sam
It's not possible to run a script form without main window.
Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:
It controls the page break.
It contains the text body that may cover several pages.
It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).
As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.
If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page. This page must not call itself as subsequent page (recursive call), since this would produce an endless loop. In such a case, SAPscript terminates the output after three subsequent pages.
For printing header lines or totals, the different output areas of the main window are of special importance.
Just give them following link to give justification:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db74a494511d182b70000e829fbfe/frameset.htm
If they still stick to the requirement, you can create one more constant window and write all the details of main window into that window and then make main window height to neglizible height.
Regards
Surya.
‎2006 Dec 13 12:47 PM
u need to delete the main window and recreate it by edit->create element and clicking on hte main window converting the window type to constant .
just do this .
<b>note that a script will have a main window by default . its the design feature</b> .
change editor will not do , u need to delete the main window , recreate it and in page windows see the window type in change mode and set it to const.
regards,
vijay