cancel
Showing results for 
Search instead for 
Did you mean: 

How I can to execute the MAIN window two times in the same page

Former Member
0 Kudos

Hello, friends:

How I can to execute 2 times the MAIN window in the same page in SAPscript, this without modify the program link a SASPcript?

I create in the same page two MAIN windows, but I can to print only one MAIN window, the second window is not appears.

Thanks for advance,

David

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

I guess this cannot be done without changing the print program,

Ex: rough example, goto your driver program,

Do 2 times.

LOOP.

IF Flag = 'Y'.

**Write_form " main window 1

ENDIF.

IF Flag = 'N'.

**Write_form " main window 2

ENDIF.

ENDLOOP.

Flag = 'N'.

ENDDO.

Regards,

SaiRam

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You are able to print only one Main Window because the second Main Window will be called only when the first window is filled.