cancel
Showing results for 
Search instead for 
Did you mean: 

how to make particular cell editable in webdynpro alv

0 Kudos

Hi Experts,

how to make particular cell editable on condition in webdynpro alv

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rohit,

inside the llop write your condition and then call

CALL METHOD lr_column->set_cell_editor

EXPORTING

value = lr_input.

*Now loop the columns table and change the cell editor of a column

LOOP AT lt_columns INTO ls_columns.

lr_column = ls_columns-r_column.

lv_tabix = sy-tabix.

READ TABLE lt_name INTO ls_name INDEX lv_tabix.

CREATE OBJECT lr_input

EXPORTING

value_fieldname = ls_name-name.

CALL METHOD lr_column->set_cell_editor

EXPORTING

value = lr_input.

And go through the bellow link..

http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP

Answers (0)