Show TOC

Background documentationAdjustments to Default Mapping

 

You can use the Service Mapping Tool (SMT) to adjust the mapping of FS-PM source structures to FS-CM target structures for the default mapping supplied by SAP (for other lines of insurance, for example). The Service Mapping Tool is called and executed in Business Add-In BADI_ICL_POLS_IMPORT_POLS in the POLICY_LOAD method.

Note Note

The coding is not directly in the BAdI method POLICY_LOAD, but in the method CL_ICL_POLICY_MAP_2_OUT -> CTR_BY_ID.

End of the note.

To call and configure the Service Mapping Tool, perform the Customizing activities in the SAP Customizing Implementation Guide under Start of the navigation path Cross-Application Components Next navigation step Processes and Tools for Enterprise Applications Next navigation step Enterprise Services Next navigation step Develop Enterprise Services Next navigation step Create and Edit Mappings End of the navigation path (you call the actual Service Mapping Tool by means of Customizing activity Create and Edit Mappings).

Features

Levels of the Service Mapping Tool (SMT) and Their Relevance for SAP Claims Management

  • Mapping

    Mappings (work areas) form the top level of the SMT. You define them for various applications and processes. In the sample implementation, SAP provides the mapping IF_ICL_POLICY_OUT-CTR_BY_ID.

  • Mapping step

    Each mapping comprises one or several mapping steps. In these mapping steps you define which source structures the system maps to a certain target structure. Keep in mind that you can define several source structures for each mapping step but only one target structure.

    In the sample implementation, SAP provides several mapping steps.

  • Transformation

    Each mapping step contains one or more transformations. A transformation describes the mapping of fields of a source structure to certain fields of the target structure. Keep in mind that when a mapping step is called later on in the application, the system always processes all transformations according to their sequence.

    The SMT has the following transformation types:

    • Field mapping

      The system then maps the fields of a source structure without any further check or condition to fields of the target structure.

    • Complex transformation

      With a complex transformation, you define a transformation method of a transformation class. Before the system then maps a field of the source structure to the field of the target structure, it checks the field value of the source structure and changes it, depending on the transformation method. For more information, see Transformation Methods.

      Example Example

      You convert an external date format to the date format of the target field.

      End of the example.

      With a complex transformation you can also define the condition under which the system executes this transformation. For this, define a condition method of a condition class. For more information, see Condition Methods.

      Example Example

      With a transformation you define the condition that the system only executes the transformation if a certain line of insurance is involved.

      End of the example.

      In the sample implementation, SAP delivers the transformation class CL_ICL_SMT_TRANSFORMATION for a complex transformation, and the condition class CL_ICL_SMT_CONDITION with corresponding methods.

Coding Example from Default Mapping

The following graphic shows an extract of the coding that is called using method POLICY_LOAD. It shows how an instance of the mapping tool is created and how a mapping step is called.