SAP ABAP Data Element CUA_FUNTYP (Function type)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-MEN (Application Component) Menu Painter
     SEUC (Package) Menu Painter
Basic Data
Data Element CUA_FUNTYP
Short Description Function type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CUA_TYPE    
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 Type 
Medium 15 Function type 
Long 20 Function type 
Heading 55 Function type 
Documentation

Definition

The function type is for flow control. It tells the screen processor how to interpret the function code at an event. The selection types are as follows:


' '    Normal application functions
'E'    Exit command    (Module AT EXIT-COMMAND is executed)
'T'    Start transaction. The specified transaction is started
    immediately with the LEAVE TO TRANSACTION statement.
    Your application program does not regain control before this happens.
'H'    Help    (PROCESS ON HELP REQUEST is triggered).
'P'    Local GUI function. This can only be used with local GUI logic
    in a tab control.

Example

Selection type "T" for the function with code SM31 is equivalent to the ABAP statement 'LEAVE TO TRANSACTION SM31'

Selection type "E" causes a module with the addition AT EXIT-COMMAND to be executed in the PAI block. If you want the PAI block (and automatic screen check) to end after this module, you must include the ABAP statement LEAVE SCREEN in the module.

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