Skip to Content
0
Former Member
Nov 07, 2005 at 06:33 AM

Problem with dispalying Colum name in ALV grid - Urgent

23 Views

My requirement is to print the column name as "Sales order item number".

I declared the field for "Sales order item number" in the output table as

aupos LIKE vbrp-aupos

And in field catalog

pt_hlp_fieldcat-reptext_ddic = 'Sales order Item number'.

pt_hlp_fieldcat-seltext_l = 'Sales order Item number'.

pt_help_fieldcat-seltext_m = 'Sales order Item number'.

pt_hlp_fieldcat-seltext_s = 'Sales order Item number.'.

Append pt_hlp_fieldcat.

My layout is as follows

PS_LAYOUT-ZEBRA = 'X'.

PS_LAYOUT-window_titlebar = 'Invoice Buildup'.

PS_LAYOUT-DETAIL_POPUP = ' '.

PS_LAYOUT-TOTALS_BEFORE_ITEMS = ' '.

PS_LAYOUT-GET_SELINFOS = 'X'.

PS_LAYOUT-GROUP_CHANGE_EDIT = 'X'.

PS_LAYOUT-confirmation_prompt = 'X'.

PS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.

PS_LAYOUT-NO_KEYFIX = 'X'.

PS_LAYOUT-KEY_HOTSPOT = 'X'.

The problem is still it is displaying the field name form the table-field label.

How can i forcefuly display the colum name irrespect of table field label.

Thanks in advance....