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: 

making some rows non-editable in ALV grid

Former Member
0 Kudos

hi

I am using reuse_alv _grid _display to display the output. I want to make some of the rows non-editable based on some conditions. please help.

7 REPLIES 7

Former Member
0 Kudos

check the programs

bcalv_edit_01

bcalv_edit*

thanks

Former Member
0 Kudos

Hi,

I dont think condition based row edit is possible in

reuse_alv griddisplay logic.

For this requirement you need to go for Object oriented ALV.

check the program BCALV_EDIT_02 for this logic.

Cheers,

Kothand

former_member188685
Active Contributor
0 Kudos

using the lvc function you can do that.

check this wiki

https://wiki.sdn.sap.com/wiki/display/Snippets/DisableorEnableInputfieldsConditionallyIn+ALV

0 Kudos

Hi Vijay,

I never knew this was possible. Great

Cheers,

Kothand

0 Kudos

Hi Vijay / Manisha / Murugan

Is this question answered? The link is presently not working.

I have a same requirement. I am using reuse_alv _grid _display to display the output. After click on 'Add row'

button, the alv should add a row in edit mode and remaining all other rows in display mode. Is that possible using reuse_alv _grid _display?

Any kind of inputs regarding this will be damn damn helpful. Thanks.

0 Kudos

Hi. I try to follow the link you mention and I have had an error.

The correct link is:

https://wiki.sdn.sap.com/wiki/display/Snippets/Disable+or+Enable+Input+fields+Conditionally+In+ALV

Regards.

Rafael Rojas.

Former Member
0 Kudos

check out

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm

you can even make cell level editable alv, rather than just row level

Edited by: Amit Gupta on Oct 11, 2008 2:46 PM