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

SapScript 'MAIN' Window without 'Text Element'

Former Member
0 Kudos
265

Why is it, if we run 'MAIN' Window without defining 'Text Element'(/E), it displays the contents twice.. The same doesn't happens with other 'Variable' windows..

5 REPLIES 5
Read only

Former Member
0 Kudos
202

Because Main winodw will trigger twice.

regards

vijay

Read only

0 Kudos
202

Hi Vijay,

Can you tell me why Main Window will trigger twice..

Read only

0 Kudos
202

Hi Main window is different from Var window.

Var window will call only once .

But main window it will call many times, it will go to Driver program and come back to populate the data.

for Clear info debug and see.

regards

vijay

Read only

0 Kudos
202

Suppose if i've one record in itab. and first time it will write , and it will come back to driver then no data but it will again go and write the data to Main window with the previous values.

regards

vijay

Read only

0 Kudos
202

I'm calling the Main Window only once. If I define a 'Text Element' in Main Window then it displays the contents only once.

So, why is it that in 'Main' Window, Nameless Text Elements are displayed twice?