Skip to Content
Former Member
Nov 13, 2007 at 12:25 PM

Data element as ALV column header text



I need to display the header of columns in ALV as in the labels of a data element .

say I have a data element : zzname

the labels are : name, Name_short,Name_long .

How can I have the column header as 'Name_long' ?

its possible for a table and its field as below :

t_fieldcat-ref_fieldname = 'VBELN'.

t_fieldcat-ref_tabname = 'VBAP'.

But I need to have the label of the data element as the header text.

The data element is not yet used in any table .

How can I do this ?

Thanks in advance !