SAP ABAP Data Element GUI_CTX (Function key settings for lists with context menu)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-MEN (Application Component) Menu Painter
     SEUC (Package) Menu Painter
Basic Data
Data Element GUI_CTX
Short Description Function key settings for lists with context menu  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SYCHAR01    
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 Context 
Medium 15 Context menu 
Long 20 Context menu 
Heading  
Documentation

Definition

In order to be able to register lists for the 'Right mouse button' event, the function key SHIFT-F10 must be assigned an active function

code. If you select 'List with context menu', a function is assigned to SHIFT-F10 in the function key settings. You must subsequently decide in which statuses you want the function to be active. You can use the function 'Activate function in multiple statuses' to do so.

In order to be able to fill a context menu, the ON_CTMENU_REQUEST routine must be implemented in the list programming with the USING parameter <p_menu> TYPE REF TO CL_CTMENU.

Use methods from the class CL_CTMENU to fill the context menu. The menu is then sent at runtime.

Sample programs:

  • CTMENU_BUILD            Using methods from class CL_CTMENU
  • CTMENU_LIST            Context menus in lists
  • CTMENU_TREE_LIST        Context menus in trees that have been created using RS_TREE

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