Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HI .....

abhishek_nms
Participant
0 Kudos

can any body suggest how to write two lines in HEADER of a column in ALV programming ....

p

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can't.

Regards,

Rich Heilman

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can't.

Regards,

Rich Heilman

Former Member
0 Kudos

Absolutly Not!!

abhishek_nms
Participant
0 Kudos

hey ...... how much is the maximum length of HEADER. I want to write Text of length 40. But it is displaying only length of 20 . Can any body help

Former Member
0 Kudos

Hi

follow this code

FORM TOP_OF_PAGE.

DATA: T_HEADER TYPE SLIS_T_LISTHEADER,

WA_HEADER TYPE SLIS_LISTHEADER.

WA_HEADER-TYP = 'H'.

WA_HEADER-INFO = 'THIS IS MY FIRST ALV'.

APPEND WA_HEADER TO T_HEADER.

WA_HEADER-TYP = 'H'.

WA_HEADER-INFO = 'THIS IS SECOND'.

APPEND WA_HEADER TO T_HEADER.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = T_HEADER

  • I_LOGO =

  • I_END_OF_LIST_GRID =

  • I_ALV_FORM =

.

ENDFORM.

and

activate I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'

in function module REUSE_ALV_GRID_DISPLAY