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

Multiple text in ALV header

Former Member
0 Likes
592

Hi,,

I am not looking for top up page logic. My requirement is

i want to show multiple header line text in the each ALV column.

Like if currently ALV Column header is showing

line 1 'Material Number'

I want to show it as

line 1 'Material'

line 2 'Number'

Thanks in Advance

Nandha

Hi,,

I am not looking for top up page logic. My requirement is

i want to show multiple header line text in the each ALV column.

Like if currently ALV Column header is showing

line 1 'Material Number'

I want to show it as

line 1 'Material'

line 2 'Number'

Thanks in Advance

Nandha

4 REPLIES 4
Read only

anversha_s
Active Contributor
0 Likes
543

Hi,

see if this is what you are looking for.

Regards,

anver

Read only

Former Member
0 Likes
543

Refer this link:

Regards,

Ravi

Read only

Former Member
0 Likes
543

If you are using OO ALV

You need to define the document (see following code ) and using split container display it on the top of the grid

CALL METHOD o_html->add_text

EXPORTING

text = text-014

sap_emphasis = text-015

fix_lines = c_x.

CALL METHOD o_html->add_gap

EXPORTING

width = 16.

lws_text = cnt_failed.

CALL METHOD o_html->add_text

EXPORTING

text = lws_text

sap_emphasis = text-015

fix_lines = c_x.

CLEAR lws_text.

*-- Display Report Header

CALL METHOD o_html->display_document

EXPORTING

parent = o_container_top.

Please also check if the following helps you

Read only

former_member404244
Active Contributor
0 Likes
543

hi Nanda,

check the below link.

Regards,

nagaraj