Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Bolo.

Table of Contents

Search

  1. Preface
  2. Understanding PowerExchange for Siebel
  3. PowerExchange for Siebel Configuration
  4. Siebel Sources
  5. Application Source Qualifier for Siebel Sources
  6. Siebel Targets
  7. Siebel Business Service Transformation
  8. Siebel EIM Read Transformation
  9. Siebel EIM Load Transformation
  10. Siebel EIM Invoker Transformation
  11. Siebel Sessions
  12. Datatype Reference
  13. Error Messages
  14. Glossary

PowerExchange for Siebel User Guide for PowerCenter

PowerExchange for Siebel User Guide for PowerCenter

Merging Data from Siebel EIM Tables into Siebel Base Tables

Merging Data from Siebel EIM Tables into Siebel Base Tables

You can load data from a corporate source into a Siebel EIM table, and then invoke an EIM task that merges the data in the Siebel base tables. When you load data of rows marked for the merged operation, you must link the IF_ROW_MERGE_ID port in the source to the IF_ROW_MERGE_ID port of the Siebel EIM Load transformation. You must configure the IFB file for the merge operation and use this file to invoke the EIM task. The merge operation merges data from the Siebel EIM table into existing rows in a Siebel base table. The merged data from the Siebel EIM table replaces existing values in the Siebel base table.
For example, you create a mapping that extracts company data from an Account database, loads the company data into a Siebel EIM table, and then merges the company data into a Siebel base table.
The following table describes the parameters required to configure the IFB file for the EIM task:
Parameter
Value
TYPE
MERGE
BATCH
300
You configure the EIM task to merge rows in batch 300.
The following table displays the source information:
Row_ID
IF_ROW_BATCH_NUM
Company
IF_ROW_STAT
IF_ROW_MERGE_ID
1001
300
IBM
FOR_MERGE
NULL
1002
300
IBM Japan
FOR_MERGE
1001
1003
100
IBM Europe
FOR_MERGE
1001
You run the session.
The following table contains the EIM table information after the PowerCenter Integration Service loads the source data into the EIM table:
ROW_ID
IF_ROW_BATCH_NUM
Company
IF_ROW_STAT
IF_ROW_MERGE_ID
1001
300
IBM
FOR_MERGE
NULL
1002
300
IBM Japan
FOR_MERGE
1001
1003
100
IBM Europe
FOR_MERGE
1001
Next the PowerCenter Integration Service invokes the EIM task. Siebel EIM runs the EIM task based on the IFB file configuration and merges the rows into the Siebel base table. Siebel EIM merges the data of row 1002 into row 1001 and deletes row 1002 from the base table. It does not merge date of row 1003 into row 1001 because the batch number of row 1003 does not match the batch number configured in the IFB file.
The following table shows how Siebel EIM updates the status for these rows in the EIM table:
ROW_ID
IF_ROW_BATCH_NUM
Company
IF_ROW_STAT
IF_ROW_MERGE_ID
1001
300
IBM
MERGED_INTO
NULL
1002
300
IBM Japan
MERGED
1001
1003
100
IBM Europe
FOR_MERGE
1001
The status for row 1003 does not change because Siebel EIM does not merge date of row 1003 into row 1001.

0 COMMENTS

We’d like to hear from you!