SAP ABAP Data Element SAUNIT_D_TASK_RUN_MODE (Execution mode of test tasks)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-UT (Application Component) ABAP Unit
     SABP_UNIT_TYPES (Package) INTERNAL: NO REUSE - DDIC type definitions
Basic Data
Data Element SAUNIT_D_TASK_RUN_MODE
Short Description Execution mode of test tasks  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SAUNIT_TASK_RUN_MODE    
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 Mode 
Medium 15 Mode 
Long 20 Mode 
Heading  
Documentation

Definition

ABAP units can run tests in various different run modes:

  • In a new external mode
  • In a separate internal mode
  • In a separate internal mode with runtime proctection
  • In the same mode

In a new external mode

ABAP Unit runs the unit tests in a second work process. If runtime monitoring is active, tests that exceed the time limit terminate with an error. Technically, this is implemented using asynchronous RFC.

In a separate internal mode

The test runs in its own internal mode (using a submit). If runtime monitoring is active, tests that exceed the time limit cause an error in the runtime log. However, the test gets not terminated.

In a separate internal mode with runtime protection

In addition to the separate internal mode, ABAP runtime abortions do not terminate the test task; instead, an entry is made in the error log.

In the same mode

For ABAP Unit Framework selftests only

History
Last changed by/on SAP  20130604 
SAP Release Created in 700