Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

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

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor