Solution: Follow below steps to create EIM mapping to an existing EIM table.
- Create new standalone table CX_TSET_TBL using new Table wizard in siebel tools. This wizard creates seven system columns by default.
- Create new columns COL1, COL2, COL3, COL4 with Type = Varchar (30).
- Create a New Index with below propeties.
- Name = CX_TEST_TBL_U1
- Type = "User Key"
- Unique = "Y" (This Property makes the user to enter unique data through UI)
- User Primary Key = "Y" The Property is used by EIM to enforce uniqueness on this index.
- Add columns COL1,COL2,COL3 to the index created in step3. This is part of the requirement to enforce EIM to find unique records in Target table. This is equivalent to the user keys of the base table.
- Run the EIM mapping to standalone table created in step1 to the sutiable EIM table with steps mentioned in bookshelf. It will create columns in EIM table and maps those columns to the target standalone table. It also create a user key on EIM table with the 3 columns(COL1,COL2,COL3) and IF_ROW_BATCH_NUM.
- Write EIM scripts to load data.
Once you complete above steps, you can run EIM job on custom table. EIM will take care of the uniqueness of records and loads the data. It supports INSERT,UPDATE and DELETE operations.
No comments:
Post a Comment