Skip to Content

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

Edit alv fields

Hi all.

I'm using the SET_TABLE_FOR_FIRST_DISPLAY method to display alv grid.

My question is how can I set up specific cells for editing or not.

The same columns can be editable at the first record and disable at the second.

Thanks in advance,

Rebeka

Tags:
replied

Hi,

You need to use the attribute

Use attribute CL_GUI_ALV_GRID=>MC_STYLE_ENABLED to set a cell to status "editable".

Use attribute CL_GUI_ALV_GRID=>MC_STYLE_DISABLED to set a cell to status "non-editable".

Please check the program BCALV_EDIT_02.

Hope this helps you.

Thanks,

Ruthra

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