SAP ABAP Data Element WDY_CI_CHECK_INCLUDE_SOURCE (Checks Inclusion of Source Text Using 'INCLUDE' Statement)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-WD-ABA-GEN (Application Component) Web Screen ABAP Generation
     SWDP_WORKBENCH_TEST_ADDONS (Package) * SAP internal * check and test support
Basic Data
Data Element WDY_CI_CHECK_INCLUDE_SOURCE
Short Description Checks Inclusion of Source Text Using 'INCLUDE' Statement  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FLAG    
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 INCLUDE 
Medium 15 INCLUDE 
Long 20 INCLUDE Source Text 
Heading  
Documentation

Definition

The implementation of Web Dynpro routines, SUPPLY methods for example, is governed by special conventions. Some ABAP language statements cannot be used.

Inserting source text using the INCLUDE statement is not allowed. If this rule is violated, the integrity of the Web Dynpro application cannot be guaranteed. Where source text is inserted with INCLUDE, the changes are not validated. This results in undefined behaviour when running the routines.

Use

This check searches for the following statement in the Web Dynpro coding:

INCLUDE <include>.

Solution

All occurrences of the INCLUDE statement are to be removed. It is advisable to provide the functionality implemented there in a class pool and to call it from the Web Dynpro component.

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