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

FieldCatalog

Murali_Shanmu
SAP Champion
SAP Champion
0 Likes
547

Hi

I am using lvc_t_fcat to construct a fieldCatalog to display an ALV with the Method => 'set_table_for_first_display'

I have an internal Table with all calculated fields. My problem is i am not getting the Column Heading in the ALV.

This is how i wrote code for FieldCatalog.

fieldcat_wa-col_pos = 1.

fieldcat_wa-fieldname = 'Percentage1' .

fieldcat_wa-tabname = 'IT_TABLE'.

fieldcat_wa-seltext = 'Percentage1'.

APPEND fieldcat_wa TO fieldcat.

Only ToolTip appears for me without Column Heading.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
522

hi,

fill field fieldcat_wa-SCRTEXT_M

Andreas

Hi

I am using lvc_t_fcat to construct a fieldCatalog to display an ALV with the Method => 'set_table_for_first_display'

I have an internal Table with all calculated fields. My problem is i am not getting the Column Heading in the ALV.

This is how i wrote code for FieldCatalog.

fieldcat_wa-col_pos = 1.

fieldcat_wa-fieldname = 'Percentage1' .

fieldcat_wa-tabname = 'IT_TABLE'.

fieldcat_wa-seltext = 'Percentage1'.

APPEND fieldcat_wa TO fieldcat.

Only ToolTip appears for me without Column Heading.

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
523

hi,

fill field fieldcat_wa-SCRTEXT_M

Andreas

Read only

Former Member
0 Likes
522

Use field COLTEXT.

Svetlin

Read only

Murali_Shanmu
SAP Champion
SAP Champion
0 Likes
522

Thanks Svetlin & Andreas Mann