Handling Data Dependencies in EIM using IFB Files
In a typical data migration application using EIM, the IFB file contains a large number of sub-processes, which are called from the main process (SHELL). Often while running the EIM process, there are situations, when we would like to run only a sub set of these processes. Such situations normally arise in testing environments, when we prefer running only those processes for which testing needs to be performed.
For example consider a section of a typical IFB File, which includes the following processes.
[Import Position]
TYPE = IMPORT
BATCH = 11100000-11100005
TABLE = EIM_POSITION
ONLY BASE TABLES = S_PARTY, S_POSTN
[Import Position Organization]
TYPE = IMPORT
BATCH = 11200000-11200005
TABLE = EIM_POSITION
ONLY BASE TABLES = S_PARTY, S_ACCNT_POSTN
USE INDEX HINTS = TRUE
INSERT ROWS = S_PARTY, FALSE
UPDATE ROWS = S_PARTY, FALSE
;***************************************************************************
; IMPORT
;***************************************************************************
[Import Everything]
TYPE = SHELL
INCLUDE = "Import Organization"
INCLUDE = "Import Organization Address"
INCLUDE = "Import Org-Address Relationship"
INCLUDE = "Import Position"
INCLUDE = "Import Position Organization"
INCLUDE = "Employee Position Rel"
Suppose, the logic for migrating Position Organization relationship has undergone some change. Hence the “Import Position Organization” Process needs to be tested. So, in the IFB file we comment out all other processes and keep only INCLUDE = "Import Position Organization" uncommented. We delete the records in the S_ACCNT_POSTN table, which stores the Position Organization Relationship, and then run the EIM process. This works fine.
However, suppose the logic for migrating Position data has undergone some change, which is why the “Import Position” Process needs to be tested. But in this case, if we comment out all other processes and run the EIM only for “Import Position”, after deleting records from S_PARTY and S_POSTN, then the Position Organization relationship data records would become orphans. Similarly, records in all other tables, which have a foreign key relationship with S_POSTN, would become orphan records. This is because every time we delete a Base table (either manually or through EIM), and then run the EIM process to migrate records into it, SIEBEL generates new ROW_IDs for each of these records. Hence the foreign key reference that other tables have with this record would be lost.
Hence the thumb rule that should be followed is:
When testing data migration for a Master table (which has foreign key relationship with one or more child tables), run the EIM process not only to import the Master table records, but also to import records to all tables that have foreign key relationship with the Parent table.
In our example, therefore if we need to test the migration of Position Master records into S_POSTN, we would need to run the EIM process for “Import Position”, "Import Position Organization" and"Employee Position Rel" to ensure that foreign key references are not lost.
Related Articles:
Browse Categories
User login
Navigation
Popular content
- Autosys Job Handling (13,609)
- GE UNIVERSAL REMOTE INSTRUCTIONS (12,357)
- Siebel User properties (9,094)
- Test 1 - NC Drivers License Test - DMV Question Dump (8,769)
- Making a View "Read Only" based on a criteria: Aspect User Property (4,216)
- Siebel Application Response Measurement (SARM) (4,144)
- Siebel Predefined Queries (PDQ) – Reference (4,080)
- Siebel Server Component Event Logging (3,662)
- Strategies for Building Team Cohesion (3,153)
- How to create the EBC’s in Siebel (3,085)
Readers who viewed this page, also viewed:
- How should EXPORT MATCHES and DELETE MATCHES be used in Siebel? (133.3%)
- How are CREATED and CREATED_BY columns populated using EIM? (133.3%)
- Siebel EIM Import Order of Entities (133.3%)
- Automatic Logoff from the Siebel Client session, based on specific conditions. (133.3%)
- Is it possible to set up individual user locales? (116.7%)
- Overview of Siebel Enterprise Integration Manager (EIM) (116.7%)
- Real time Siebel EIM (Enterprise Integration Manager) Interview Questions – Part 1 (116.7%)
- How should users relate two PARTY Objects (example: Accounts and Contacts) in Siebel when importing data using Enterprise Integration Manager (116.7%)
- What is the difference between the S_REVN table and the S_OPTY_POSTN table (116.7%)
- Choosing the correct interface table for Siebel EIM process (116.7%)
