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: 

uneditable column within editable row ?

Former Member
0 Kudos

hi friends,,,

i am using oo alv to display report..

in that report..

i maintained EDIT bt in the application Tool bar using PF-Status..

if i press EDIT bt the entire grid( key fields and other fields) become editable..

but my requirement is i want all the key fields uneditable.and remaining fields editable if i press EDIT bt.

thanks in advance

3 REPLIES 3

franois_henrotte
Active Contributor
0 Kudos

you have to set the attribute EDIT of each field (column) in field catalog

0 Kudos

thanks for ur effort.. but

i m not using fieldcatalog. i passing the entire internal table to grid

Former Member
0 Kudos

hi,

if u r using ALV reports use fieldcatalogs yhen u can edit the selected fields.

d_fieldcat_wa-fieldname = 'EMPADDRESS'.

d_fieldcat_wa-seltext_l = 'Employee Address'.

d_fieldcat_wa-edit= 'X'.

d_fieldcat_wa-input = 'X'.

d_fieldcat_wa-col_pos = 1.

append d_fieldcat_wa to d_fieldcat.

clear d_fieldcat_wa.

data : gd_repid like sy-repid.

gd_repid = sy-repid.

call fucction module reuse_alv_grid_display.

call_back_program = gd_repid.

t_fieldcat = d_fieldcat.

tables

t_outtab = itab.

Reward with points if helpful.