How to implement subquery in OWB mapping

I am trying to build a mapping (OWB 10gR2) which uses a single driver table (COLLEGE) and requires additional columns from 2 other tables (CONTACT and DEMOGRAPHIC) which have a many-to-one relationship with the driver table. The output should be a single record for each record in the driver table.
For the join to the CONTACT table I only want to return the first record found. The join for the DEMOGRAPHIC table should return the record with the MAXIMUM year. In SQL I would handle these relationships via subqueries. Here is a sample of the SQL that I would use:
select college_CODE,
college_DESC,
contact_NAME,
contact_PTYP_CODE,
demographic_DEMO_YEAR,
demographic_CALENDAR_TYPE,
demographic_ACCREDITATION_TYPE
from college, contact, demographic
where college_code = contact_sbgI_code
AND contact.ROWID = (SELECT MIN(A.contact.ROWID)
FROM contact A
WHERE A.contact_SBGI_CODE = college.college_CODE )
AND college.college_CODE = demographic.demographic_SBGI_CODE
And demographic.demographic_DEMO_YEAR = (SELECT MAX(B.demographic_DEMO_YEAR)
FROM demographic B
WHERE B.demographic_SBGI_CODE = college.college_CODE)
How do I implement this logic within OWB? Is there any way to do it without using views?
Thank you in advance!
Chuck

Hi,
Try this way....join college and contact tables (if u r maintaining history in contact table use the dates also to join) and get the min of effective date form the contact table thru the aggregator...this will give u the first record....then join the result with the DEMOGRAPHIC table and get use the aggregator to get max of the year...this should give u the right result...
Regards
Bharath

