cancel
Showing results for 
Search instead for 
Did you mean: 

Need to display footer after displaying some item data

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Is this related to Smartform or Report output.

Regards,

Raghu

Former Member
0 Kudos

Hi thanks for the reply it is Related to smartform.

Former Member
0 Kudos

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