SAP ABAP Data Element SMT_CONDITION_METHOD (Condition Method)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-SOA-SMT (Application Component) Service Mapping Tool
     GMT_GENERAL (Package) Objects for All Packages Within GMT
Basic Data
Data Element SMT_CONDITION_METHOD
Short Description Condition Method  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SMT_CLASS_METHOD    
Data Type CHAR   Character String 
Length 61    
Decimal Places 0    
Output Length 61    
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 Cond.Meth. 
Medium 15 Cond. Method 
Long 25 Condition Method 
Heading 10 Cond.Meth. 
Documentation

Definition

A method that checks that the conditions are met.

The signature of the method must meet the following conditions:

  • The method is static and public.
  • With the exception of "e_ok", only input parameters are permitted.
  • An import parameter with the name "i_prefetch" of the type SMT_BOOLEAN is contained in the interface.
  • An export parameter with the name "e_ok" of the type SMT_BOOLEAN is contained in the interface.
  • The method may contain the exceptions CX_SMT_FATAL_METHOD_ERROR, CX_SMT_UNSUCCESSFUL_TRANS and CX_SMT_IGNORE_TRANS:
    • CX_SMT_FATAL_METHOD_ERROR: Processing is terminated immediately with the exception CX_SMT_TRANSFORMATION_ERROR.
    • CX_SMT_UNSUCCESSFUL_TRANS: The method was unsuccessful. If the transformation that belongs to the condition forms part of a transformation chain, the system executes the follow-up transformation (if this is successful, no exception is triggered). Otherwise, the system executes all further transformations, in order to collect all possible mistakes. Thereafter, the system terminates the processing by using the exception CX_SMT_TRANSFORMATION_ERROR.
    • CX_SMT_IGNORE_TRANS: The condition is considered fulfilled. This means that the system executes the transformations connected with the condition. The tool does not trigger an exception.

Use

Dependencies

Example

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