cancel
Showing results for 
Search instead for 
Did you mean: 

ALV GRID WEB DYDisable User input in Specific cell of a row of a column ...

Former Member
0 Kudos

hI aLL,

On a certain condition, i would like to disable input for a specific cell ( Specific Row/ Specific column )

Any idea on how to do this ?

regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stephan,

Firstly you should have your column cell editors as inpur field. Secondly create an attribute type boolean under the same node and bind it to your column's readonly property. You can use the following code to bind the readonly property

l_inputfield->set_read_only_fieldname( 'NEWATTRIBUTE' ). "name of the newly cretaed attribute

Now when you select a particular row based on your condition pass abap_true/abap_false to disable/unable it and modify your table and rebind it.

Regards,

Radhika.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Yes it is possible.Please go through the article given below.I had explianed the same in that.

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