‎2008 Aug 26 5:28 PM
Hi All,
I am using loop at and i am displaying data in VAR window. But every time it loops it over writing the data in VAR window and finally its printing only the last record in the loop. Can we loop all the data in the VAR window just like what we do in general for MAIN window.
‎2008 Aug 26 5:34 PM
Just try to use Text element and give the values to be printed under text element, in print program in pass the WRITE_FORM with text element in loop and Endloop.
I think we can not use Variable window to print records from an internal table, suppose if the data in first page is full in variable window, and if u use same variable window in second page, it starts printing from 1st record in second page also.
Regards
Bala Krishna
‎2008 Aug 26 5:47 PM
Hi Ben,
You should use only MAIN window to write continuos data.
You cannot write continuos data (from an internal table) in VAR window. If you do so it will overwrite.
Regards,
Chandra Sekhar
‎2008 Aug 26 6:34 PM
Change the type of the window from VAR to MAIN...u cannot display dynamically growing data in var window.
Note: In sapscript u can define more than 1 MAIN window.