‎2009 Jul 30 1:29 PM
Hi Experts,
I have one Main window , footer window and logo windows in my script.But eventhough the WRITE FORMS are in same loop,
in the first iteraion it is going only to the main window .So the first page Footer contains the second iteration value and so on.Please help me to solve this.
I want to print the first iteration value in the first page footer.
Regards,
Sreeja
‎2009 Jul 30 1:40 PM
Hi sreeja,
Why dont you loop and when using write form, specify the window name.
try this.
loop at itab into wa.
call function 'Write_form'
importing
window = 'window name XXX'
call function 'Write_form'
importing
window = 'window name YYY'
call function 'Write_form'
importing
window = 'window name ZZZ'
endloop.
Blacky
‎2009 Jul 30 2:09 PM
Hello,
dont call the FOOTER window inside the loop as the loop is used for MAIN window.
Write the logic for footer window and call the FOOTER window outside the loop.
Cheers,
Balaji