Siebel Connector for SAP R/3 > Customizing Integrations > Building the Interfaces >

Creating Business Service Data Maps


You can create Business Service Data Maps using eScript or the Siebel Data Mapper. For more detailed information, see the Overview: Siebel Enterprise Application Integration guide.

Working with eScript

Business Service Data Maps can be created using eScript. These maps can be created and edited within Siebel Tools. The maps must be compiled in the .srf file before they can be executed within the Siebel Client or Server applications.

To create a new business service

  1. Open Siebel Tools.
  2. Navigate to Tools > Object Explorer > Business Service.
  3. Select Business Service and right click and choose New Record or Copy Record.
  4. Enter Name, Project, Class "CSSEAIDTEScriptService", Display Name (as you want it to appear) and other Properties.

    For more information, see the Overview: Siebel Enterprise Application Integration guide.

  5. After you have created a business service, you can edit it by right-clicking on the business service record and choosing Edit Scripts.

For more information on eScript, see the Siebel eScript Language Reference.

Working with Siebel Data Mapper

The Siebel Data Mapper can be used in place of an eScript business service to map fields from one integration object to another. The map is stored in the Siebel database and does not need to be compiled into the .srf.

You can visually map source integration object and target integration object structures using the map design and editor tools. These are available in the Siebel Client by navigating to Integration Administration > Data Maps, Data Map Editor, and Data Map Browser. Under the object level, there are maps at the component and field levels. Siebel Data Mapper uses standard Siebel Query Language as an expression evaluator.

You can execute your map from workflow by executing the business service EAI Data Mapping Engine. For more information on how to create a map, see the Overview: Siebel Enterprise Application Integration guide.

To create maps

  1. Navigate to Administration - Integration > Data Maps.
  2. Create a new record, using the following table as a guide.
    Field
    Description
    Example

    Name

    Provide a unique name for this Integration Object map.

    SAP Product map with Siebel Data Mapper

    Source Object Name

    Identify the source object for this map.

    Product - Receive SAP 4x Material (4x IDOC Input) - DDTE

    Target Object Name

    Identify the target object for this map.

    Product - Receive SAP 4x Material (Siebel)

  3. Navigate to Data Maps Editor, and edit Integration Component Maps using the following table as a guide.
    Field
    Description

    Name

    Provide a name for this Integration Component map.

    Parent Component Map Name

     

    Source Component Name

    Choose an appropriate component name from the drop-down list.

    Target Component Name

    Choose an appropriate component name from the drop-down list.

    Source Search Specification

    Use to provide an optional component map condition. For information, see the Overview: Siebel Enterprise Application Integration guide.

    Precondition

    Use to provide optional error checking. For information, see the Overview: Siebel Enterprise Application Integration guide.

    Postcondition

    Use to provide optional error checking. For information, see the Overview: Siebel Enterprise Application Integration guide.

  4. Edit Integration Field Maps using the following table as a guide.
    Field
    Description

    Source Expression

    Use Siebel Standard Query Language to compose an expression, provide the Source Field Name in the format of [Field Name], or enter a string that you want to assign to the Target Field.

    Target Field Name

    Choose an appropriate name from the drop-down list.

  5. Create a workflow that calls this map.

    The new business service is called EAI Data Mapping Engine, the method invoked is Execute, and there are three arguments: Map Name, Output Integration Object Name, and SiebelMessage. The Map Name is your new map name.

  6. Create new maps between any two integration objects, and then build your new integration point based on your business requirement.

    For Siebel Data Mapper limitations in this release, see the Overview: Siebel Enterprise Application Integration guide.

Siebel Connector for SAP R/3