Getting latest record from time dependent data in DSO

Hi folks,
I have a standard DSO that is built on top off a time-dependent object.  Users don't need the daily history and the last entry of the month will suffice so we are only going to have 1 record per month at the most for the object. The standard dso object key thus contains the infoobject key and Calendar month which is derived from the 'From Date' of the infoobject.
The users will running queries on this dso based on the Calendar month. So for the months, where record is available - it is a simple query. But get te data for the month where data is not available.
Example:
Key           Month
123           Jan 2014
123           Jun 2014
So when the user runs the report for either of Feb/Mar/Apr/May 2014, the Jan 2014 record should show up.
For anything June 2014 onwards, the Jun 2014 record should show up.
Thanks for your suggestions!

To month should be a part of data fields lets understand the behavior roughly with the above quoted example.
Initial load to dso :
123           Jan 2014        Dec 9999
now change happens in master data new data record created with the to date fixed to 31.12.9999 and old record to date less than the from value of new record.Correct!
Next load from master data to DSO.
123           Jan 2014        May 2014
123           Jun 2014        Dec 9999
So what happened in this case that based on the employee and To month as key first record will get overwritten and new record will be appended as well.
And rest you can handle at BEx level.
Hope this works.
Regards,
AL

Similar Messages

  • 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.

  • Master data records for time dependant data

    Hi
    In R/3. say master data has 1500 records. In BW, while loading this, i get the same number of records in monitor.
    But when i check the maintain master data for this info object, I find each row being duplicated. The difference being the valid to and valid from date. The info object is time dependant.
    So my question is: this adjustment done...is it ok continuing forward or do we change something now so that i dont see duplicate rows?
    Thanks in advance
    AR

    hi,
    everything is ok here (I assume you have timeframes for e.g.: 01.01.1000 - 27.12.2005 and 28.12.2005 - 31.12.9999).
    If you are working on developement system now - change something time-dependent in your master data tommorow (in your source system) and extract delta. Two new periods will be created and you will have 3 records, e.g.: 01.01.1000 - 27.12.2005 , 28.12.2005 - 28.12.2005 and 29.12.2005 - 31.12.9999.
    Regards,
    Andrzej

  • Infopackage time dependant data fixed time interval

    Hi,
    I have issue with infopackage. When I tried to load the master data attribute itu2019s not loading the changed data.When I checked the infopackage it has update tab and in this time dependant data section,it was marked as fixed time interval.The changed data in R/3 actually falls under the interval what was entered in the fixed time interval period.But it was not extracted.
    I found that if we enter the exact specific dates interval in the fixed time interval,it fetches data.But we canu2019t enter each dates interval for all changed data in R/3. It needs to fetch all the data.When I try to remove the fixed time interval,it is not allowing as it is mandatory field.
    Please suggest me how to fetch all the records for time dependant data.I tried other options like routine and variables.But it doesnu2019t work and it is fetching data only if we enter the exact dates interval.
    Regards,
    Ramana

    There is nothing to do with PL/SQL.
    You can refer below links:
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96524/c12parti.htm
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10739/partiti.htm#i1006727

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • Time dependent data load to BW using Fixed Time Interval selection

    Hi,
    I'm facing a problem in extracting time-dependent master data to BW. I would really appreciate if anyone can help in this regard.
    We have a table in R/3 which has time-dependent data. For example, for a single OBJID we could have multiple records with different BEGDA/ENDDA and different attributes. When we try to load this data into BW InfoObject, we see a time-dependent data selection in update tab of infopackage. We need to select BEGDA/ENDDA in datasource since otherwise during loads we would get a "DUPLICATE RECORDS" load error in BW.
    The problem is when we enter a Fixed-time interval Start Data and End Date in the InfoPackage, only the records with that StartDate and EndDate are loaded. Ideally I would want to see all the records whose BEGDA/ENDDA falls in the range of StartDate and EndDate.
    I tried modifying the ROOSFIELD table for the data source. I made the BEGDA SELOPTS as GE(16) and ENNDA SELOPTS as LE(64). But still it doesn't seem to work. I checked if the change to ROOSFIELD has any affect in RSA3. Unless we give a range for BEGDA it doesn't seem to behave as expected. Could someone let me know how I can load all records to BW whose BEGDA/ENDDA fall in the range of StarteDate and EndDate.
    Thanks,
    Anil.

    Anil,
    If you are using a custom dataSource, make sure the dataSource fields for begda and ennda are labeled "datefrom" and "dateto".
    Cheers,
    T-

  • Time-Dependent Data in InfoPackage

    Hi, Experts,
    I tried to load CO Master Data from R/3, I got some issues as follow:
    1. In the InfoPackage creating, what is the meaning of Time-Dependent Data, How can I know what are the properly value range I should entry.
    2. After I excuted the Infopackage, I got red color in Monitor, I checked the PSA, some of the data's status were green, some were red which the system said that the records time overlapped, but I couldn't verify this is true anymore. Could you please give me some idea?
    By the way , does any body have the documents associated with BW-SD including extraction, Business Content and query design. Thanks a lot

    Hi Ryan,
    Time-dependent data means data varies from time to time. For example one employee may work in US from Aug - Feb and in Canada from Mar - Jul. Then to maintain such data you have to declare them as time-dependent.
    Time-dependent data has date-from and date-to fields. In your case the date-from and date-to have multiple entries thats the reason for the error.
    Bye
    Dinesh

  • Restriction of Time-dependent data (Cost Center) according to a specific role

    Dear experts,
    Has some one of you implemented a functionality to restrict Time-dependent data (for example, Cost Center) edition, according to a specific role assigned to an End user?
    I imagine it is possible, but we should develop an User-exit in order to get this goal.
    Let your comments here if possible, so that I can argue with my End user. I will try to give you points if you help me with this query.
    Thanks & Kind Regards,
    Daniel.

    Hello All!
    We have talked to Authorizations specialist and he indicated a customizing transaction in FI-AA module called ANSICHT (IMG -> Financial Accounting -> Asset Accounting -> Preparing for Production Startup -> Authorization Management -> Process Asset Views). In this customizing, it is possible to edit an existing asset view and turn on/off fields according to the company needs.
    Afterwards, you should request some adjustment in the roles that contain the A_A_VIEW authorization object.
    I am considering this question as "assumed answered'.
    Regards,
    Daniel

  • Getting last record from mseg

    Hi,
    Can any one tell me how to get last record from any db(MSEG) table?
    reward guaranteed
    kaki

    Hello,
    Entries have no "natural order" within a database, apart from the primary key. If you need the "last entry" then you need to know what defines the last entry. If the last entry is the one with the highest year (MJAHR) the you could select it like this:
    data: ls_mseg type mseg.
    select * from mseg into ls_mseg.
        where bwart = 321
          and ebeln = 400000005
          and mjahr = ( select max( mjahr ) from mseg
                          where bwart = 321
                            and ebeln = 400000005 ).
    "process result in ls_mseg
    endselect.
    Note: This is a loop because there might be more than one matching entry.
    best regards
    Roland

  • How get all record from master and matching record from detail

    hi master
    sir i have master detail table
    i have many record in master table but some record in detail table how i get
    all record from master and matching record from detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m, detail d where m.accid=d.accid
    this query not work that get only related record i need all record from master
    please give me idea
    thanking you
    aamir

    hi master
    sir i have master detail table
    i have many record in master table but some record in
    detail table how i get
    all record from master and matching record from
    detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m,
    detail d where m.accid=d.accid
    this query not work that get only related record i
    need all record from master
    please give me idea
    thanking you
    aamir
    select m.accid,m.title,d.dr,d.cr
    from master m, detail d
    where m.accid=d.accid (+)The outer join operator (+) will get you all the details from master and any details from the detail if they exist, but the master details will still be got even if there are not details.
    Note: Oracle 10g now supports ANSI standard outer joins as in:
    select m.accid,m.title,d.dr,d.cr
    from master m LEFT OUTER JOIN detail d on m.accid=d.accid

  • Help needed to get unique record from an internal table

    Hi Everybody,
    I have to get unique record from an internal table. i know we can use read statement with key condition .
    But the problem is i have to use some relational operators like GE or LE.
    eg
    read table itab into wa with key width GE itab-widthfrom
                                                       width LE itab-widthto
                                                       machno eq itab-machno.
    Its giving me error when I use the operators GE , LE.( I think since it can't find a unique record with those relational
    operators in the with key statement)
    Is there any other way to get unique record from internal table without using the loop?
    Thanks,
    Sunny

    Using the read statement you will need some kind of loop. For example.
    DO.
    READ TABLE......
      WITH KEY ......
                        READ = SPACE
    IF SY-SUBRC EQ 0
      TABLE-READ = 'X'.
      MODIFY TABLE
      ADD 1 TO W_FOUND.
    ELSE
      EXIT.
    ENDIF
    ENDDO.
    IF W_FOUND EQ 1.
    ...record is unique.
    ENDIF.

  • HT1600 I have an apple tv  about two years old. Bought for a present and they never took it. I tried to hook it up cut it get stuck on setting time and date. Any help?

    I have an apple tv  about two years old. Bought for a present and they never took it. I tried to hook it up cut it get stuck on setting time and date. Any help?

    If you can view the main home screen, try selecting "settings" on the far right, then choose recent at the bottom. If not, try just unplugging power for a few minutes, then plug in and try again. Keep in mind you'll need a wireless connection and there may be several updates. Hope this helps-

  • Moving time-dependant data from one table to another (archiving)

    Hello all
    I would like to know if there's an easier solution or a "best practice" to move data from one table to another. The context of this issue can be found within "archiving".
    More concretely: we have an application that uses several tables to log information to.
    These tables are growing like crazy, and we would like to keep only "relevant" data in those tables, so I was thinking about moving data from these tables that have been in there for, say 2 months, to "archiving" tables.
    I figured there must be some kind of "best practice" to get this done.
    I have already written a procedure that loops the table that has the time indicator and inserts the records from the normal tables into the archive tables (and afterwards delete this data), but it seems to be taking ages to get it done.
    Thanks in advance!
    Message was edited by:
    timschraepen

    There is nothing to do with PL/SQL.
    You can refer below links:
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96524/c12parti.htm
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10739/partiti.htm#i1006727

  • What is the Method to get record from DB as Date fornat??

    Halo, i want to know what is the method to get the data from database which is store it in date format.
    Previously, i am using the getDate() to get the data together with the while (rs.next() ) method after using the "select" statement to get the data from data base.
    Here is the example when i retrieve record from database:
    java.util.Date date1 = new java.util.Date();
    String getRecord = "SELECT * FROM employee "
    ResultSet rs = db. execSQL(getRecord);
    while(rs.next() ){
    String name = rs.getString("name");
    date1 = rs.getDate("date");
    }notes: method getDate() had deprecated since JDK version 1.1.
    So, i need to know what is the method to get the date record??
    Thank you.....

    Halo, ...Yeah, Halo! Love that game...
    Um, use getDate(). ResultSet.getDate() is not deprecated. If you think so, then you better go reread the API docs, cuz you're reading the wrong ones.

  • 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

Maybe you are looking for

  • Loops and system timestamp not synchronized

    Running Labview 8.6.1 on Windows 2000, loops and system timestamp (Windows clock) seem to use different time bases; one second in a loop is not exactly as long as a second in system time. If i run a simple VI as in picture, with a 1-second loop which

  • HP Officejet Pro 8000 - Press Print - wait 2 minutes and 30 seconds before printing

    I have a new Officejet Pro 8000 non-networked printer. When I hit the print button, it does a very long initialization process that takes exactly 2 minutes and 30 seconds before I can print anything. I find this delay very annoying. I thought the pri

  • Opening a dir & showing files inside

    Is there any way, any method, to open a dir in a window and show, in this window, its content, such as I'd clicked on this directory ? I've preferred an O.S. independent way, but it's not so important. Thz

  • Process types and Sales Transactions not Sync with SM2.5

    Hi Experts, 1) We have custom process types for leads, opt and quotations etc.. but the TYPES option is not activated or greyed out when creating any sales transactions from app SM 2.5. Please help on this. 2) With our accounts as a relationships, le

  • Digitally signing an AIR file

    This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html