Similar Messages

  • How to implement multi-source XSLT mapping in 11g PS3 BPEL  ?

    Hi
    How to implement multi-source (single destination) XSLT mapping in 11g PS3 BPEL ? Is there any good example step by step ?
    thx
    d

    Hi d,
    Also there's a sample available at samplecode.oracle.com mapper-105-multiple-sources.zip.
    Regards,
    Neeraj Sehgal

  • How to implement a client side map with ObjectImage control?

    We need to implement a client side map with an ADF Faces ObjectImage control. In the code below, the JSF Faces GraphicImage contol does support a client side image map using the usemap property. However, it appears that the ADF Faces ObjectImage control does not support a client side map. Is there someway of implementing this functionality in an ObjectImage control?
    <h:graphicImage url="/images/map-usa.gif"
    usemap="#m_mapusa"
    binding="#{backing_map.graphicImage2}"
    id="graphicImage2"
    style="border-style:none;"/>
    <af:objectImage source="/images/map-usa.gif"
    binding="#{backing_map.objectImage2}"
    id="objectImage2" />
    We could use the Graphic Image control except we have a problem by mixing a JSF GraphicImage control in the same table with a variety of ADF Faces controls in that when a user clicks on the GraphicImage, then the browser windows scrolls down to center the GraphicImage control. A user then needs to scroll back up to see the rest of the page. If an ObjectImage control is used with an onClick action, then the page does not scroll, which is what we want. So if we can figure out how to add a client side map to an ObjectImage control we would get the desired results.
    An alternative might be to use a server side map with the ObjectImage control. But our question here is how to implement the existing client side image map in a backing bean. As the following map code shows, not all image map areas are rectangles - some are polygons.
    <area id="_state_05" href="#"
    shape="rect"
    coords="681,38,702,50"
    target="_self" value="VT" alt="Vermont"
    onclick="javascript:getDtl(this);"/>
    <area id="_state_06" href="#"
    shape="poly"
    coords="221,442,209,436,209,418,191,403,155,382,116,367,101,370,98,364,
    122,355,158,367,203,388,212,394,242,427"
    target="_self" value="HI" alt="Hawaii"
    onclick="javascript:getDtl(this);"/>

    Hi,
    Any news about that issue, we are also interested in any solution.
    Thanks
    Math

  • How to implement Dynamic Context Node Mapping between Components

    Hey genuis:
               I am looking for how to implement context mapping bwteen two components. I read some threads, and try to use external context mapping. The example works fine. However, my requirement is more than that.
    I have a context node in Component B, and the attributes in it are dynamically generated. Component A is the main component which use Component B's function. Both A and B work fine by theirselves. 
    When I assemble A and B (external mapping), the system gives me a exception:com.sap.tc.webdynpro.progmodel.context.ContextException: MappedNodeInfo(T8UploadCompInterface.data): cannot create nodes, no mapping defined yet.
    Please give me some suggestion?
    Any responses are appreciated.

    I miss this thread.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44
    This is almost the right solution for my problem.

  • ** Any one know How to Implement POI of Google map ***

    **Hi Friends,
    if any one knows about implementation.just share with me.
    [email protected]

    HI Friends,
    How to implement Point Of Interest from google map.
    Is it possible, i checked in google static map api ..it provides markers and path and also some features
    other than POI.
    May i know how to implement POI,
    what api i have to use..i checked google ajax api. im not able to get that one.
    So,give me ur suggestions.
    what i have to do .
    [email protected]

  • How to use functions in OWB (mapping/mapplet/pluggable)

    Hi all,
    we haev developed some sql code for populate data into respective tables. currently we are building mappings to populate data with help of sql code which we created earlier.
    1> in sql code we have called some functions to populate some columns. in owb how do we call functions and which is the best way to do eigther mapping or mapplet/pluggable level.
    we have to pass in put parameter to functions like MONTH,REGION,OFFICE,FINACIAL YEAR like that.
    in owb how do we pass.
    please find the code.
    insert into con_gdpi2
    SRNO,
    REGION,
    OFFICE,
    MONTH,
    FINANCIAL_YEAR,
    DEPT_NAME,
    DEPT_CODE,
    POL_CAT,
    TOT_PREM_UPTO,
    PUB_SEC_PREM_UPTO,
    ORG_DIR_PREM_UPTO,
    ORG_IND_AGENT_PREM_UPTO,
    ORG_CORP_PREM,
    ORG_BROKER_PREM_UPTO,
    ORG_BANKASSURANCE_PREM_UPTO,
    ORG_REFERRAL_PREM_UPTO,
    TIED_SEC_PREM,
    OTH_SEC_PREM
    select
    seq_gdpi2.nextval,
    gdpi2.REGION,
    gdpi2.OFFICE,
    gdpi2.MONTH,
    gdpi2.FINANCIAL_YEAR,
    gdpi2.DEPT_NAME,
    gdpi2.DEPARTMENT_CODE,
    '-' pol_cat,
    gdpi2.TOTAL_PREMIUM_UPTO,
    gdpi2.PUBLIC_PREM,
    gdpi2.DIRECT,
    gdpi2.IND_AGT,
    gdpi2.CORPORATE,
    gdpi2.BROKER,
    gdpi2.BANKASSURANCE,
    gdpi2.REFERRAL,
    gdpi2.TIED,
    OTHER_SEC_PREM_FOR(to_char(MONTH),to_char(FINANCIAL_YEAR),DEPARTMENT_CODE,OFFICE) as OTHER_SEC
    from
    dual,
    (select temp1.REGION
    ,temp1.OFFICE
    ,temp1.DEPT_NAME
    ,temp1.DEPARTMENT_CODE
    ,temp1.FINANCIAL_YEAR
    ,temp1.MONTH
    ,sum(temp1.TOTAL_PREMIUM_UPTO) TOTAL_PREMIUM_UPTO
    ,sum(temp1.IND_AGT) IND_AGT
    ,sum(temp1.BROKER) BROKER
    ,sum(temp1.CORPORATE) CORPORATE
    ,sum(temp1.BANKASSURANCE) BANKASSURANCE
    ,sum(temp1.DIRECT) as DIRECT
    ,sum(temp1.REFERRAL) REFERRAL
    ,sum(temp1.TIED) TIED
    ,sum(temp1.PUBLIC_PREM) PUBLIC_PREM
    from
    (select temp.REGION
    ,temp.OFFICE
    ,temp.DEPT_NAME
    ,temp.DEPARTMENT_CODE
    ,temp.FINANCIAL_YEAR
    ,temp.MONTH
    ,temp.policy_id
    ,sum(temp.TOTAL_PREMIUM_UPTO) TOTAL_PREMIUM_UPTO
    ,case when sum(temp.DIRECT) = 0 then sum(temp.IND_AGT) else 0 end as IND_AGT
    ,sum(temp.BROKER) BROKER
    ,sum(temp.CORPORATE) CORPORATE
    ,sum(temp.BANKASSURANCE) BANKASSURANCE
    ,sum(temp.DIRECT) as DIRECT
    ,sum(temp.REFERRAL) REFERRAL
    ,sum(temp.TIED) TIED
    ,sum(temp.PUBLIC_PREM) PUBLIC_PREM
    from
    (select
    substr(at.ATN_VOUCHER_NUMBER,1,2)||'0000' as REGION
    ,substr(at.ATN_VOUCHER_NUMBER,1 , 6) as OFFICE
    ,(case when aa.ACC_DEPARTMENT_CODE=31 then 'Motor'
    when aa.ACC_DEPARTMENT_CODE=32 then 'Motor T.P'
    when aa.ACC_DEPARTMENT_CODE=39 then 'Motor T.P.Pool'
    end) as DEPT_NAME
    ,aa.ACC_DEPARTMENT_CODE as DEPARTMENT_CODE
    ,t.FISCAL_YEAR as FINANCIAL_YEAR
    ,'AUGUST' as MONTH
    ,pp.policy_id
    ,case when pp.STAKE_HOLDER_ID = 2 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as TOTAL_PREMIUM_UPTO
    ,case when pp.STAKE_HOLDER_ID = 3 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as IND_AGT
    ,case when pp.STAKE_HOLDER_ID = 46 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as BROKER
    ,case when pp.STAKE_HOLDER_ID = 517928030012008 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as CORPORATE
    ,case when pp.STAKE_HOLDER_ID = 544821913052008 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as BANKASSURANCE
    ,case when pp.STAKE_HOLDER_ID = 544472422042008 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as DIRECT
    ,case when pp.STAKE_HOLDER_ID = 544885218052008 then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as REFERRAL
    ,case when org.BUSINESS_TYPE like 'Block/Tied Business%' then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as TIED
    ,case when org.BUSINESS_TYPE like 'Public Sector Business%' then (atd.ATD_CREDIT_AMOUNT - atd.ATD_DEBIT_AMOUNT ) else 0 end as PUBLIC_PREM
    from
    accounting_transaction at
    ,accounting_trn_detail atd
    ,account aa
    ,account bb
    ,POLICY_PARTY pp
    ,time t
    , (select * from organization_policy_holder where effective_end_date is null) org
    where
    at.ATN_ACCOUNTING_TRANSACTION_ID = atd.ATN_ACCOUNTING_TRANSACTION_ID
    and atd.ACC_ACCOUNT_ID = aa.ACC_ACCOUNT_ID
    and aa.ACC_ACC_ACCOUNT_ID = bb.ACC_ACCOUNT_ID
    and bb.ACC_ACCOUNT_TYPE = '1101'
    and at.POLICY_ID = pp.POLICY_ID
    and at.policy_id is not null
    and pp.party_id=org.org_policy_holder_id(+)
    --and bb.ACC_GL_CODE like '%.130700%'
    --and t.MONTH_NAME= 'AUGUST'
    and trunc(at.ATN_TRANSACTION_DATE) between '1-APR-2008' and '31-AUG-2008'
    and t.CAL_DATE = trunc(at.ATN_TRANSACTION_DATE)
    and pp.policy_party_id in
    ( select max(pp1.policy_party_id) from policy_party pp1
    where pp.POLICY_ID = pp1.POLICY_ID and pp.STAKE_HOLDER_ID = pp1.STAKE_HOLDER_ID
    group by
    pp1.policy_id
    ,pp1.stake_holder_id
    )temp
    group by temp.REGION
    ,temp.OFFICE
    ,temp.DEPT_NAME
    ,temp.DEPARTMENT_CODE
    ,temp.FINANCIAL_YEAR
    ,temp.policy_id
    ,temp.MONTH)temp1
    group by temp1.REGION
    ,temp1.OFFICE
    ,temp1.DEPT_NAME
    ,temp1.DEPARTMENT_CODE
    ,temp1.FINANCIAL_YEAR
    ,temp1.MONTH
    )gdpi2;

    You have to create first your function in OWB :
    Database / Oracle / Your module / Transformation / Functions
    Then in a mapping, use an expression operator :
    * drag and drop the column that you want for our function in the ingroup
    * double click on the expression operator : add an output variable, closed the operator windows
    * click on your outpuy variable and then click in the expression field of the attributes properties (on the left)
    * enter your expresson :
    OTHER_SEC_PREM_FOR(to_char(MONTH),to_char(FINANCIAL_YEAR),DEPARTMENT_CODE,OFFICE)* connect your output attributes to your target table
    Success
    Nico

  • How to implement validations in message mapping?

    Hi experts,
    I have a simple requirement:
    I have a simple synchronous scenario:
    SOAP -> XI -> RFC
    In a message mapping, one of the fields in the source message is of type String.
    However, the target application (RFC) does not expect a non-numeric characters in this string.
    My question is how can I perform the validation in XI and tell the sender that this field contains Non-numeric characters?
    Please help.
    Thanks.
    Ron

    > Ron,
    >
    > >>With a RunTime Exception thrown, how can I tell
    >  the sender an error has occured?
    >
    > Sure. You can do this with out a BPM. You need to
    > configure alerts for this. If you configure ALERTS
    > and SCOTT, this will send an email of the errors
    > occuring in your scenario.
    >
    > For configuring and trouble shooting alerts check
    > these
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2327
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2328
    >
    > Regards,
    > Jai Shankar
    Hi Jai
    I already have alerts configured.
    But what I had in mind is to send a response to the sender (The sender is waiting for a reply since this is synchronous), instead of telling the sender through an alternative means such as email, sms, etc.
    Is this possible?

  • How do we migrate the OWB mapping from one server to another server?

    Here is my situation.
    Source server
    ================
    Project name : SOURCEOWB
    Under this project, we have two module(MBTSOURCE, MBTTARGET).
    In connection explorer, the locations are DW_MBT_SR, DW_MBT_TR.
    We have 15 mappings on this project.
    Source schema name is TXMBT_DW.
    Target schema name is MBTTX_DW.
    I want to migrate the whole thing to new server.
    Here are the info about target location. After migrating to new server, i need to rename
    as below.
    Project name : CA_SOURCEOWB
    Under this project, we have two module(CA_MBTSOURCE, CA_MBTTARGET).
    In connection explorer, the locations are CA_DW_MBT_SR, CA_DW_MBT_TR.
    Source schema name is CA_TXMBT_DW
    Target schema name is CA_MBTTX_DW
    Here are my steps i followed.
    ===============================
    1. Created the source and target schemas in new machine.
    2. Create a new workspace
    3. Export the mapping with dependent objects from source server and imported in new server.
    4. changed the source and target location successfully.
    5. Renamed the project namd, module names as i needed successfully.
    But only issue is, i am not table to change the location name.
    Again, i tried the below steps.
    1. uninstall the workspace and create the workspace
    2. create source and target locations as i needed(CA_DW_MBT_SR,CA_DW_MBT_TR).
    3. import only mapping
    4. Able to register the mapping
    Here i am not able to configure the module for newly created locations.
    I right clicked on module and click Configure, go to Stream Administrator and not able to find
    the source and target locations over there.....
    How do we resolve this?
    My data warehouse is runing for each state. I want to copy one state mapping and import into
    another state and customize the mapping. I have hard time to change the location name. Because,
    location name has state code. I can not use the same location name for all other state.
    Any help is highly appreciated.

    Hello Oleg, Thanks for your input.. It helps... but the problem is not completly solved.
    let me explain my whole steps. Plesae review and let me know if i missed anything.
    1. Created new workspace. the workspace is successfully created.
    2. Login to new workspace.
    3. Go to Locations, create source location(entered host name,username, password etc)
    4. Created target location(entered host name,username, password etc), go to db connector on target location, created new db connector and linked the source location here.
    5. Exported mapping and import into new workspace.(I can not use the location name in the exported workspace).
    6. Renamed the project name, module name as i needed.
    7. Double click the module name under Oracle and changed the meta data location and data locations.
    8. Right click on soure and target module and click configure, change the the location and streams administrator.
    9. Right click on mapping and go to configure, go to table operators and change the location as i need.
    10.Right click on target module(under oracle), click generate. On this step, i get the below error
    VLD-1141: Internal error during mapping generation.
    Java.lang.ArrayIndexOutOfBoundsExeception
    11. Go to control center, register the source and targert and followed the step 10. I get the same error.
    I am almost close to complete this task. But i got stuck in the last step.

  • How to implement dynamic sql in owb

    Hi everybody,
    I am new to OWB and hence i want to know how i can implement the following dynamic sql statement in owb...
    Declare
    Cursor C_tab_col is
    Select cat from tbl_cat_edesc_1 ;
    Vcat varchar2(240);
    Cursor C_edesc_col is
    Select edesc from tbl_cat_edesc_1 ;
    Vedesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_Tab_col;
    Fetch C_tab_col into vcat;
    Open C_edesc_col;
    Fetch C_edesc_col into vedesc;
    loop
    V_Command := 'update upd_catseg_1 c set c.'||vcat||'=';
    V_Command := V_Command||'(select d.sales from TEST_catseg d' ;
    V_Command := V_Command||' where edesc = '||''''||vedesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_tab_col into vcat;
    Exit when c_tab_col%notfound;
    Fetch C_edesc_col into vedesc;
    Exit when c_edesc_col%notfound;
    end loop;
    commit;
    end;
    Thanks a many

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to implement Dynamic lookup in OWB mappings(10g)

    Hi,
    Iam using OWB 10g version for developing the mappings.
    Now I need to implement the Dynamic lookup in the mapping.Is there any transformations available in OWB to achieve this.
    Please give me some information about the same.
    Thanks in advance...

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to Execute a OWB Mapping or a Process from SQLPLUS editor?

    I need to know how can we execute a OWB mapping from SQLPLUS editor or from a Stored Procedure.

    Hi,
    You can use the MDL export/import utility for this, but as you are importing into the same repository you will end up with importing into the same project again.
    So for this you can follow the workaround as:
    ->Take export of the required mapping from the project OWB_B
    -> Rename the Project OWB_B to some thing like OWB_B_1(or any other name), note that you have to rename both logical and physical name of the project
    -> Rename the project OWB_A to OWB_B and if you import the MDL all the objects will be imported to OWB_B then you can rename back the project to OWB_A
    -> Finally rename the project OWB_B_1 to OWB_B (to its original name).
    Regards,
    Pnreddy

  • How to implement Comparator in Map

    hi,
    Can any one explain how to implement camparator interface in map. i want to sort the map by the values stored.
    Thanks in advance.

    H&#111;ly Chr&#105;st!
    We are being overrun by double posting numbnuts today.

  • Rows to columns in owb mapping

    Hi,
    I have a transformation operator in my OWB mapping where in a sequence value is generated. The sequence value is populated into two target tables.
    Now my code populates the below value 10 to two target tables which was generted by my transformation operator .
    KEY     VALUE
    1     10
    Now my requirement changed in such a way that based the key i need to generate multiple values
    i.e the output from transformation operator is
    Key     Value1     Value2
    2     10     11
    This should be populated in my target tables as
    Key     Value
    2     10
    2     11
    Please explain me how can I implement in my owb mapping.
    Many thanks in advance,
    Yeswanth

    Key is 1 and value that was generated by sequence is 10.
    in my target table both the key and the value 10 are loading now.
    After the change my target table should have
    1 10
    1 11
    The 10 and 11 are generated from the transformation operator.
    Note: Key here is not primary key nor unique.

  • How to implement checkpoint restart in OWB 11gR2?

    How to implement checkpoint restart in OWB 11gR2?
    Which will enable us to restart the OWB mapping from the last successfully inserted checkpoint onwards.
    Edited by: user4593813 on Jul 6, 2010 10:23 AM

    Hi Borkur,
    Thanks for reply.
    Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
    The way you mentioned is right when we are performing the operations directly on a table.
    But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
    So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
    But the problem again is, how to implement the lag over operation there.
    Any idea.?
    Thanks and regards
    Gowtham sen.

  • How to implement mapping for a slowly changing dimension

    Hello,
    I don't have any experience with OWB and I need some help.
    I just don't know how to create the ETL process for a slowly changing dimension.
    My scenario is that I have 2 operative systems providing customer information, a staging area and a dwh with a customer dimension with SCD type 2 (created within OWB).
    The oltp data is already transferred to the staging area. But how should the mapping for the dwh table look like? Which operators have to be used?
    I have to check whether the customer record is new or just updated. How can I check every attribute? A new record shall be loaded, an updated record shall be historized (as I configured it in the SCD type 2). I just don't know how the trigger of the SCD is activated. Do I have to try an update on the trigger attribute and then automaticalle a new record is created? But with which operator can I do this? How should the mapping look like? Or is this impossible and do I have to implement this functionality with SQL code only?
    I know how to implement this with SQL code, but my task is to implement this in OWB.
    As you see I did not understand the logic of OWB so far and I hope somebody can help me.
    Greetings,
    Joerg

    Joerg,
    Check the blog below which provides good detail and also check the OWB documentation
    http://www.rittmanmead.com/2006/09/21/working-through-some-scd-2-and-3-examples-using-owb10gr2/
    Thanks,
    Sam.

Maybe you are looking for

  • Ntsc hi8 to fce1, shot in pal

    Has anyone had problems with capturing Hi 8 (SP) video on Final Cut Express? I seem to be able to pull the video up in the capture window but its lke jerky but looks ok on a external switchable monitor, it's a Samsung HI 8 SCL 700 NTSC 8mm, in the me

  • Error messages and cancel navigation - questions about concept

    Hello experts, I have a very simple Web Dynpro component: - 2 views - First view has an input field that is linked to a date field in the context and a button to navigate to the second view - Second view has a button to navigate back to the first vie

  • I can't get rid of thanks for updating firefox or add-ons at start-up

    Every time I start Firefox, in addition to my home page, I get "thanks for updating" pages from Mozilla, Colorful Tabs, No Script, and Undo Closed Tabs Button. I have tried all of the usual methods for getting rid of them (resetting home page, et al)

  • Has anyone had issues with texting after doing the update today?

    I did the update today and not I am having problems sending and receiving text messages.  Has anyone else had this problem?

  • Changing DMSYS password in EBS 11i

    Hi , Followed 189367.1. page 51-56 in the pdf file and didnt found how change this schema . Can i just run alter user dmsys identified by xxxx , or should i change the FNDCPASS utility ? Thanks