Anda di halaman 1dari 4

purpose

Exchange of the data between the systems


Types
Import, Export, Delete and Merge

Process
Get the Data File (FTP or SFTP, ETL Tools)?
Staging Area (Temp Tables)? massaging or validation or data quality
To avoid issues like Performance, less burden to EIM, avoid to c
ause issues to other process
Required\Mandatory Columns
LOV Validation
Forign Keys (User Key of Other Admin Data, Ex: Account and Sales
Team)
Business Rules
Insert into EIM Tables
Run EIM Process
Audit Trail Report
Delete the Data from EIM Table and Staging Table
Archive and Delete the File

EIM Temp Columns


_EXs
_STA
_UNQ
__RID
IF_ROW_STAT_NUM

IFB File Parameters for Each Type? Explain the purpose?


IGNORE BASE TABLES
IGNORE BASE COLUMNS
ONLY BASE TABLES
INSERT ROWS
UPDATE ROWS
ONLY BASE COLUMNS
DEFAULT COLUMN
NET CHANGE
SESSION SQL
TRASACTION SQL
USE ESSENTIAL INDEX HINTS
USER INDEX HINTS
FIXED COLUMN

EIM Flags
Trace Flg
SQL Error
Error Flag
WHEN

IF_ROW_STAT Values and its details


How to Load MLOV?
you have loaded Contact and Account but it is not visible, why? how you will res
olve?

File Attachment
File Directory Path

Order of Import
Administrative (LOV, Lang, Zip Code)
Organization (BU)
Positions
Account (s_org_ext...
Contact
Employee
Products
Opportunities
Quotes
Documents
Forecasts
Service Req
Notes
File Att

***********
performance tuning : check for table stats in all_table or user_tables ( column
name is num_rows) , analyze the table
check for index...(where clause columns should be index)
3) check the explain plan
nvl( ) = nvl()
function based indexes for nvl, upper, lower...
space issue, temp space issue
4) try to break down the query
5) procedure level ..use cursors in case of direct updat
e( Bulk collect is even better)
6) while updating or selecting the data use oracle ROWID
oraid faster then siebel row_id
** Control file
Fields Terminated By and Optionally Enclosed by
Fillers and Bound Fillers
How to call Function, Procedures
Constant
Date Format
SUBSTRING( AddressField , 1 , CHARINDEX(',', AddressField) - 1),

**Account & Contact


S_part* ?
Account user key - Name, Location,BU,
CONTACT USER KEY - BU_ID, PERSON_UID, owner_per_id
verify all Mandatory fields - if its null update it to default value(ctl file, i
fb files,)
verify for bounded picklist - if picklist is invalid either reject the data or g
ive the default value.
Any other business rule :
from external system we are geting contry as US , decode in our system w
ith United States.
dont give positions , default contry specific position
if bu is null update to default organization
Check for user key : Name, location , bu
if exist update party_UID, party_typ_cd
if does not exist then update party uid with unique id( sequence with constant
values) and party_type_cd as org for account, person for contact.
s_party, s_org_ext, s_org_bu, s_org_addr, s_org_x,s_accnt_postn,s_postn
run eim process
either run from application
or from command prompt
Call WF to update party_uid to row_id
S_PARTY.ROW_ID, PARTY_UID
S_ORG_EXT.ROW_ID, PAR_ROW_ID

Call WF to update party_uid to row_id


S_PARTY.ROW_ID, PARTY_UID
S_CONTACT.ROW_ID, PAR_ROW_ID, PERSON_UID

****
Person UID

** Partially Imported : check for if_row_stat_num and check each table temp colu
mns(_sta) columns if it matchs for primary table then
we can surely tell data is not loaded table
* for example you are loading the account, data loaded to s_party but no
t in s_org_ext for a user s_org_ext is primary
**Foreign Key : Assume loading the account and Account attributes in a sequence
Account loaded with partially imported & account info not availa
ble in s_org_ext
User key which is populated for account to load account attribut
es fails to resolve the record during the run eim process
**In Progress : Two batch process runing in a parallel and trying to insert same
information, first batch loaded the data
and second is trying to insert again , and it throws an error.
**Ambigous: this mainly could happen in data migration, or remote client updatio
n, same user but different conflict id..
IMPORT_REJECTED
ROW_REJECTED
..

**Dup record exist : trying to update all the columns...same available in base t
ables
** No Such Records No record is found in base table
** Not Allowed : In ifb files insert rows is set to false but combination of us
er key does not available in base table and it is trying to insert...
since flag is set to false ..
** Dup records having in EIM table : for same batch number, there are multiple r
ecords matching same userkey

what are the mandatory fields in EIM table , rowid, if_row_batch_num

s_party_per s_party_rel table ?


**Scenario :
account
select a.rowid from
s_org_ext a,
s_org_ext b,
where a.X_unique_id = b.x_unique_id
AND a.row_id!=b.row_id
select x_unique_id,count(1)
from siebel.s_org_ext
where x_unique_id is not null
group by x_unique_id
having count(1) > 1
select * from siebel.s_org_ext master
where rowid in (select min(rowid) from siebel.s_org_ext master det
where master.x_unique_id=det.x_unique_id)

delete from siebel.s_org_ext master


where rowid > (select min(rowid) from siebel.s_org_ext master det
where master.x_unique_id=det.x_unique_id)
identify parent acc,
for given account its adress
for given accnt types and its count?

Anda mungkin juga menyukai