SAP ABAP IMG Activity W_SMT_WEBUI_MAINT (Create and Edit Mappings)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-SOA-SMT (Application Component) Service Mapping Tool
     GMT_PERS (Package) Persistence Layer
IMG Activity
ID W_SMT_WEBUI_MAINT Create and Edit Mappings  
Transaction Code S_BSD_38000072   (empty) 
Created on 20080509    
Customizing Attributes W_SMT_WEBUI_MAINT   Edit Mappings 
Customizing Activity W_SMT_WEBUI_MAINT   Edit Mappings 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name W_SMT_WEBUI_MAINT    

Use

In this IMG activity you can use the Service Mapping Tool (SMT) to create new mappings and mapping steps and you can also create or edit the necessary transformations (complex transformations, field mappings) and field checks for these. The work here is cross-client.

This IMG activity constitutes part of the work with mappings. You can extend or create/edit mappings.

Extend Mappings: Here you carry out the following IMG activities:

You can extend existing and delivered mappings but you cannot create new mappings or mapping steps. You extend mappings by creating new transformations (complex transformations, field mappings) and field checks for them or by editing them. Here you work cross-client.

Create and Edit Mappings: Here you carry out the following IMG activities:

You can create new mappings und mapping steps and also create or edit the necessary transformations (complex transformations, field mappings) and field checks. Here you work cross-client.

The SMT is a program that you can use in ABAP to fill a target structure with a set of source structures. The following are supported: Simple mappings, mappings with field transformations, complex transformations and field checks. Possible applications of the tool include: Preparation of data for further actions, conversion of Enterprise Service Data into SAP-internal format and vice versa. For the latter purpose, special requirements for service implementations are supported such as an extended XML handling or field checks.

You must specify all mapping operations in one Customizing. This way semantic information is not hidden in ABAP code but clearly specified in a repository.

The SMT carries out standard mappings before extensions. Any activated checks on the overwriting of fields are never active for extensions.

The SMT includes the following functions in order to fill a target structure from multiple source structures:

  • Simple mappings: The contents of a source field are copied into the target field. The relationship between source and target fields is 1 : 1.
  • Simple mappings with field transformations: These are mappings such as simple mappings, however, source values are converted by way of a transformation method. The relationship between source and target fields is 1 : 1.
  • Transformation methods: Source fields are used as input parameters of a transformation method. The exporting parameters of this method are mapped to the target fields. The relationship between source and target fields is m : n.
  • Conditions: A transformation can depend on the fulfillment of a condition.
  • Field checks: You can specify checks for initial and fixed values. More complex field checks can be carried out by calling up check methods.
  • Extended XML handling: Most business object APIs use change structures to display which fields are to be changed. Service implementations, in contrast, use field name tables in order to provide this information. The SMT can convert the tabular information into change structures.

Constraints

In each call of an SMT only one target structure variable is filled. If your input structure contains tables then your mapping program must read the source data line by line and transfer it to the SMT.

For more information, see the SAP Library under Processes and Tools for Enterprise Applications -> Mappings.

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 899   not to be assigned 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG W_SMT_WEBUI_MAINT 0 HLB0009110 Cross-Application Components 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
RSMT_START_APPLICATION D - Dummy object SMT_START_APPL  
History
Last changed by/on SAP  20080619 
SAP Release Created in 701