04-10-2008 2:28 PM
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
04-10-2008 5:37 PM
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'.
04-11-2008 8:29 AM
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 =(