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

column editable

Former Member
0 Likes
706

Dear Community

how can I make only one column editable in the ALV . All the the others shuould be not editable.

Regards

sas

1 ACCEPTED SOLUTION
Read only

former_member203501
Active Contributor
0 Likes
677

in the fielcatalog population use

it_fieldcat-edit = 'X'. for that field

6 REPLIES 6
Read only

former_member203501
Active Contributor
0 Likes
678

in the fielcatalog population use

it_fieldcat-edit = 'X'. for that field

Read only

sarbajitm
Contributor
0 Likes
677

wa_fieldcat-edit = 'X'

thanks.

where WA_fieldcat is of type slis_fieldcat_alv.

Edited by: Sarbajit Majumdar on Mar 10, 2009 1:42 PM

Read only

Former Member
0 Likes
677

In Fieldcatalog give EDIT = 'X'.

Wa_fieldcatalog-edit = 'X'.

Read only

former_member242255
Active Contributor
0 Likes
677

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
677

Hi

Make active the column edit option in the REUSE function modules.

Wa_fieldcatalog-edit = 'X'.

Regards,

Sreeram Kumar.Madisetty

Read only

Former Member
0 Likes
677

Hi,

Which ever field you want to make editable,while maintainig its field catalog,

you can make its editable property as 'X' like:



DATA : it_field TYPE slis_t_fieldcat_alv,
       wa_field TYPE slis_fieldcat_alv.

  wa_field-fieldname = 'EBELN'.

  wa_field-edit = 'X'.
  APPEND wa_field TO it_field.
  CLEAR wa_field.


hope it helps

Regrds

Mansi