Skip to Content
Former Member
Jan 04, 2008 at 09:42 AM

How to determine end of an internal table in main window in Smart form


Hei Experts,

I've two internal tables in my smartform main window. Between these two tables, 'm giving command to go to the las page format as both the tables are to be printed on two different page formats.

It's working fine. But the problem is, AT THE END OF FIRST TABLE, I've to display 'Total/Subtotal'. Currently I've put these totals in a window and given the condition 'only on page 'NEXT_PAGE' where the first internal table is getting printed. But if NEXT_PAGE sprawls across two or more pages, these totals will appear on all such pages.

Question is, how to determine the end of the first internal table in the main window??

Plaese suggest....thnx in advance...