cancel
Showing results for 
Search instead for 
Did you mean: 

Changing header title of column at runtime

Former Member
0 Kudos

Hi

I want to change the column header in an ALV table at runtime. I know how to overwrite a DDIC binding text of the column header with my own static text but I also want to know how to modify this column header text dynamically. I have a separate attribute in my context node to serve as the column header, which I can keep modifying at runtime, but the problem is to bind this attribute to the header of the column.

Thanks and regards

Sukanya

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for the replies

Former Member
0 Kudos

This message was moderated.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

It is not advisable to delete and then create a new header object. The overhead simply isn't necessary. Better to set the property bindings and the override the text. Also this logic doesn't have to be in the WDDOMODIFYVIEW. I often call in a WDDOINIT.

arjun_thakur
Active Contributor
0 Kudos

Hi Sukanya,

Refer to code given by Thomas in this thread:

Also refer these threads:

I hope it helps.

Regards

Arjun

Edited by: Arjun Thakur on Mar 26, 2009 4:41 PM