0 Essentials
1 of 31
Module Objectives
To know the process of importing external data successfully into
Siebel database To understand the steps required for importing data through EIM
Populate interface (EIM) tables for imports Modify configuration (.ifb) files for imports Invoke an Enterprise Integration Manager (EIM) server task Modify configuration (.ifb) files to optimize imports
3 of 31
Interface Table
All interface tables have three required columns:
IF_ROW_BATCH_NUM and ROW_ID are set by the user to uniquely designate
a record
IF_ROW_STAT is used by EIM to return status after an EIM run
For import and merge processes, you must populate the ROW_ID, IF_ROW_STAT, and IF_ROW_BATCH_NUM columns
For merge processes, you also need to populate the IF_ROW_MERGE_ID column
Must be done for delete processes when you run DELETE EXACT
4 of 31
1. Populate EIM tables 2. Determine Processing Order 3. Run an EIM Task 4. Verify EIM Task Results 5. Remove Data from EIM Tables
5 of 31
Use database vendor utilities to load data from flat files Use SELECT INTO to pull data from other SQL databases Use direct SQL insert, update, or delete statements to update columns in EIM tables Use SQL queries to verify that EIM tables populated correctly
Non-Siebel Process
6 of 31
7 of 31
loads the dictionary, executes EIM steps, and writes log entries Direct the execution of an EIM task using a configuration (.ifb) file
Specifies the batch, order, and type of processing Use default.ifb as a template
8 of 31
9 of 31
10 of 31
11 of 31
12 of 31
13 of 31
14 of 31
Navigate to Administration Server Management > Tasks Find task number for EIM task Examine log file in Siebel server log directory
15 of 31
16 of 31
processed
17 of 31
Should use the reserved name [Siebel Interface Manager] CONNECT PASSWORD PROCESS USERNAME
USERNAME
18 of 31
unnecessary processing
Use ONLY BASE TABLES, ONLY BASE COLUMNS
or
Use IGNORE BASE TABLES, IGNORE BASE COLUMNS
19 of 31
Process Options
Set options to control processing and enhance performance
Set USING SYNONYMS to FALSE to avoid unnecessary processing USING SYNONYMS applies to accounts only
Use SHELL to process multiple EIM tables/sections in a single run
20 of 31
Use FILTER QUERY to select a subset of EIM rows for processing Use DEFAULT COLUMN or FIXED COLUMN to set values for EIM columns
21 of 31
Import Options
INSERT ROWS and UPDATE ROWS Parameters both have the default value is TRUE.
If you need the parameter to be FALSE for most tables, and TRUE for only a few, use this method:
UPDATE ROWS = FALSE UPDATE ROWS = S_PROD_INT, TRUE UPDATE ROWS = S_ADDR_ORG, TRUE
22 of 31
parameter specifies the base table rows to delete by using user key values specified in the EIM table.
By default, DELETE EXACT = FALSE. DELETE EXACT = TRUE must use the ONLY BASE TABLES parameter in conjunction to identify the base tables.
23 of 31
Delete Options
DELETE MATCHES
parameter specifies a WHERE clause expression for filtering base table rows.
The value is in two parts: the Siebel base table name and the filter expression that goes against the target base table. Filter expression is a self-contained WHERE clause expression Should use only literal values or column names
24 of 31
used to export all rows from the tables that are mapped in an EIM table
Example: To define an export process from the S_PARTY table and its extension tables
25 of 31
Primaries
Improve performance by eliminating sub-queries when displaying
data from parent and child tables If primaries are not used, a new query needs to be executed to identify any child records each time a parent record is displayed Two types of Primary settings:
Explicit Primary Implicit Primary
26 of 31
Explicit Primary
Use the Primary flag to set explicit primaries through EIM
Use when the external system knows which child should be primary
If you always want to use explicit primaries, use MISC SQL
parameter:
Ex: MISC SQL = EXPR_S_PROD_INT_TNTX_PR_CATEGORY_ID
27 of 31
Implicit Primary
Allow EIM to implicitly set primaries
Use when the external system does not know the primary Sets the primary to be the child with the lowest ROW_ID Mimics auto primary in the application
If you always want to use implicit primaries, use MISC SQL parameter
28 of 31
Add an extension column to the EIM table Map the EIM column to the base column Test the mapping by running EIM on the server
Use the Interface Table Mapping Wizard
29 of 31
the Interface Table Mapping Wizard Select the table in Tools, right-click, select EIM Table Mapping and complete the wizard
30 of 31
Module Highlights
Three required columns are there in an EIM table are:
Populate EIM tables Create an EIM configuration file (.ifb) Run an EIM job Verify job results Remove EIM table records
31 of 31