UI Web Dynpro ABAP
Dynamic Context Menus in Web Dynpro ABAP
How to define context menus dynamically in Web Dynpro ABAP.