Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

dynamic disabel column inALV grid


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?




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>


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question