cancel
Showing results for 
Search instead for 
Did you mean: 

Field disabling in a Table control in FPM

Former Member
0 Kudos

Hi Experts,

In a Table control in FPM, say I have columns X and Y.

Now, is it possible to disable some of the fields of the column Y?

Hope I am clear with my question.

Barath.

Accepted Solutions (0)

Answers (1)

Answers (1)

saravanan_narayanan
Active Contributor
0 Kudos

Hello Barath,

this is possible. follow the steps to achieve this

1. Create a context attribute (say Y_ENABLED) in the context node that is bound to the table

2. while populating the data for the context node, set the Y_ENABLED to ABAP_TRUE or ABAP_FALSE based on the enabled/disabled requirement

3. in the layout, for the 'Enable' property of the Y column cell editor, bind the context attribute Y_ENABLED

thats it. if Y_ENABLED is abap_true, then the Y column cell will be enabled else it will be disabled.

BR, Saravanan

Former Member
0 Kudos

Hi Saravanan,

Thanks a lot for your response.

The solution given by you applies for the entire column in the table . Here, I want some particular cells in the table control to be disabled but not all the cells.

Regards,

Barath.

Former Member
0 Kudos

In that case you need to have a attribute inside your node like any other arribute binded to table cell editor. Then populate the attribute with appropriate value. See examples like coloring table cell editor .