cancel
Showing results for 
Search instead for 
Did you mean: 

Table Column Name

Former Member
0 Kudos

I created some table and used in maintenance dialog and AVL Grid. but, i found that the column name is displayed as data type name.

How can i solve it??

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Chun,

Please fill in the value for coltext ( haeding for the column u want) in the field catlog . it will display heading u wanted.

Regards

Manoj

Former Member
0 Kudos

Hi Chun,

Where is the name being displayed as datatype name, in ALV or maintainence?

For ALV, you have to metion the column name in Field Catlog and it will display the column name.

Make sure that you use Capital words here.

Example:

FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat .

DATA ls_fcat type lvc_s_fcat .

ls_fcat-fieldname = 'CARRID' .

ls_fcat-inttype = 'C' .

ls_fcat-outputlen = '3' .

ls_fcat-coltext = 'Carrier ID' .

ls_fcat-seltext = 'Carrier ID' .

APPEND ls_fcat to pt_fieldcat .

....

For maintainence generator,

The Ztable which you have created must have field of some Data element . These Data Elements should have Field mentioned in them.

Then it will show you the column name.

Regards,

Tanveer

Please mark helpful answers

Former Member
0 Kudos

Hi,

I am assuming that you are creating a Table Maint. using a ALV grid, as per your previous thread.

When you create a field catalog, there are fields scrtext_l, scrtext_m, scrtext_s - give values to these fields whatever description you want.

Ideally if your table column is referring to a DATA ELEMENT then the desciprtion will be coming from there. But looks like you are referrring to CHAR data types directly.

Regards,

Ravi

Note : Please mark the helpful answers