cancel
Showing results for 
Search instead for 
Did you mean: 

Make particular cell as mandatory(not complete column) in ALV

Former Member
0 Kudos

hello experts,

i have a requirement to make particular cell as mandatory(not complete column) in ALV .

could any body tel me how to acheive this functionality.

Thanks in adv!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank You Very Much!!!

Former Member
0 Kudos

Hi Rakshar,

inside the loop 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..

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