‎2006 Aug 30 6:20 PM
hi guys,
I have to design a form which consists of one main window which repeats itself 3 times on the page.if there are 4 windows to be printed, it has to print 3 on one page and the 4th one goes on the first window of the next page.can any one please help me how to proceed with the logic.
regards,
nani
‎2006 Aug 30 6:24 PM
Having multiple MAIN windows does not mean that they will be copies of the first MAIN window.
Not sure I understand your request.
You put as many MAIN page windows on the page as you want. When the first is full, it goes to the second. When the second is full, it goes to the third. If there are only three MAIN page windows and the third is full, it goes to the next page and starts over again.
A good example is printing mailing labels where each label is a MAIN page window.
‎2006 Aug 30 6:30 PM
thanks norman for ur quick reply,
i have to print picking labels its has the same content on each window except that its has different label number on each window.
can u help me with the logic.
regards,
nani
‎2006 Aug 30 6:51 PM
Use the following to switch between Main windows:
call function 'CONTROL_FORM'
EXPORTING
command = 'NEW-WINDOW'
EXCEPTIONS
unopened = 01
unstarted = 02.If you have 3 Main windows on your form and you call this FM 3 times it will go to the 1st Main window of the next page.