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

What is the difference between Constant window and variable window?

Former Member
0 Likes
777

Hi Experts,

What is the difference between constant window and variable window in scripts.Please explain the same with a

example.

Thanks in advance.

Shilpa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
661

Hi Shilpa,

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.

Thanks,

Vinay

5 REPLIES 5
Read only

Former Member
0 Likes
661

Hi

They are secondary windows:

- Costant: the window has to have same size and data in every page.

So these window are written once.

- Variable: the window can have different size and data.

So they can be re-written in every page

Max

Read only

0 Likes
661

Hi Shilpa,

Variable windows are formatted for each page. To every window you can assign text,

CONST Window with constant contents that is formatted only once.

Cheers

VJ

Read only

Former Member
0 Likes
661

in scripts main window is constant which means that ii cannot be altered.

remaining all windows are variable which mns we create windows of different sizes

Read only

Former Member
0 Likes
661

Hi,

CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page example header data

Variable window: Main window ia a type of variable

window in which data may vary.

Regards

Amole

Read only

Former Member
0 Likes
662

Hi Shilpa,

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.

Thanks,

Vinay