SAP ABAP Data Element SAUNIT_D_LEGACY_CI_BAD_FLOW (ABAP Unit: assert_Equals and Sy-SubRc)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-UT (Application Component) ABAP Unit
     SABP_UNIT_LEGACY_CI (Package) - Internal - Adapter to Code Inspector
Basic Data
Data Element SAUNIT_D_LEGACY_CI_BAD_FLOW
Short Description ABAP Unit: assert_Equals and Sy-SubRc  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SAUNIT_BOOLEAN    
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 Sy-SubRc 
Medium 15 Sy-SubRc 
Long 20 Sy-SubRc 
Heading  
Documentation

Definition

Unit Tests must not change the process control flow. If a test methods issues 'LEAVE PROGRAM' the ABAP Unit framework will also suffer. Following problemat statements are scanned:

  • LEAVE PROGRAM
  • SUBMIT <report>. " without and return
  • ...

This check is only made on source code within test methods.

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