cancel
Showing results for 
Search instead for 
Did you mean: 

how can we make edit and non edit of rows on particular conditions in alv

Former Member
0 Kudos

hi experts,

i am very new to web dynpro for abap.i have one query regarding alv.

in one view i have alv table with two line items,and line each line item having foue editable fields and remaining are non editable.

now i am navigating to another view and make some action.here i have generated one value and updated this value to one field ofselected line items of alv table in the previous view.now i am coming back to previous view .now i want to display the row of alv table which contain value which is generated in second view as completely non editable and remaining rows are as it is .

hi guys please look into this and suggests me.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member199125
Active Contributor
0 Kudos

Hi babu,

You can do this in one view it self.

create a one attribute of type wdy_boolean.. in view context.

Bind these attribute to read only property of table.. and initially set the value to abap_true in wddoinit method.

Then create one button say "EDIT" in view and create action for edit button.. in that action set the above attribute value to

abap_false.

so now, initially table will be in display mode, when you click on edit mode...it will become editable mode...

Hope you got some idea.

Regards

Srinvias