cancel
Showing results for 
Search instead for 
Did you mean: 

Disable ALV cells based on some condition

Former Member
0 Kudos

Hi,

I made a column editable in WD ALV. I want to make some cells read only based on some condition.

pls give some suggestions

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rupachandran,

Please check this Article written by me.Which gives exact solution of what do you want.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b7...

Former Member
0 Kudos

Another approach would be to assigning inputfield UI Element to each cell and setting the property 'readOnly' as True or False dynamically.

Towards this bind the property readOnly to a Node Attribute of type WDY_BOOLEAN and programatically set this to true or false programatically as per the condition desired.

Former Member
0 Kudos

Hi,

You can do that by assigning another UI element to that column ( like Textview) on a particular event or condition.

This will make the column read-only.

Regards,

Sumit Oberoi