Application Development and Automation 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: 
Read only

dynamic disabel column inALV grid

Former Member
0 Likes
486

Hi

is there possibility to make disable column in grid but before is will be shown at screen it check data in probram for example t1<9 => column od_8 will be disable.

I can't use CL_GUI_ALV_GRID=>MC_STYLE_ENABLED because i get info:

"Field "CL_GUI_ALV_GRID->MC_STYLE_ENABLED" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."

Is another method?

regards,

Joanna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
458

Hi Joanna,

I think you can do like if t1<9, then delete column od_8 from field catalog internal table.

<b> reward for helpful answers</b>

Satish

2 REPLIES 2
Read only

Former Member
0 Likes
459

Hi Joanna,

I think you can do like if t1<9, then delete column od_8 from field catalog internal table.

<b> reward for helpful answers</b>

Satish

Read only

0 Likes
458

hi, but is there posibility that this column will be isible but not activ, that mean it could not be aditable?

regards,

Joanna