Application Development 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: 

SapScript 'MAIN' Window without 'Text Element'

Former Member
0 Kudos

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

former_member188685
Active Contributor
0 Kudos

Because Main winodw will trigger twice.

regards

vijay

0 Kudos

Hi Vijay,

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

0 Kudos

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

0 Kudos

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

0 Kudos

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?