Adding new records from time dependent master data

Hi,
i need to keep track of asset movements between costcenters. currently we using costcenter hierarchy, which is not time dependent. But i can see asset movement from one cost center to another in asset master data. if i access costcenter from asset master data report is giving wrong values, because its reading last value of the costcenter. i am using 0FIAA_C11 AND 0FIAA_C12, I need to populate extra record for that asset when it moves one cost center to another cost center, if it moved in 2nd period of current fiscal year, i need to populate two records for that specific fiscal year.
any suggestion or solution.
regards
raja

If you make cost center a time dependent attribute of 0ASSET you will be able to track the changes undergone by an asset.  Anytime a costcenter changes for the asset there will be a new record that will be created and the old one will be delimited.

Similar Messages

  • Combining records for time dependent master data

    Good Day,
    We have a characteristic with turned on time dependency for master data.
    Bringing in data from the source generated a number of entries for the master data.
    Here is an example:
    Line 1: [Date 1] - [Date 2]
    Line 2: [Date 2] - [Date 3]
    Line n: [Date x] - [Date y]
    Any thoughts on how we can converge/aggregate Line 1 through Line n for the history, so that we have
    Line 1: [Date 1] - [Date y]...
    and then, going forward we can, use time dependency for any changes to master data that might come up.
    Thank You for your input,
    Dmitriy

    Hi Dmitriy,
    As far as I know, it is not possible, unless you delete the master data and reload.
    I don't think you will be able to delete the master data at this stage, because it will not possible to delete the master data without deleting the transaction data.
    Thanks,
    Krishnan

  • Modify code to pull the time dependent master data

    I fully under stand the suggestion below for the requirement to add the time dependent attribute comp code
    thanks fo rthe help but please tell me if there is a way i can modify the abap code and make the user enter the value for the date on which he want to pull th emaster data for company code or keydate to and from and pull the master data, so how will i proceede should i create the variable on 0doc_date and how to modify the code. please help . i have opened another question with same desc as above to assign points
    thanks
    soniya
    The literal within <..> is supposed to be replaced by the actual field name (as I didn't know the fields). In this case, I am changing your code for costcenter/company-code.
    data : wa like /bi0/qcostcenter.
    select single * from /bi0/qcostcenter into wa
    where costcenter = comm_structure-costcenter
    and objvers = 'A'
    and datefrom le comm_structure-<keydatefield>
    and dateto ge comm_structure-<keydatefield>.
    if sy-subrc = 0.
    result = wa-comp_code.
    endif.
    abort = 0.
    You can use this code for update rule of company_code. You have to replace '<keydatefield>' with a field name that contains the date on which the company is to be derived. If there is a date in your comm_structure (eg aedat) which you can use, you can specify that field in place of this literal (instead of comm_structure-<keydatefld> use comm_structure-aedat). If you have no such field, and you wish to use current date for getting the company code from time-dependent master data, you can use sy-datum (ie replace comm_strucutre-<keydatefld> with sy-datum).
    And it should work.
    The 'master data attribute' option is one of the options when you create update rule (one of the radio button options).

    That the code is doing anyway.
    If your txn data in the cube doesn't have a date, how does it know it is Feb data, or, it is March data?
    If it has a date or month field, you should modify and use this code to update the company based on that date instead of system date.
    Other than that minor variation, it is already doing what you look for.

  • Changing time dependent master data records

    Hello All,
    I have a time dependent master data infoobject that has 39 million entries.
    Now we decided that we no longer need it time dependent.
    Hence we want to maintain constant value ( 01.01.1000 to 31.12.9999) going forward.(as changing the object's time dependency will have huge impact)
    But for the historical data, we want to fix this and maintain only one record per value which will be the last record.
    Can you please provide inputs on how this can be achieved as i tried various combinations of load( load to a copy object taking only last record, changing its valid to to 01.01.1000 and loading back) and its not working.
    e.g the value XXX has following entries currently:
    Object
    Valid To
    Valid From
    XXX
    15.06.2007
    01.01.1000
    XXX
    19.09.2007
    16.06.2007
    XXX
    28.01.2008
    20.09.2007
    XXX
    30.03.2009
    29.01.2008
    XXX
    31.03.2009
    31.03.2009
    XXX
    15.04.2009
    01.04.2009
    XXX
    31.12.9999
    16.04.2009
    we need to get to the below format:
    Object
    Valid To
    Valid From
    XXX
    31.12.9999
    01.01.1000

    Hi Dhanya,
             The approach u did (load to a copy object taking only last record, changing its valid to to 01.01.1000 and loading back) will not work on Master data because it is not a DSO, with the Proper keys in place, to overwrite all the previously existing data records. This approach will only work if the infoobject is not time dependent and in that case the question u posed will not arise at all .
    SOLUTION:
    One thing is Inevitable as Prashanth has prescribed, u have to delete the transaction data first at all the places, where and all it was used.
    Then just delete the entire master data from the info object and just do a FULL DTP load from the underlying datasource putting a FILTER like "VALID_TO = 31.12.9999" so that only the last record of a particular Value will be loaded. (No need to do a full load from the source because even in the source it might had been the same old Values and might not have been revamped.)
             Even for further delta's, it will be safer to maintain this filter at the DTP level if u r not sure of the  constant value maintenance at the source.
    Thanks & Regards
    Sasidhar

  • Data not uploading in Time dependent Master data Infoobject

    Hello All,
    I have a master data infoobject for HR entity and have to load data from PSA to that info object.
    The HR entity infoobject already have sone data like below:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    01.07.2013
    31.12.9999
    x
    A
    19.04.2013
    30.06.2013
    x
    A
    01.09.2012
    18.04.2013
    x
    A
    01.01.2012
    31.08.2012
    x
    A
    01.01.1000
    31.12.2011
    Now the data in PSA is as follows:
    HR Entity
    Start Date
    End Date
    X
    01.01.2012
    18.12.2013
    Once I loaded this data to the infoobject, i can not see this value which is the latest value of this HR entity.
    Can somebody please explain how the data gets loaded in the time dependent master data infoobject and why this entry is not getting loaded in the info object.
    Regards
    RK

    Hi,
    did you activate master data after your load?
    You can check also version 'M' records and see if your record is there.
    The load went green?
    The problem is, that your entry overlaps all exisitng time intervals, which can't be deleted or merged as there may be dependent transactional data. You have first to delete the transactional data for this entity.
    Then you can delete the time-dependent data and reoload it from your PSA.
    BW will build then correct time intervals.
    The easiest is to change the time interval in PSA, see example below:
    At the moment the time interval is not accepted. But you can add time intervalls before 31.12.2011 and after 01.07.2013, Then system will create remaiing time intervals, e.g. your new record is:
    HR Entity
    Start Date
    End Date
    X
    01.08.2013
    18.12.2013
    Result will be:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    19.12.2013
    31.12.9999
    x
    A
    01.08.2013
    18.12.2013
    x
    A
    01.07.2013
    31.07.2013
    Regards, Jürgen

  • Time Dependency Master Data Load

    Hi:
    This is my first time to work on time dependency master data. I need help!
    I first deleted master data and cleaned up the PSA for material sales.
    Then I have turned on the feature of time dependent on the info object for material sales. Save it and activated the object.
    Then i have problems by loading the master sales attribute data in PSA. The error is: on every record of material, it has "invalid 'to' date '00/00/0000'" and "invalid 'from' data '00/00/0000'".
    Is every process i did wrong? What is the process to work on time dependent master data? and loading the data?
    Thank you!!

    Hi,
    After turning on the time dependence...you get an extra field in the key of the master data table Q table date to and a new field date from as a new field.
    These two fields needs to be mapped to date to and date from R/3 source as well.
    If there is no source field for these two then you need to make sure to get the values for these fields.
    Just check if you are getting any field like that from R/3...right now i think you have left the mappings for these fields as blank.
    Thanks
    Ajeet

  • Reporting on Time Dependent Master Date Info Provider

    Dear All.
    We have a info object Employee which is time dependent master data containing all the information with time dependency, when i create the query over this info object it give me the option to select the key date and it show the accurate information which is lying according to the key date.
    my requirement is to show all the records in the report which are there in master data but i am not able to show more then one record cause of the key date, can you please let me know how can i show all the records for any given employee id in the query.

    Hello Zeeshan,
    By standard if you create query directly on time dependent info object, it would display the active records as of the report execution (if no key date has been provided). In any case you can only see one record per the info object key, not the history.
    In order to fulfill this requirement, you may need to create infoset on this infoobject and select "date from" and "date to" as part of infoset fields.
    Then create bex query on the infoset and drag the "date from" and "date to" also into "rows" section of the query (apart from infoobject key, time dependent attributes). This will let you see the history of changes to time-dependent attributes of the infoobject.
    Cheers,
    Vasu

  • Reporting Need on Time-Dependent Master Data

    Hi Gurus, I have asked this question earlier as well but I did not got satisfactory answer so I thought I should open another thread.
    I have this time-dependent Master data infoobject. I see that from the 2 extra fields are added DATETO and DATEFROM. I see in the transfer structure that theyare mapped to ENDDA and BEGDA from an R/3 table.
    At the reporting level, the InfoProvider doesn't show these 2 fields. I wanted to see how I can make them show up in the InfoProvider so that I can create report using them. Please help me out on this one. Please let me know if I need to clarify this more.
    Thnx.

    Hi Bigtoja,
        Immediately I can suggest 2 options ...
    1. Have these two fields as attributes of the info object ... this will make them appear on the info provider.
    2. Have an infoset built on it which will act as an info provider.
      Adn as far as your question goes ... What I am trying to figure out is ... does making an info object as an info provider exposes only the P table ... since P table will not have Date To and Date From? I will have to research as well ...
    Best regards,
    Kazmi

  • Delete Time dependent Master Data

    Hi Experts,
    I have a Time dependent Master Data for 0EMPLOYEE, now I wish to delete only one historical line item from the master data and not the whole data with respect to a Given Employee Number.
    Is it possible? Please provide the steps.

    Hi,
    To make my problem more clear.. please refer to the data below
    0employee     Dateto     Date From
    ABC     01.01.2010     31.12.2009
    ABC     02.10.2009     30.12.2009
    ABC     05.05.2009     01.10.2009
    now I wish to delete the following record only.
    ABC     02.10.2009     30.12.2009
    When trying and selecting only the line item it does not allow as ABC is the key and is present in SID table and have transactional data.
    Please advice how to proceed with deletion of the incorrect record as this was mistakenly created in master data itself.
    Thanks,
    Karan

  • Activate time dependent master data

    Hello,
    we're experiencing problems in activating time dependent master data.
    We're using 0UCINSTALLA infoobject, in the P table all records have objvers = A, but in the Q table there are only a few A records, the most of them have objvers = M and changed = I.
    So, how can we activate those records?
    Thanks,
    Tudor

    hi David,
      I am having the same problem activating the 0mat_plant...
    It is says that the object status is inactive & try to activate it...
    The steps I did was....
    Hi All,
    I am adding a navigational attribute to 0mat_plant...
    & after that when I am activating 0mat_plant, it throws an error as follows:
    *Diagnosis:*Errors arose when activating InfoObject 0MAT_PLANT. An active version already existed before the activation.
    _System Response:_InfoObject 0MAT_PLANT could not be reset to the old active version. Since the generated objects no longer correspond to the old active version, they were reset to inactive.
    *Procedure:*The old active version of InfoObject 0MAT_PLANT can no longer be used. Remove the cause of the activation error and activate InfoObject 0MAT_PLANT anew.
    Pls help me with this issue ASAP...
    Thanks

  • 0CALDAY for time dependent master data lookup unknown when migrated to 7.0

    I am in the process of migrating a number of InfoProviders from the 3.x Business Content to the new methodology for BI 2004s.
    When I try to create a transformation from the Update Rules for 0PA_C01, all of the rules that use a master data lookup into 0EMPLOYEE give me the error such as "Rule 41 (target field: 0PERSON group: Standard Group): Time char. 0CALDAY in rule unknown". 
    How do I fix the transformation rule that is generated from the update rule for these time-dependent master data attributes?

    Hi Mark,
    look at http://www.service.sap.com/. I guess you need to implement some corrections or newer supp-packages.
    kind regards
    Siggi
    PS: take a look: https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=941525&_NLANG=EN
    Message was edited by:
            Siegfried Szameitat

  • Loading of time dependent master data

    Hello Experts,
    Please explain how to load the time dependent master data
    I have to load 0PERSON now my question is how the mapping of startdate and endate (of R/3 tables) is done which the dateto and datefrom fields of 0PERSON(in BI)
    Is it a direct mapping ?

    Hi Dinesh
    I have used division as an attr of 0PERSON and my current scenario is like
    in R/3 i have records like
    salesemp -
    startdate -
    enddate -
    division
    101----
    05.05.2006 -
    14.10.2007 -
    32
    101----
    15.10.2007 -
    31.12.9999 -
    34
    But when i loaded the 0PERSON
    after the change to division 34
    what i cud c in the master data is  lik
    salesemp -
    Valid from -
    To----
    Division
    101--27.06.200818.07.2008--34
    101--19.07.200831.12.9999--34
    When i loaded the data in infopackage the update tab has the following Time interval start date 19.07.2008 and end date 31.12.9999
    Now i really very much confused with this output.
    Can nyone explain me where i m wrong?

  • DSO as a time dependent Master Data infoprovider

    Hi All
    I am looking for a "How To" document on how to use a DSO as a time dependent MD provider.
    I want to load a non time dependent Master Data from a non SAP source and update the DSO daily.
    When ever an attribute is changing, I want to update the last status "To Date" from 31.12.9999 to today.
    Hope I am clear on this one.
    I don't want to use regular master data capabilities...
    Thanks, Dror

    Jurgen is right...
    For an after image based extractor containing the latest view of the world - you basically can do this
    DSO 1
    Customer - Key
    Sales Persion
    Date to
    Date From
    last_date =  31.12.9999 (constant)
    load date = sy-datum
    First load:
    customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010
    Second load a week later
    customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010
    Change log generated is
    customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010 record mode before image
    customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010 record mode after image
    What you can do now is feed master data timedependant object or another dso.
    If it is another DSO then the structure is this
    DSO 2
    Customer - Key
    Date from - Key
    Sales Persion
    Date to
    You need the date_from as part of the key because you are going to use the overwrite facility to play with the data depending on the record mode of the changelog entries
    but in the start routine make sure the semantic keys are correct so you get both images in the same packet
    Then use field symbols to load the data package in to sort and then find the opposing after image and before image then
    if record mode = before image
        To date = from date from after image MIINUS 1 day
    endif
    Then the data going out of the start routine is this
    customer A, Sales Person X, To Date = 18.03.2010 , from date = 12.03.2010 record mode before image
    customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010 record mode after image
    And the records stored will be this
    After initial load
    customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010
    After next weeks load
    customer A, Sales Person X, To Date = 18.03.2010 , from date = 12.03.2010
    customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010
    Or something like that - but you get the idea.. and yes I have done it before

  • Problem with Time dependent master data

    Dear All,
    I have 0PERSON master data infoobject. It is getting records extracted from backend R3 and from a different datasource called 'Peoplesoft'. It has a field 'Date of Birth'. Point of concern here is - whether a particular employee is present in Peoplesoft or in R3, his date of birth is constant. Unfortunately someone hs made 'Date of Birth' as a time dependent attribute of the InfoObject 0PERSON.
    We extract data from Peoplesoft from 01.01.1900 to 31.07.2005. From 01.08.2005 onwards, data is getting extracted from R3.There are some employees which are present in Peoplesoft but they are not in R3.
    Problem is occuring when the user is reporting on a relevant Infocube containing this 0PERSON infoobject. He does not see the value for this 'Date of Birth' field for certain employees. The reason for this is that the 'Date of Birth' field is blank in the interval 01.08.2005 - 31.12.9999 as this employee was absent in R3 and hence no record/s got extracted.
    To view this value in the report - Please suggest me a possible remedy. I thought to write a routine but I dont think it is advisable to change a time dependent master data.
    Thanks,
    Srinivas

    Hi,
    There are two ways of solving your issue.
    - Remove the time dependent check box for 0person, delete the transactional data, load the master data again and reload the transactional data.
    - Write a program to extend the 'Date to' value to 31.12.9999 for all employees.
    Ravi

  • Time dependant Master data load fail (Invalid time interval)

    Hi,
    I have IO 0HRPOSITION which is time dependant master data.
    When I load master data I have maintained from date 01.03.2007 to end date 01.12.999 in scheduler.
    But there are some positions records in HR system which have from date less than 01.03.2007 and because of that master data load is failing everyday.
    How I can load only those records which fall in-between from date 01.03.2007 to end date 01.12.999???
    Thanks
    Pramod

    Hi Pramod,
    I think you can put a selection in the Infopackage.
    Thanks

Maybe you are looking for

  • After downloading an exe file, I can't double click to run it or right click to open/open in container. It does't show up in the download folder either.

    Helping a friend. After clicking "Save", the exe shows up in the Download manager, but you can't click on it to run it or right click to either open/open in folder (both are grayed out). If you look into the download folder, there's nothing there.

  • ScreenCapture in RoboHelp 7?

    I recently had RH7 installed and would like to use the ScreenCapture capability built into the app, however I can't seem to find where I 'turn it on' to use it. I've look in all of the drop down menus. Any assistance is appreciated -- Jim

  • Iphone not working with windows 8

    Hi all I have just bought a new laptop and updated to windows 8.1 and iTunes. The problem I have is that when I connect mine or any other iphone via usb it keeps constantly beeping and toggling between showing as plugged in or not plugged in, so obvi

  • Another delivery/installation disaster!

    Incident: Dec. 10-23, 2013 We had picked out a dishwasher  - an LG LDS 5040ST - that would fit the slightly too small space in our kitchen and found that Best Buy online had a great sale price. But because we wanted their installation service as well

  • Generic report query that will work against common table ..

    Context We have a custom audit log scheme that inserts all table changes into a backing table via triggers. For example, an insert into table ORDER would cause a insert into ORDER_AUD. Problem We want to build a generic report query that will work ag