Application Development and Automation 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: 
Read only

HI .....

Abh_2
Participant
0 Likes
477

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

p

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
445

You can't.

Regards,

Rich Heilman

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

p

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
446

You can't.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
445

Absolutly Not!!

Read only

Abh_2
Participant
0 Likes
445

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

Read only

Former Member
0 Likes
445

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