Load Time Independant Object to Time Dependant Object

This is a common situation in a data warehousing environment were the time dependacy of an object (master data or Hierarchy) is not maintained in the source system but needs to be maintained in the DW system.
Lot other ETL tools automatically provide the SCD type-2 functionaly which automatically makes the previous record in the DW system as a old record and update the "SCD to-date" field either system date - 1(day or sec) and inserts a new record with "SCD From-Date" as system date when ever an attribute that we are tracking for "SCD type-2" changes value which is different from the value that is present in the DW.
Can we achieve the same in BW? Please let me know.

The 'to-date' of existing record is adjusted by BW when you are changing the attribute with a different  (or overlapping) 'from' date. Following is what SAP says in online help
"Master data must exist between the period of 01.01.1000 and 12.31.1000 in the database. When you create data, gaps are automatically filled. When you change or initially create master data, in some cases, you must adjust the validity periods of the adjoining records accordingly."
I think 12.31.1000 is a typo and it meant 12.31.9999.
You may follow this at http://help.sap.com/saphelp_nw04/helpdata/en/04/cce63736544d4de10000009b38f8cf/frameset.htm
It may not exactly be the same as what you describe in other ETL tools.

Similar Messages

  • Loading time-dependent master data using update rules/transformations

    Hi
    I am trying to load time-dependent master data to an infoobject. It seems that I get an error message on duplicate records if I use a transformation or update rule. Does this only work with direct update ?

    In the DTP you have the option to ignore duplicate records....
    Just select that and then load data...

  • Load time depends on index files

    Hi All,
    (on BSO)
    I read some where like if more index files exists the load time will be increase to search the rite combination to load data value. Is that correct ?
    I have restrcutred(level 0) the dense members and done the calculations So my index files become 3 after i have run general load on that database it took 1hr.
    I have done sparse restructure( all data) and noticed Index files become 2 and ran general load on that database it took 30 mins time.
    Let me know whether m correct or not.
    Sorry,m not good in explaning the things. :)
    Regards,
    Prabhas
    Edited by: Prabhas on Jun 13, 2012 9:21 PM

    You say you first load into a test cube, then export and use that to load into prod. Is the dimension order and dense/sparse configuration the same? Test cube is a copy of prod cube.so everything must be same.
    If your periods (or time) is dense, then loading a single month will still cause fragmentation as it has to read the blocks and rewrite them. I'm guessing things speed up after a restructure because you are getting rid of fragmentation. What you think is a sparse restructure is actually a dense restructure.Please note that We have "years" dimension as a sparse not dense dimension and i have done fragmentation during the maintainance..and loaded but takes much time than usual.But very next day i have added new sparse member and done alldata restructure and cleared the particular month data and loaded which completes faster than y'day load.

  • Loading Time Dependent attributes

    Ok, Im trying to figure out the best way to import time-dependent TO and FROM fields from a legacy system.  Obviously, the legacy system does not have these fields so I would like to generate them myself the best way possible.  The situation is that master data gets uploaded every day, and only 1 field in that master data is time-dependent (a marker field, 0 or 1, true or false).
    What dates should I generate whenever updating the TO and FROM field of that time-dependent field?  Would the TO field always contain 12.31.9999 and if so, what happens if the same key data row gets updated the following day, would I have to make a script to update that previous TO field so that it contains the new data row's date, and the FROM field of the new data row? Then, of course place 12.31.9999 in the new row's TO field?
    Is this the correct method, if so, that's alot of work to do for the transfer rules.  Doesn't SAP generate these TO and FROM fields as that time-dependent field is updated with a new value?
    Since this is not coming from SAP R/3, it gets kind of complicated.

    Hi,  You are on the right track.  All you should have to do is populate the from date with the current date and the to date with 12.31.9999.   The system will take care of the rest.  If after time you end up with many time dependant entries that have the same characteristic values you can resoganize the master data and again the system will rearrange the date ranges for you.
    Good Luck and please assign points if you feel this helps you out...
    Thanks,
    Ken Murray

  • Time Dependent Text

    Hello, how do I set up my flat file to load time dependent text object. I encounter DTP errors when I tried the flat file with just customer key and text but not the date to and from information. is it necessary to have these fields to load? Thanks for your time. As you can tell I am just starting in SAP universe.
    Suresh

    Hi,
    It depends upon the option which you have chosen.
    In the master data/text tab in the infoobject if you have chosen short text check box then it will show short text only and mapped it to the source in tranformation.
    The text for this inffobject is time dependent and values are determined by the  validity periods range date to and date from.
    For other infoobject you have chosen both the boxes and mapped them to the source fileds in transformation thats why it is showing both the text.
    Thanks
    Ajeet

  • Regarding performance issue in time dependent hierarchie.

    hai
    we are loading time dependent hierarchies from flatfile to bw,it is weekely load,we have nearly one million records loaded,we got an issues regarding change of these hierarchies timely.when ever there occurs a change in hierarchy a new row is added to the table,it is degrading the performance,can any one of you please suggest  how to over come performance related issues regarding time dependent hierarchies.
    Regards
    Srinivas.G

    hello deven,
    if you are only focusing on your application's performance
    on the aspect of usability i.e. less waiting time, fast
    response UI, i would personally suggest you to use AJAX.
    put some processing part on the browser side and making
    data retrieval from MI asynchronous... this way, your user
    don't have to wait for all data to be presented, but rather
    could work on the data presented in pieces (i.e. asynchronously).
    anyway try googling for AJAX...
    regards
    jo

  • Time dependent business partner master data !!!

    Hi All,
    In BI side i am loading master data for '0BPARTNER'.... lets assume there is one business partner 'DEVT01'...this business partner is assigned to a developer named 'Ankit'...after 3 months ankit finishes his developmet work....another developer comes and starts working using the same id i.e 'DEVT01'.... in the source system i changed the master data in tcode 'BP' for id 'DEVT01'  from 'ankit' to 'arun' i.e arun is the new developer but working on the same id....now when i load the master data for '0BPARTNER'..that earlier 'DEVT01' will now start showing in the report as arun .... but the end user the records of 3 months before when ankit has worked....the developer should be displayed as ankit ..... so in all the requirement is to load time dependent master data for 0BPARTNER.....is there any datasource which will give time dependent master data for '0BPARTNER'. ?
    Regards,
    Deadlocks

    Dear Nate,
    I would suggest you to have a look at this EES. Even if it doesn't address your question it might be useful.
    13.08.2007 - How to display the last four digits of a credit card
    How to add specific fields to the layout from tables that are not exposed by default
    This session will cover two Print Layout Designer (PLD) Topics.
    It will show how to encode a Credit Card Number to display the last 4 digits
    only and will also cover a tip of adding specific fields to the layout from tables
    that are not exposed by default.
    You can find it here:
    https://websmp109.sap-ag.de/~sapidb/011000358700000050892007E/
    Kind Regards,
    Marcella Rivi
    SAP Business One Forumes Team

  • Time dependent Hirarchy Structure

    Hi,
    I need to create Hirarchy, i did not create before,
    Please some one explaine me how to create     Time dependent Hirarchy Structure  in CostCenter InfoObject.
    Please, please help me.
    Thanks

    HI
    Find the below link
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/0e/fd4e3c97f6bb3ee10000000a114084/frameset.htm
    Time-Dependent Hierarchies  
    Use
    In a hierarchy that is not time dependent, the characteristic values are always the same.
    If you want to create views of a hierarchy that are valid for a specific time period, you need to create the entire hierarchy as time dependent.
    If you want to model relationships that change time-dependently, you need to create the hierarchy structure time-dependently.
    Functions
    In InfoObject maintenance, you can set whether and in which ways a hierarchy is time dependent. You can choose from the following:
    ·         whether the hierarchy is not time dependent (Hierarchy Not Time-Dependent). This is set by default.
    ·         whether the entire hierarchy is time dependent (Entire Hierarchy Time-Dependent).
    ·         whether individual node relationships are time dependent (Hierarchy Structure Time-Dependent)
    ·         whether a temporal hierarchy join is used with time-dependent hierarchy structures (Use Temporal Hierarchy Join)
    Entire Hierarchy is Time-Dependent
    You can either load time-dependent hierarchies (see Loading Time-Dependent Hierarchies) or create them in the BI system (see Creating a Hierarchy). When you create a time-dependent hierarchy, you have to enter a validity interval (valid to and valid from fields).
    If an entire hierarchy is time dependent, the system creates hierarchy versions that are valid for separate intervals. The system automatically uses the current valid version in this case. The hierarchy valid in each case can be uniquely identified by its technical name and the From-To Date.
    In the InfoObject tree of the Data Warehousing Workbench, all time-dependent hierarchies under the associated InfoObject are displayed with the corresponding To Date, for example  Time-Dependent Hierarchy 05/31/2000.
    In reporting, the system returns the valid hierarchy when a query is executed using the query key date.
    Within a restructuring company areas, you can create time-dependent versions of a hierarchy for the Main Area InfoObject. This enables you to compare the restructuring over different time periods in a query.
    Time-dependent hierarchy 01/01/1999 - 05/31/1999
    Time-Dependent Hierarchy 06/01/1999 - 12/31/1999
    Main Area NORTH
    Main Area NORTH
    Area 1
    Area 2
    Area 2
    Main Area SOUTH
    Main Area SOUTH
    Area 1
    Area 3
    Area 3
    Area 4
    Area 4
    In reporting, you can work in the individual columns of the report structure with fixed date values. You may want to do this to compare Main Area North in the Time-Dependent Hierarchy 05/31/2000 with Main Area North in the Time-Dependent Hierarchy 06/01/2000 (simulation).
    Time-Dependent Hierarchy Structures
    You can either load time-dependent hierarchies (see Loading Time-Dependent Hierarchies) or create them in the BI system (see Creating a Hierarchy).
    In hierarchy maintenance, you can determine a valid time interval for each hierarchy node (Valid to and Valid from fields).
    In reporting, a hierarchy with time-dependent hierarchy structures is created either for the current key date or for the key date defined for the query. In addition, you can evaluate a hierarchy historically using the temporal hierarchy join.
    You can assign an employee to different cost centers at different times within the context of a restructuring.
    In the context menu of a hierarchy, choose Display Hierarchy to access the hierarchy display: Each node and leaf has been given a date symbol. Hierarchy nodes that are assigned to different places in the hierarchy structure, depending on the time, are displayed more than once. By double clicking on a hierarchy node, you can display the associated validity period for the node relation.
    In the following example, you can double click on the Jones leaf to see that the worker Jones was assigned to region USA between 01/01/1999 and 05/31/1999 and Puerto Rico from 06/01/1999 to 12/31/1999.
    In order to use a hierarchy with a time-dependent hierarchy structure in reporting, you require the following settings in the BEx Query Designer:
                                a.      If you want to evaluate a hierarchy with a time-dependent hierarchy structure for a fixed key date, enter the key date in query definition.
                                b.      If you want to evaluate a hierarchy with a time-dependent hierarchy structure historically, for a key date that is to be derived from the data, choose the temporal hierarchy join option and specify the derivation type for the key date.
    For a more detailed description of the functions and differences between the two evaluation views, see Time-Dependent Hierarchy Structures in the Query.
    In maintenance of the key date derivation type (RSTHJTMAINT) determine the rule you want to use to determine the key date from the data. In this way you determine the time characteristic and way in which the key date is to be derived.
           1.      First determine the time characteristic.
    If you choose a Basic Time Characteristic as a time characteristic (for example, 0CALDAY, 0CALMONTH, 0FISCPER), you can use a key date derivation type of this kind for all InfoProviders that contain exactly one time characteristic that references the selected basic time characteristic. If there are several time characteristics in an InfoProvider that reference the basic time characteristic, you have to either determine the time characteristic more specifically or select a particular time characteristic from a particular InfoSet (Time Characteristic from InfoSet).
           2.      Determine how you want the key date to be derived from the time characteristic.
    The following derivation types are available:
    ¡        First day of the period
    ¡        Last day of the period
    ¡        Delay by number of days (you specify this in the Delay by Days field). In this case, the key date is calculated from the first day in the period plus the number of days specified minus 1. If the key date does not fall within the period, the last day of the period is used.
    Key date derivation type with (basic characteristic = 0CALMONTH, derivation type = u201Cfirst day of periodu201C):
    ·         For January 2005 the key date is calculated as 1/1/2005.
    ·         For February 2005 the key date is calculated as 2/1/2005.
    Key date derivation with (basic characteristic = 0FISCPER, derivation type = u201Cdelay by number of daysu201C and u201Ddelay u201C = 29):
    ·         For K4/01.2005 the key date is calculated as 1/29/2005.
    ·         For K4/02.2005 the key date is calculated as 2/28/2005.
    ·         For K4/03.2005 the key date is calculated as 3/29/2005.
    Note that the way in which you determine the key date derivation type affects performance. The number of data records that the OLAP processor reads corresponds to the level of detail on which the time characteristic and the leaf level lie. For this reason, choose the time characteristic as approximately as possible in order to keep the hierarchy small.
    A small hierarchy has 100 leaves. For a period of 12 months, the OLAP Processor reads 1200 data records at month level. At day level, it reads 36500 data records.
    Regards,
    kumar reddy.k
    Edited by: kumar reddy on Nov 18, 2008 10:50 AM

  • Movie loading time

    I am using Captivate 3. Is there a way to decrease the loading time for a movie when accessed from an LMS?

    The loading time depends on the size of your project and the speed of your internetconnection.
    The only real thing you can do to influence this is to make your final project smaller. Perhaps divide it into separate chunks because then the load time will be "distrubted" and not feel so long. You could also experiement with the quality settings in Captivate and reduce the project size that way. If you for example used "High Quality" on all your slides you could reduce the settings to optimized or jpeg.
    /Michael
    Click here to visit the www.captivate4.com blog

  • Load time

    What is the load time in a project?
    What is the calc time in a project?

    load time depends on many factors like how much data you are loading and your order of dimension in load file. you can know more about load time in optimizing the load data in DBAG.
    Same case with Calc time, as said before you can know about it in 'Using Simulated Calculations to Estimate Calculation Time' in DBAG.
    hope this helps

  • Error in master data load in time dependent info object

    hi,
    while loading master data(Texts) to time dependent info object i am getting error like      <b>"INFODEP1 : Data record 8 ('00000512 ') : Invalid "to" date '1-2-2004 '</b>     
    can anyone help where exactly is the error and how to remove it.
    Thanks
    Ashish

    hi,
      the date format should be yyyymmdd.
    regards
    pls assign points if helpful.

  • Time Dependent Info Object

    Hi All,
    I have an extractor that extracts data with DATEFROM and DATETO fo rthe time dependent HR employee related data for managers. But when it extracts into BI and loaded to Info Object the DATEFROM is not the same as what is extracted, it is 01/01/1000 instead of record specific.
    Any idea why it is showing like it is?
    Thanks,
    Alex.

    Beekay,
    You are right. But in my case I extract only 200 records with DATEFROM and DATETO as 12/10/2006 - 12/31/9999. So I should expect my extracted 200 records and the system generated 200 records. But I have only 200 records but all the DATEFROM fields are changed with 01/01/1000. My PSA and R3 extractors are having the actual real DATEFROM.
    Do you see where I have this issue?
    Thanks,
    Alex.

  • Extraction into Time dependent info object

    Dear all,
    In r/3 the field is time independent and want to extract the data into time dependent infoobject in bw.
    what is the procedure to do it.
    Regards,
    BPNR.

    Hi BPNR,
    You have two options:
    1. Make the info-object time independent and pull the data from R/3.
    2. Hard code the Date to and Date from fields in the infopackage to extreme values say 01/01/1900 to 31/12/9999 and extract the data from R/3.
    Hope this helps.

  • Query on Time Dependent Info object

    Hi ,
    I am trying to create a query out of a time dependent info object.The info object is 0employee and since it is time dependent it has the date from and date to automatically in the infoobject master data. However these fields do not come up as characteristics when a create a query out of this infoobject.
    Can you please let me know why or am I missing something ? I know I can get it if i use it in a cube or DSO but i want to create from this infoobject. Please help.
    Thanks ,
    Regards
    Ashwin G

    Hi
    0employee_attr datasource have start and end date is mapped 1:1. target is 0employee? but when i check at 0employee attribute tab i have seen any start  and end date attributes.
    If you have it in attr u should be able to assign as read from master data.
    Otherwise routine will be
    SELECT STARTDATE from /BI0/MEMPLOYEE where employee = source_fields-employee.
    for start date and
    SELECT ENDDATE from /BI0/MEMPLOYEE where employee = source_fields-employee.
    for enddate
    Reagards,
    Nagaraju.V

  • Info object with time dependency

    Hi Experts,
    we have an info object (ZTEST) defined as time dependent with master data. ZTEST has several attributes (ATTR_1, ATTR_2).
    Now I turned on one of the attribute (ATTR_1) to Navigation Attribute. The idea is to use this navigation attribute in the query, in order to avoid enhancement in the cube.
    My question: could it be working? does it make sense? if yes, what should I pay attention to?
    thanks for your feedback.
    Sally

    Hi
    Of cause this will work fine.
    After making infoobject available as navigational attribute, don`t forget that you have to choose
    a validation date.
    Therefore you can use a variable in query. (in query properties)
    Otherwise, if there is no variabel, the actual date will always be choosen.
    regards
    Tom

  • Effect from build time dependent  2 attribute in info object master data

    Dear all,
    i creat time dependent  2 attributes in info object master data (ZCURRLUM) which use in info cube. after that i open workbook or query, it has short dump which error message
       "UNCAUGHT_EXCEPTION" "CX_RSR_X_MESSAGE"
       "CL_RSBOLAP_BICS_SERVICES======CP" or "CL_RSBOLAP_BICS_SERVICES======CM003"
       "HANDLE_UNCAUGHT_EXCEPTION"
    Question: info object master data can't use more than a attribute time dependent???
    i use in BI 7.0 level 14
    thanks for your help
    regards,
    Joy

    Hi Chandamita Sarmah,
    I copy error code to you from line 1 to line 28
    METHOD handle_uncaught_exception.
      data:
        l_r_program_error  TYPE REF TO cx_rsbolap_program_error.
      data: lBExDebug type rs_bool.
      GET PARAMETER ID 'BEXDEBUG' FIELD lBExDebug.
      if lBExDebug = rs_c_true or CL_RSTT_TRACE=>GET_TRACEMODE_CURRENT_TRACE( ) = rstt0_c_tracem
    Break-point for debugging, e.g. during running a trace
        break-point.  "#EC NOBREAK
      endif.
    Subcall?
      if P_RFC_CALL_DEPTH > 1.
      Forward the exception
        subtract 1 from P_RFC_CALL_DEPTH.
        DATA: l_r_x TYPE REF TO cx_no_check.
        TRY.
           l_r_x ?= i_r_exception.
          CATCH cx_root.
            CLEAR l_r_x.
        ENDTRY.
        IF l_r_x IS INITIAL.
          RAISE EXCEPTION TYPE cx_rsr_propagate_x
            EXPORTING
              previous = i_r_exception.
        ELSE.
        RAISE EXCEPTION l_r_x.
        ENDIF.
      endif.
    All exceptions should have been caugth -> X-Message
    Thanks a lot for your help
    Joy

Maybe you are looking for

  • ITunes does not open in Windows 7

    I am running Windows 7 64 bit Professional on a new HP workstation. Have transferred everything, including user accounts, music libraries and iTunes from an older HP PC (motherboard died!). For several days iTunes opened with no problem, but has now

  • Instruments in Logic Pro 9 Library will not load: I try to add a new instrument on a project and get a "cannot be found" error.

    Ladies and Gentlemen, As a faculty member in the School of Music, I have just acquired a copy of Logic Pro 9.1.8 through my University. The programs and instrument packs were installed by our IT department and show as being fully installed on Logic P

  • Data Merge then Split Documents

    Hey everyone, I'm using InDesign and Data Merge to create business cards for our printer, but we of course have the recepients proof them first. I was wondering if there was a way where after the Data Merge, I could separate every 2 pages into their

  • Button not disabling using Java Script after confirm message in button

    I have a STAGEDATA button on a form with the following code to prevent Resubmissions (Apex 4.0) Action When Button Clicked: Action: Redirect to URL Execute Validations: Yes URL Target: javascript:if ( apex.confirm('Have you saved the data on the curr

  • Retriving .doc and .rtf files in soap attachments

    Please help me I'm using JAXM to retrive soap attachments When i retrive txt files (.txt) it retrivs the content of the document without any problem but when i try to retrive .doc or rtf it gives content as java.io.FileInputStream@587c94 (retrive att