Many times i've used the web interface for Tables to change the structure or contents of a table. For this, we create an ABAP class and set the superclass to CL_RSR_WWW_MODIFY_TABLE.
I want to do something similar to the Role Menu. What is the superclass for role menus?
You will not be able modify the role menu like you do the table and navigation block. SAP has not provided any interface for this. The class used for rendering the role menu is CL_RSR_WWW_ITEM_MENU, you can create a copy of this class and create your own web item.
What kind of changes are you looking for?