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).

Adding custom context menu in classical list

Adding custom context menu in classical list

From this method (DISPATCH) it calls the routine ON_CTMENU_REQUEST which is defined in our program.

Adding custom context menu in classical list

Adding custom context menu in classical list

Output:

Basic list:

Adding custom context menu in classical list

Detail list:

Adding custom context menu in classical list

相关文章:

  • 2021-06-11
  • 2021-12-27
  • 2022-01-20
  • 2021-12-31
  • 2021-12-28
  • 2021-12-09
  • 2021-12-14
  • 2021-10-23
猜你喜欢
  • 2021-05-27
  • 2022-01-24
  • 2022-12-23
  • 2021-12-26
  • 2021-09-22
  • 2021-11-04
  • 2021-06-21
相关资源
相似解决方案