|
Written by Gopal Arora
|
|
Wednesday, 09 May 2007 |
|
To print in top_of_page you can use following code.
FORM top_of_page. DATA: ls_line TYPE slis_listheader. CLEAR : ls_line .REFRESH gs_line. DATA: ws_text(100), ws_todate(10), ws_frmdate(10), id_lines TYPE i, id_linesc(10) TYPE c, t_line LIKE ls_line-info. ls_line-typ = 'H'. ls_line-info = 'CUSTOMER C-FORM AND E-1 FORM DETAIL'. APPEND ls_line TO gs_line. CLEAR ls_line. DESCRIBE TABLE i_vbrk3 LINES id_lines. id_linesc = id_lines. CONCATENATE 'Total No. of Record Selected :- ' id_linesc INTO t_line SEPARATED BY space. ls_line-typ = 'A'. ls_line-info = t_line. APPEND ls_line TO gs_line. CLEAR: ls_line, t_line.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gs_line. ENDFORM. "top_of_page
Related Items:
|
|
Last Updated ( Tuesday, 08 May 2007 )
|