Hi Avinash,
In order to get the footer to be displayedm write this code at the last...
DATA:
w_skip TYPE i. " No. of lines to be skipped
START-OF-SELECTION.
..................
..............
w_skip = sy-linct - sy-linno - 2.
SKIP w_skip. " To trigger END-OF-PAGE event