SAP ABAP Data Element SFW_XCOMBI (Combined Switch for Enhancement Implementations)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-SFW (Application Component) Switch Framework Tools
     SFWTOOLS (Package) Basis Tools for Switch Framework
Basic Data
Data Element SFW_XCOMBI
Short Description Combined Switch for Enhancement Implementations  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SFW_XCOMBI    
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 Combi. 
Medium 15 Combined Switch 
Long 20 Conflict Switch 
Heading  
Documentation

Definition

Switch for solving a conflict, where several enhancement implementations exist for an enhancement section (ABAP language element ENHANCEMENT-SECTION) or for a simple implementable BAdI.

Use

If two or more enhancements exist for the same enhancement section, additional conflict-solving enhancements must be created, together with conflict-solving switches, in case more enhancements than one are switched on at the same time. In this case, the conflict-solving enhancement has priority over the other enhancements.

Dependencies

Example

An enhancement section is enhanced by enhancements E1 with switch S1, and E2 with switch S2. The system is set up so that both enhancements can be activated independently of one another. However, at runtime only one enhancement is executed. So, in case both enhancements are switched on at the same time, a conflict-solving enhancement with switch CS1 must be defined. In this case, this enhancement is executed. This means the conflict-solving switch CS1 results from the statuses of the two dependent switches S1 and S2.

As soon as this enhancement section is given a further enhancement, a conflict solution must be defined for each combination that could cause a conflict. This gives us conflict switches for the following combinations for an additional enhancement E3 with switch S3:

S1 and S2 --> CS1

S1 and S3 --> CS2

S2 and S3 --> CS3

S1 and S2 and S3 --> CS4

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