By Joyjit Ghosh, IBM India
How SAP calls the routine ON_CTMENU_REQUEST:<?XML:NAMESPACE PREFIX = O />
Whenever user presses right mouse button or shift + F10 key combinations sap triggers system event and calls the method DISPATCH_SYSTEM_EVENTS of class CL_GUI_CFW. Within it, it calls the method DISPATCH of class LCL_DYNPRO_PROXY (defined within the class pool of CL_GUI_CFW).
From this method (DISPATCH) it calls the routine ON_CTMENU_REQUEST which is defined in our program.
Output:
Basic list:
Detail list: