‎2006 Dec 14 10:10 AM
As it is necessary to have MAIN Window in sapscript. So can we definer window type as constant or variable for MAIN WINDOW....
hope u r getting me ......
thnkas
‎2006 Dec 14 10:16 AM
main window is also one aligned category of Var and Const window types.
So we cant do that.
‎2006 Dec 14 10:16 AM
main window is also one aligned category of Var and Const window types.
So we cant do that.
‎2006 Dec 14 10:17 AM
Hi
One of the window type is main window, so if you define all windows as either constant or variable windows then where will be main window. Main window will be created automatically even if you want to change its type it will not allow, it will raise error.
Regards
Haritha.
‎2006 Dec 14 10:18 AM
hi sam..
i dont think so we can perform the action you want to do..i.e. we cannot define the main window as constant or varible window.
‎2006 Dec 14 10:26 AM
if u could tel the exact requirement, then we can able to suggest more and exactly.
‎2006 Dec 14 10:33 AM
Hi Sam,
The MAIN window will automatically comes when you create a form.
A window mainly contains the SAP scripts text and the variable to be printed. There is one special window, MAIN, which contains the output of the line item of a document and is created by the system. The window can be of type VAR or CONST except for the MAIN. But in the present version, SAP system does not distinguish between these two types. The content of variable window is regenerated on every page. The content of a constant window is generated once at the beginning and later printed on every page.
Thanks,
Vinay
‎2006 Dec 14 12:10 PM
‎2006 Dec 14 10:50 AM
hi sam,
sorry yaar it is a must to have a main window. its a default one and its ur wish to fill the data r not.
why that worries u man ,since if u dont want the data in main window u leave it as it is . scripts r to be printed so in the output u dont know the window specifications.
with regards
magesh.
‎2006 Dec 14 10:54 AM
Hi sam,
I guess you are dealing with cheque printing,
If you need your cheque to be printed on each page use a constant window within the main window.
and if your cheque is to be printed just on the first page use variable window.
Feel free to ask any more questions.
Regards,
pankaj singh