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: 

Editable fields in ALV-Grid on Release 46b

Former Member
0 Kudos

Hi everyone

Im having a problem with a cl_gui_alv_grid on release 46b..

I want to make a column editable, but what works on 46c doesnt on 46b =(

Ive alredy found another post concerning the same problem, which was apparently solved - yet that post didnt help me much...

Ive tried setting the component "edit" on the fieldcatalog - yet the structure LVC_S_FCAT does not have "edit"

then (as found in the forum post) i went the way of setting the "edit" component in the layout atribute at the alv call - yet LVC_S_LAYO doesnt have "edit" either...

has someone got a solution to this?

thank you very much

2 REPLIES 2

Former Member
0 Kudos

If u create the ALV with

CALL METHOD alv_grid->set_table_for_first_display

EXPORTING

i_structure_name = 'ZECR_EST_ALV'

is_layout = v_layout

CHANGING

it_outtab = t_carga[]

it_fieldcatalog = t_fieldcat.

try

CALL METHOD alv_grid->set_ready_for_input

EXPORTING

i_ready_for_input = 1.

...and modify the field of the catalog

ts_fieldcat-edit = 'X'.

0 Kudos

I cant find the "set_ready_for_input" method on 46b

and as mentioned above, there is no "edit" component for the alv on 46b either =(