Skip to Content
0
Former Member
Aug 28, 2006 at 10:39 AM

ALV REPORT TITLE

25 Views

HI EXPERTS,

CAN U PLZ ANALYSE THE CODE AND SUGGEST ME SOLUTION.

I AM USING THE BELOW CODE TO DISPLAY MY REPORT TITLE ON TOP CENTRE OF THE REPORT BUT I AM GETTING IT ON LEFT CORNER OF THE ALV LIST.

FORM top-of-page.

*ALV Header declarations

data: t_header type slis_t_listheader,

wa_header type slis_listheader,

t_line like wa_header-info,

ld_lines type i,

ld_linesc(10) type c.

  • Title

wa_header-typ = 'H'.

wa_header-info = 'Raw Material Tolerance Report'.

wa_header-key = 'X'.

append wa_header to t_header.

clear wa_header.

  • Date

wa_header-typ = 'S'.

wa_header-key = 'Date/Time ' .

concatenate sy-datum+6(2) '/'

sy-datum+4(2) '/'

sy-datum(4) sy-UZEIT0(2) ':' sy-UZEIT2(2) 'AM'

into wa_header-info separated by ''.

append wa_header to t_header.

clear: wa_header.

call function 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = t_header.

  • i_logo = 'GANESH_LOGO'.

REGARDS

SIRI