Warning: include_once(http://erpgenie.com/_borders/topabap.htm) [function.include-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Warning: include_once() [function.include]: Failed opening 'http://erpgenie.com/_borders/topabap.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Sample Code arrow ABAP Reports arrow top_of_page Query in ALV
top_of_page Query in ALV PDF Print E-mail
User Rating: / 0
PoorBest 
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 )
 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 333
Sample Code: 164
Total Contributions: 550

Member Activity
Members: 6244 since 2/1/2007!
New: 1 since yesterday!
Visitors: 1077586

Newest Members

Welcome our newest members:

Google Ads


Warning: include(http://erpgenie.com/_borders/bottom.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22

Warning: include() [function.include]: Failed opening 'http://erpgenie.com/_borders/bottom.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22