Show TOC

Creating and Editing Transformations and Field ChecksLocate this document in the navigation structure

Use

Creation of mapping and mapping steps (see Creating and Editing Mappings and Mapping Steps) is the basis for the rest of the work. The overview shows which objects you can now define further for mapping steps:

Objects for Mapping Steps



Procedure

In Customizing you choose

Start of the navigation path Cross-Application Components Next navigation step  Process and Tools for Enterprise Applications Next navigation step Enterprise Services Next navigation step Develop Enterprise Services  Next navigation step Create and Edit Mappings  Next navigation step Create and Edit Mappings. End of the navigation path

Creating Complex Transformations

  1. You selected a mapping step for editing.

  2. Choose Details.

  3. Choose the tab strip Transformations.

  4. Choose Add.

  5. In the entry line, choose the transformation type Complex Transformations.

  6. If necessary, flag Condition. If you do this, then enter further data for the condition (see below, "Creating Transformations and Field Mappings with Conditions").

  7. If appropriate, flag Transformation Chain (Link with Previous). You use this indicator to define transformation chains. The transformation with the next lowest number in the sequence is its predecessor.

    For more information, see Transformation Chains.

  8. Choose a switch if appropriate. Once you have selected one, the system only calls the transformation if the switch is on.

  9. On the tab strip Complex Transformations you select the transformation class. This is a class that contains methods for carrying out a transformation. You can only enter classes that implement the interface IF_SMT_CONDITION.

  10. Select the transformation method (static and public method that carries out transformations).

    For more information, see Transformation Methods.

  11. Assign Method Parameters if necessary.

    For more information, see Method Parameters (Transformation).

  12. Save your entries.

Creating Field Mappings

  1. You selected a mapping step for editing.

  2. Choose Details.

  3. Choose the tab strip Transformations.

  4. Choose Add.

  5. In the entry line, choose the transformation type Field Mapping.

  6. If necessary, flag Condition. If you do this, then enter further data for the condition (see below, "Creating Transformations and Field Mappings with Conditions").

  7. If appropriate, flag Transformation Chain (Link with Previous). You use this indicator to define transformation chains. The transformation with the next lowest number in the sequence is its predecessor.

    For more information, see Transformation Chains.

  8. If required, choose a Switch. Once you have selected one, the system only calls the transformation if the switch is on.

  9. On the tab strip Field Mapping, choose Add.

  10. Select a target field.

  11. Enter your data in the other columns.

    For more information, see Field Mappings.

  12. Save your entries.

Creating Transformations and Field Mappings with Conditions

If you have flagged the indicator Condition on creation of a complex transformation or a field mapping, then underDetails, you have the tab strip Conditions.

  1. Choose the tab strip Condition.

  2. Choose a Condition Class.

  3. Choose a Condition Method.

    For more information, see Condition Methods and Method Parameters (Condition).

Creating Field Checks

  1. You selected a mapping step for editing.

  2. Choose Details.

  3. Choose the tab strip Field Checks.

  4. Choose Add.

  5. Choose an initial structure and fill the other columns.

    For more information, see Field Checks.

  6. Save your entries.