Keep history in dimension table, how to map. Pls help

First I need to load into TargetDim1 from Source1
Second I need to check if in Source1, the record that match TargetDim1 is updated to some value, if so I need to update the end_dt of that record in TargetDim1. If there is a new record in the Source1, then I need to insert into TargetDim1 a new record.
Before in TargetDim1
SEQKEY EMPLID NAME START_DT END_DT STATUS
1 123 JOHN 01/12/1999 NULL SINGLE
After in TargetDim1
1 123 JOHN 01/12/1999 06/15/2004 SINGLE
45 123 JOHN 01/12/1999 null MARRIED
I did go through the help online SCD type 2. But very confused. Anyone have any reference explain more detail than the ORacle document. Please send. Thnks for the help

Oracle Database Search Results: pivot

Similar Messages

  • How to map search help dinamically to a context attribute

    Hi,
    I need to map search help dynamically based on selection screen radio button, Please let me know  how to map search help dinamically to a context attribute
    Best regards,
    Alleiah

    Here is the sample code,
    data lo_nd_info  type if_wd_context_node_info.
      lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
            EXPORTING
              name            = 'KTONR' (attribute Name)
              value_help_mode = '121'
              value_help      = 'PREMJ'.(Help Name)
    Regards
    Vishal

  • How to reset table and serch criteria, Pls help to me

    I used execute with param for searching instead of Query searching I would like to reset searching criteria as well as result table. Please show to me how to tackle it.
    Regards
    KT

    this one is solution my use case,Thanks All
    resetButton()
    DCBindingContainer dcb = (DCBindingContainer)getBindings();
    DCIteratorBinding dcbi =
    dcb.findIteratorBinding("CustSearchIterator");
    ViewObject vo = dcbi.getViewObject();
    vo.executeEmptyRowSet();
    FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding vb = fc.getApplication().createValueBinding("#{bindings.QueryCustNo.inputValue}");
    vb.setValue(fc, null);
    return null;
    helpful resources
    Clearing values in textfield
    Re: reset components values

  • Problem in using translation builder table??? pls help

    Dear OTN Users,
    I have to convert an existing application developed using forms 6i to Chinese for use in China. Kindly advice how to achieve this.
    We have tried to use the Translation Builder but it gives an error message " xbd-00024 Translation builder table does not exist" and another error " xbd - 00301 Project Insertion Failed".
    Pls reply back on Urgent basis.
    Thanks
    null

    Hi,
    You can add attributes in the View to store the selected values .
    For eg  Add gv_index type i.
    Now in the On select first table add a parameter NEW_LEAD_SELECTION type IF_WD_CONTEXT_ELEMENT in the action.
    Now
    use the get index method.
      CALL METHOD new_lead_selection->get_index
        RECEIVING
          my_index = lv_index.
    wd_this->gv_index = lv_index.
    Now when u press the Delete Button the wd_this->gv_index gives the current index which u have selected before
    And in the properties of the table SelectionMode use singleNoLead proerty so that the user has to select some value to delet the records.

  • I have been using my macbookpro for the past 2 years and suddenly yesterday it stopped connecting to wifi and keeps sayin airport card not installed...pls help

    I have been using my macbookpro for last 2 years and suddenly yesterday it's not connecting to wifi nd keeps saying no airport card installed...how can I fix this?

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • HT4798 I try resetting my Mac book pro now I can't log in I forget my password how to reset ,pls help me out .

    I forget my log in in my MacBook Pro I try to reset can u help me out how to recovery password .

    Hi,
    iChat (it would help to know which version) can accept Apple IDs as valid AIM Screen Names.
    However if you have iChat 5 or earlier you cannot use ones ending in @me.com or @icloud.com issued by iCloud. (they can be used in iChat 6 or Messages as these versions make a double login to AIM and Apple to allow the use of the password).
    In addition if you are using an Apple ID for an AIM Screen Name the password still needs to keep to the 16 character limit that AIM has.
    AN @mac.com name can be used on any version of iChat  (Until the 30th June 2014)
    As it does not need a double check with Apple you can use it to log in to the AIM Web pages
    Login here with an AIM Name registered at AIM or and @mac.com name and see if you get any suspended account messages.
    Sometimes account can be suspended. Usually because something has triggered the "Unusual Activity" item.
    About a year ago many @mac.com users that travelled out of their own country found themselves suspended when they got home.
    If the Name checks out of if an Apple ID the password in known to be 16 characters or Less then do this:-
    In Lion upwards open a Finder Window and use the Go Menu whilst holding down the ALT key.
    Select the Library that appears in the menu list.
    Navigate to Preferences.
    (If you have version earlier than Lion the just navigate to ~/Library/Preferences (that's the Library in you Home - Little House icon - folder)
    Fnd com.apple.ichat.aim.plist (even if you are using Messages)
    Drag the file to the Trash and Restart the app.
    7:39 pm      Thursday; May 29, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

    Hi Friends ,
                           Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
       Using  below likns i have configured the RFC Sender adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    First Activate the ABAP Proxy?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    How to implement a Client Proxy?
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    My question is
    <b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
          2.   Then do we need to write RFC Call in side this proxy call ?
          3.      If we go for proxy do we need RFC Sender Adpater ?</b>
            I am little confused can you please explain , as how it works ?
    <b>       Is there is any other way to trigger RFC to send data ?</b>
    Regards.,
    Shyam

    Hi sabrish ,
                          Tahnks for ur reply. I was waiting for ur response . i have doubt
    the foloowing code i got from ur blog .
    REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
      <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
                  2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
                  3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
    Regards.,
    Shyam
    null

  • Qurey for pulling out data from three tables... Pls help me out.

    Hi..
    I have three tables linkdetails, wingdetails and vendordetails. A link is connecting two wings... and link is provided by a vendor.. So the fields of linkdetails are---- linkdetails: linkid , linkname, vendorid,wing_a_id,wing_b_id
    vendordetails: vendorid, vendorname, contactnumber
    wingdetails: wingid,wingname,city
    So i want a query that retrieves all the fields from linkdetails, vendorname from vendordetails wingname corresponding to wing_a_id, wingname corresponding to wing_b_id from wingdetails for a particular linkid..
    Thanks in advance

    maybe something like:
      select ld.*,
             vd.vendorname,
             wda.wingid   wingid_a,
             wda.wingname wingname_a,
             wdb.wingid   wingid_b,
             wdb.wingname wingname_b
        from linkdetails   ld,
             vendordetails vd,
             wingdetails   wda,
             wingdetails   wdb
       where ld.vendor_id = vd.vendorid
         and ld.wing_a_id = wda.wingid
         and ld.wing_b_id = wdb.wingid
         and ld.linkid    = &linkid;

  • I just switch from iphone 3sg to iphone4 now when i download an app on my iphone4 it keeps saying it needs security code whet code pls help me thank you

    so seriously wat is the security code there talking about

    I believe you are correct. I had to replace my phone and it was necessary to enter the (3 digit) security code from the credit card the first time I updated some apps on the new phone. Thereafter only the password was requested.

  • How to create Dimension table

    Hi,
    On practicing I have followed the step. 1st i have created InfoArea, 2nd Infosource, 3rd Application component, 4th Infoobject, and 5th Infocube. I was not able to create dimension table. Could any one help me how to create dimension table.
    Regards.

    Hi Soumendra,
    I think you are stuck in creating the InfoCube (IC), when you create the IC you need to have 3mandatory dimensions like time, unit and data packet as well as Customer defined like say Customer, Product etc.
    You need to insert them in IC and activate them.
    Check the below help file for more info.
    http://help.sap.com/saphelp_nw70/helpdata/en/80/1a643fe07211d2acb80000e829fbfe/content.htm
    Regards,
    Raghu

  • Bridge or Dimension Table Aggregation

    If you tryed to aggregate fields of a bridge or dimension table, maybe you had a message like "[nQSError: 14026] Unable to navigate requested expression".
    You can't aggregate fields directly on a bridge or dimension table. You need to include the bridge or dimension table on the source of the fact table:
    - On fact table properties, "Sources", select the fact table, and "Edit..." button
    - On "General" click "Add..." and select the bridge or dimension table
    - On "Column Mapping" include the field of the new table to be aggregated
    - Now, on fact table properties, "General", select the new field, double click, and select the aggregation mode (distinct count for example).

    Hello expert,
    Thank you very much for your reply.
    Actually the data model is very simple. There is only one physical table REJECT_FACT. The structure is as follows:
    Reject ID (NUMBER)
    Reject Category (VARCHAR2)
    Reject Code (VARCHAR2)
    Reject Code Desc (VARCHAR2)
    Site Desc (VARCHAR2)
    Site Code (VARCHAR2)
    Region Desc (VARCHAR2)
    Age Group (VARCHAR2)
    Reject Date (DATE)
    The hierarchy required is as follows:
    Reject Category -> Reject Code Desc -> Site Desc -> Region Desc -> Age Group -> Reject Date.
    I want to produce count on each hierachy level.
    How to populate the hierachy structure effectively?
    Thanks......

  • Distinct Count Measure on Dimension table via Bridge table.

    Hi Team,
    I have Dim_Devices Table, which is linked to other dimension like Dim_User  and Dim_City.
    All these table has many to many relationship defined in bridge table i.e. B_Devices_User_City using referential keys.
    I want to derive measure such as
    Select Count(Dim_Devices[Device_Id])
    where Dim_Devices.Validity_End_Date is null
    Note : Device_Id and Validity_End_Date are present in Same Dim_Devices  Dimension Table.
    Could you please help me to define cube structure and how to create such measure out of dim_table.

    Hi Charlie,
    Now, I have define DistinctCount Agreegation on Dim_Devices table which will use reference Relationship on B_Devices_User_City. My Count is correct.
     But, I came across one more issue, i.e. From Processed and deployed cube, I am trying to create off-line Cube/or Global Cube (I have given syntax below) which is for limited set of dimensions and measures, I found that It shows me error due
    to such relationship.
    Does it mean that, For Global Cube, Can't we use DistinctCount/Count agreegation?
    CREATE
    GLOBAL CUBE [Device OLAP_Cube_1_3]
    Storage
    'C:\Exportcube.cub'
    FROM [Device DATA CUBE]
      -- Measures
      -- Cube

  • Sizeof fact table and dimension table

    Hi Experts ,
    Can you tell me how to measure the size of dimension table and fact tables and how to find the ratio of size of dimension table to the size of fact table.
    Thanks in advance,
    Thanks and Regards
    Ram Kommineni

    Hi,
    The ratio of size of fact table to dimension table is ideally should be 10:1. That means the size of the dimension tables should be 10% of the size of the fact table. This serves better in terms of performance.
    Whenever you load any cube, you can easily find out the number of records in fact table (E and F table) and the dimension tables. Based on that statistics you can determine the ratio of size in fact and dimension tables.
    Hope this info helps you.
    Regards,
    Yogesh.

  • Incremental load into the Dimension table

    Hi,
    I have the problem in doing the incremental load of the dimension table.Before loading into the dimension table,i would like to check the data in the dimnesion table.
    In my dimension table i have one not null surrogate key and the other null dimension tables.The not null surrogate key, i am populating with the Sequence Generator.
    To do the incremental load i have done the following.
    I made lookup into the dimension table and looked for a key.The key from the lookup table i have passed to the expression operator.In the expression operator i have created one field and hard coded one flag based on the key from the lookup table.I passed this flag to the filter operator and rest of the fields from the source.
    By doing this i am not able to pass the new records to the dimension table.
    Can you please help me.
    I have another question also.
    How do i update one not null key in the fact table.
    Thanks
    Vinay

    Hi Mark,
    Thanks for your help to solve my problem.I thought i share more information by giving the sql.
    I am giving below the 2 sqls, i would like to achieve through OWB.
    Both the following tasks need to be accomplished after loading the fact table.
    task1:
    UPDATE fact_table c
    SET c.dimension_table_key =
    (SELECT nvl(dimension_table.dimension_table_key,0)
    FROM src_dimension_table t,
    dimension_table dimension_table
    WHERE c.ssn = t.ssn(+)
    AND c.date_src_key = to_number(t.date_src(+), '99999999')
    AND c.time_src_key = to_number(substr(t.time_src(+), 1, 4), '99999999')
    AND c.wk_src = to_number(concat(t.wk_src_year(+), concat(t.wk_src_month(+), t.wk_src_day(+))), '99999999')
    AND nvl(t.field1, 'Y') = nvl(dimension_table.field1, 'Y')
    AND nvl(t.field2, 'Y') = nvl(dimension_table.field2, 'Y')
    AND nvl(t.field3, 'Y') = nvl(dimension_table.field3, 'Y')
    AND nvl(t.field4, 'Y') = nvl(dimension_table.field4, 'Y')
    AND nvl(t.field5, 'Y') = nvl(dimension_table.field5, 'Y')
    AND nvl(t.field6, 'Y') = nvl(dimension_table.field6, 'Y')
    AND nvl(t.field7, 'Y') = nvl(dimension_table.field7, 'Y')
    AND nvl(t.field8, 'Y') = nvl(dimension_table.field8, 'Y')
    AND nvl(t.field9, 'Y') = nvl(dimension_table.field9, 'Y')
    WHERE c.dimension_table_key = 0;
    fact table in the above sql is fact_table
    dimesion table in the above sql is dimension_table
    source table for the dimension table is src_dimension_table
    dimension_table_key is a not null key in the fact table
    task2:
    update fact_table cf
    set cf.key_1 =
    (select nvl(max(p.key_1),0) from dimension_table p
         where p.field1 = cf.field1
    and p.source='YY')
    where cf.key_1 = 0;
    fact table in the above sql is fact_table
    dimesion table in the above sql is dimension_table
    key_1 is a not null key in the fact table
    Is it possible to achieve the above tasks through Oracle Warehouse builder(OWB).I created the mappings for loading the dimension table and fact table and they are working fine.But the above two queries i am not able to achieve through OWB.I would be thankful if you can help me out.
    Thanks
    Vinay

  • Help on  Setting logical Levels  in Fact tables and on Dimension tables

    Hi all
    Can any body provide any blogs or any king of material on what exactly is levelling .
    Like after creating the Dimensional hierarchies we need to set the logical levels for the LTS of fact tabels ri8 .So what is the difference between setting logical levels to fact tabels and also Setting levelling on Dimension tables .
    Any kind of help is appreciated
    Thanks
    Xavier.
    Edited by: Xavier on Aug 4, 2011 10:50 AM

    I have read these blogs ,but what my question is
    Setting the logical levels in LTS of Fact tables i understood .
    But we can also set the logical levels for dimensions also ri8 .I didn't understand why do we set the logical levels for dimensions .Is there any reason why we go with the levelling at dimensions
    Thanks
    Xavier
    Edited by: Xavier on Aug 4, 2011 2:03 PM
    Edited by: Xavier on Aug 4, 2011 2:32 PM

Maybe you are looking for

  • How to Migrate the open transports in CTS+

    Hi Experts We are planning to implement CTS+ in our organisation, after implementing the CTS+ it's possible to migrate the open transports  in CTS+ Thanks & Regards Venkat

  • Repository Creation Utility "Init Repo Config" Endless Task

    Hi All, Unsure as to whether this forum is the best place for an RCU question.... anyways.. I'm trying to create the OID repo schema using rcu_win_11.1.1.2.0 against Oracle rdbms 11.1 on Windows 2008 Server sp1. Running rcuHome/bin/rcu.bat and comple

  • Block sender email address

    I am currently using Gmail and Yahoo mail. Is it possible to block my address as the sender?

  • Server Identity error downgrading to anonymous

    I have to applications Appl 1 is the real application Entitys, Statefull, and Stateless Appl 2 (connector) is a wrapper over the Stateless methods, that let users use arguments of type simple (Strings, int, double, etc...) When both applications are

  • The Regiment: OpenAL Supp

    Due to the fact that many people are having problems with this game crashing or hanging up with an event message regarding OpenAL wrapper, here are some instructions on how to run the game successfully: ) It is ovious that you must have installed the