Hi Nidhi,
Use the Following Coding.
Consider L_SUCESS stores the number of Record & L_FAIL stores the number of failure records.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page = 'TOP'
it_fieldcat = it_field
TABLES
t_outtab = it_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
FORM top.
DATA : lv_date(20) TYPE c.
WRITE BUDAT-LOW DD/MM/YYYY TO DATE1.
WRITE BUDAT-HIGH DD/MM/YYYY TO DATE2.
CONCATENATE DATE1 DATE2 INTO lv_date SEPARATED BY SPACE.
REFRESH it_top.
wa_top-typ = 'S'.
wa_top-key = IT_FINAL-NAME1.
wa_top-info = ' '.
APPEND wa_top TO it_top.
CLEAR wa_top.
"Success Record
wa_top-typ = 'S'.
wa_top-key = 'Records Uploaded Sucessfully'.
wa_top-info = l_success.
APPEND wa_top TO it_top.
CLEAR wa_top.
"Fail Record
wa_top-typ = 'S'.
wa_top-key = 'Records Failed:'.
wa_top-info = l_fail.
APPEND wa_top TO it_top.
CLEAR wa_top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_top.
ENDFORM. "top
Regards
Rajkumar Narasimman