Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

window

Former Member
0 Likes
742

diff b/w variable window and constant window?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
715

hi,

Var windows are used to display the text that has to be processed every time.

Ex: Page numbers

Const Windows are processed only once

Ex: Company Name on as header

Regards

Sailaja.

6 REPLIES 6
Read only

Former Member
0 Likes
715

Hi,

VAR 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. Should the text selected for the window exceed the window size, then the text is cut off.

CONST Window with constant contents that is formatted only once. Currently, CONST windows are processed in the same way as VAR windows. You should only use windows of type VAR.

Regards

Sudheer

Read only

Former Member
0 Likes
715

Hi Sumit,

refer this link, which i've posted some time back

Read only

Former Member
0 Likes
716

hi,

Var windows are used to display the text that has to be processed every time.

Ex: Page numbers

Const Windows are processed only once

Ex: Company Name on as header

Regards

Sailaja.

Read only

Former Member
0 Likes
715

Variable window is processed multiple times whilt the constant window only once.

Shreekant

Read only

Former Member
0 Likes
715

Hi..,

<b>

Constant window :</b> Once if u write some code in this window , this will not change in the consequent pages..

Constant window is kind of window, where the contents vll not be changed, like LOGO,Tems and conditions, kind of things can be displayed in the constant window. It will get processed onli once..

<b>

Variable window</b> contents can be changed, like in main widow the contents can be changed page to page.

regards,

sai ramesh

Read only

ferry_lianto
Active Contributor
0 Likes
715

Hi,

1) In Scripts, the window can be of type VAR or CONST except for the MAIN.

2) The content of variable window is regenerated on every page.

3) The content of a constant window is generated once at the beginning and later printed on every page.

4) But in the present versions, SAP system does not distinguish between these two types.

Regards,

Ferry Lianto