Skip to Content

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

Toggle option in ALV FM Reuse...

Hello Experts,

I am using FM REUSE_ALV_GRID_DISPLAY for alv in my program. I have added a toggle button (Change <-> Display) using menu painter. But i have no idea how to implement it. Initially grid is in edit mode set in field catalog. (ex: ls_filedcatalog-edit = 'X'). My requirement is that i want to switch the grid in to display mode on clicking upon toggle button, and back to edit mode on the next click.

i wrote a user command for the button.

Can you please help me how can achieve this functionality>

Former Member
Not what you were looking for? View more on this topic or Ask a question