Application Development 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: 

ALV Field catalog(Field description from internal table field)

Former Member
0 Kudos

Hi Experts.

I am using field catalog of referrence LVC_C_FCAT For ALV grid display.

I wanna display field description( i.e text of field ). But the field is from internal table which has no table referrence. we are using 'STATUS' field of type 'string'.

In this case would you please advice how to show description as 'Status' Through fieldcatalog in ALV Grid Display.

Please let me know.

2 REPLIES 2

Former Member
0 Kudos

try this

wa_fieldcat-coltext = 'Status'.

or

wa_fieldcat-scrtext_s = 'Status'.

wa_fieldcat-scrtext_m = 'Status'.

wa_fieldcat-scrtext_l = 'Status'.

Message was edited by:

Chandrasekhar Jagarlamudi

Former Member
0 Kudos

Hello,

Yuo can simply write the name in field 'FIELDNAME' of the field catalog.

You can use this field FIELDNAME without DDIC reference.

Also add name to fields SCRTEXT_S , SCRTEXT_M , SCRTEXT_L,which generally are referred by standard table-field short,medium,long name.

Thanks.