SAP ABAP Data Element SMT_TRANSFORMATION_METHOD (Transformation 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_TRANSFORMATION_METHOD
Short Description Transformation 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 TranMethod 
Medium 15 Transfrm Method 
Long 25 Transformation Method 
Heading 10 TranMethod 
Documentation

Definition

Method that carries out transformations.

The signature of the method must meet the following conditions:

  • The method is static and public.
  • Only input and output parameters are permitted.
  • An import parameter with the name "i_prefetch" 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 transformation was unsuccessful. If the transformation 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 system resets target fields that were set by the transformation. The system does not set change fields (even if the enhanced XML handling is not active). The tool does not trigger an exception.
  • The method may contain the change parameter CH_CHANGE of the change structure category. If it is available, the system transfers the change structure to it.

Use

Dependencies

Example

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