on 01-31-2012 9:43 AM
Hi ,
I have the requirement that i need to display only 15 records in a page,If more records display 15 and then need to display footer and need to go next page to display next records.Every thing is ok but how to display footer data after 15 records in first page.Please help me on this.
Thanks,
Kumar.
Hi
Is this related to Smartform or Report output.
Regards,
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
Its simple.
Just do the code as follows,
The logic flows like this,
table
Header
Main Area
at the end of cells add alternatives
In the alternatives check for loop count (you can use a variable and increment for each loop or you can use sy-index system
field) check whether the count is 15.
True break page using commands.
So the control will come to footer and it will display the footer and the loop will continue.
Footer.
Else try to put the fotter like line type inside the main area and then display it after 15 records and do a page break.
Either of the two ways you can do this.
If you face any issues in this revert back to me i will help you.
Thanks,
Sri Hari
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.