SAP ABAP Data Element SCRPMENDY (Context menu: Dynamic (ON_CTMENU_...))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SCR (Application Component) Screen Painter
     SCRP (Package) Screen Painter
Basic Data
Data Element SCRPMENDY
Short Description Context menu: Dynamic (ON_CTMENU_...)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SCRPFLAG    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Dynamic 
Medium 15 Dynamic menu 
Long 25 Dynamic context menu 
Heading  
Documentation

Definition

The dynamic context menu allows you to register the screen or parts of it to trigger context-specific functions when the user clicks the right-hand mouse button.

You can attach a dynamic context menu to

  • A single screen element

    Possible elements: Input field, text field, table control, box

  • The whole screen

The name <name> that you specify here creates a link to a callback routine in the corresponding program.
The callback routine has a standard name ON_CT_MENU_<name> and a standard interface
USING <menu> TYPE REF TO CL_CTMENU
CHANGING CANCEL TYPE CHAR01.
This routine dynamically links the screen element or the entire screen to a context menu.

History
Last changed by/on SAP  19990505 
SAP Release Created in