Master data time dependant attribute in query for several dates

Hello all,
I need to create a query to display prices for a material in different periods. 
The user will enter a period interval.  For each period, they want to know the material price the last day of that period.
Material price is a time-dependat attribute of material, and I created one formula variable to display it. The problem is the using the key-date of the query only works for a date, but not for severals.
Is there any other way to do it?
If not, the only solution I find is to have in the infoprovider the prices that I need, but I don't think this is a good practice.
Any suggestions?
Thanks!

I have just seen something: in fact the created lines are:
Key1   Compound1   fromdate    todate    attr1      attr2
0001      L      01.01.1000      01.01.2006          <empty
so as you can see, the right interval is created but the attributes are not up to date.
Cheers.
Cyril.

Similar Messages

  • The report  span   time-dependent  attribute

    A  infoObject 's attribute is  time-dependent  , for example  Attribute B
    is time-dependent ,
    1000-01-01 To 2006-12-30   B  value   'Plant 1'
    2007-01-01 To 2007-12-30   B  value   'Plant 2'
    2008-01-01 To 9999-12-31   B  value   'Plant 3'
    I want to show my report from 2005001 - 2009001 , It will need to
    choose a key date , but if I do that , for example , I choose the
    key date  2007-02-01 . The data  before  2007-02-01 will not show , I
    know it's right in tech view , but users can't  understand . So how can I
    show my data freely.
    Reed Lei .

    Hi Reed,
    Yes, that's a limitation (or not) of time-dependant attributes. You can only show time-dependant attributes based on one key date.
    Hope this helps.
    Regards,
    Diego

  • Time dependent attribute

    hi experts
      what are the tables created for time dependent attribute?
      and for normal attributes what are table created?
    puli

    hi,
    For attributes /BIC/P<Tech name of info object>,Q,X,Y.
    P-time independent attributes
    Q-time dependent attributes
    X - SID links of Charcteristics and Time independent Navigational attribute
    Y-SID links of Charcteristics and Time dependent Navigational attribute
    Ramesh

  • Different dates for 2 Time Dependent Attributes

    I've got 1 time dependent attribute (TD1) within a query.  When executed, the query asks for a key date to be applied on this time dependent attribute.
    We've been asked to enhance our model adding a new time dependent attribute (TD2).
    Everything is OK so far.
    The problem arises when our user needs to enter a date for TD1 and a different date for TD2, as in the same query only one key date can be used.
    We're thinking about adding a Key Virtual Figure, but we know it makes the performance down. The cube is huge.
    Any other suggestions to sort this out?
    Thank you!

    Hi,
    The provided standard datasources for these don't have the valid date fields, so wouldn't you have to  enhance them after the config from R3?
    What an alternative way of doing the time dependent if ther R3 analysts won't change their config?
    Is this common practice and done often?

  • Master data time dependency

    Hi if i put the manager as employee in cube then we are loading the data from flat file full load then it will overwrite the manager name in cube for last month
    say i have manager name john for month 08
    i load the trans data from flat file it will take it
    now next manager name john now if i load the data it will overwrite, user want to maintain the history so that if i run the query for month 08 it should show me manager name john and if i run the query for month 09 it should show me manager name john. please help how to resolve this
    since making too many time dependent master data will over load the system so user do not want that. also is there any way to load delta from flat file in bw version 3.0
    i will reward 100% point if anybody can clarify the approach to make this happen
    soniya

    Hi,
    If you set the master data attribute as "time dependent" it will track such changes as well as validity dates.
    Of course, you would not make even the majority of master data time-dependent, but in cases where modeling calls for it (such as this), it probably should be utilized.  It will not "overload the system".
    Please be clear - while master data InfoObjects contain over-write functionality, an InfoCube does not.  Data loaded into a cube simply is an "insert".
    For your generation of delta, note that the ODS object contains a change log mechanism.  This change log can generate a "delta" from a flat file load or any kind of load.  This delta can then be used in other data loads sourced from the change log.
    Also, you might consider a technique to load a complete history of master data into an ODS object.  You can model an ODS without any key figures, but be aware the defauly will be "update", where the only complete history is in the change log.  You could implement a "technical key" in update rules, so that each record gets a unique identifier, preventing over-write.  Alternatively, if you are on BI in SAP NetWeaver 2004s, you can use a write-optimized DataStore object, which automatically assigns a unique technical key to each record (so that you have complete history), but has no change log.
    Thanks for any points you choose to assign -
    Ron Silberstein
    SAP

  • Time Dependent Attributes for 0UCINSTALLA

    Hello BI experts,
    I have one question regardning time dependent attributes for Installation InfoObject (0UCINSTALLA) that are loaded from DSO (0UCS_DS06).
    My Installation InfoObject has 3 time dependent attributes:
    - ZGSP_ID
    - ZPROF_CL (Profile Class)
    - ZDUALFUEL (Flag for Dual Fuel installation)
    EXAMPLE:
    UCINSTALLA     DATEFROM     DATETO       ZGSP_ID     ZPROF_CL     ZDUALFUEL
    1                        01.01.1000      31.03.2009      _A              3                        X                
    1                        01.04.2009      31.05.2009      _B              3                        X                
    1                        01.06.2009      31.12.9999      _B              3                                        
    In the DSO it is represented by following entreis:
    UCINSTALLA     DATEFROM     DATETO           OPERAND      CHARVAL
    1                        01.01.1000      31.03.2009      ZGSP_ID             _A
    1                        01.04.2009      31.12.9999      ZGSP_ID             _B
    1                        01.01.1000      31.05.2009      ZDUALFUEL         X
    1                        01.06.2009      31.12.9999      ZDUALFUEL      null
    1                        01.01.1000      31.12.9999      ZPROF_CL           3
    The lines that contain ZGSP_ID as openard should populate ZGDS_ID field, lines with ZDUALFUEL operand populate ZDUALFUEL attribute, etc
    How can I map in one transformation? I believe this has to be done in ABAP, but it would be rather difficult to manipulate dates:
    - when first record is processed Start Routine has to browse for all other lines in the DSO for the same installation and split the record into 2 or more depending when other attributes are valid.
    At the same time one record have to be split into multiple records (when valiity dates for three attributes don't match), and multiple records have to be merged (for intervals when all attributes are valid).
    One alternative is to load these three attributes from three separate DSOs - then BI will take care of dates by itself. But this is a bit nasty solution.
    Could you kindly please advise if there is any simple way of doing this logic?
    Kind regards,
    Roman Pikuzinski

    HI,
    If your data source contains dates such as start date and end date, then you can map them to 0DATEFROM and 0DATETO respectively. In that case the 0DATEFROM and 0DATETO take the values from the data source and split up.
    For eg. if the start date is 05/25/2010 and end date is 12/31/2010, then now in your info provider you will have three records-
    0DATEFROM  0DATETO
    01/01/1900     05/24/2010
    05/25/2010     12/31/2010
    01/01/2011      12/31/9999
    However if you do not want to map any field from the data source to these attributes then they take the system generated values - 01/01/1900 and 12/31/9999 respectively.
    Hope this helps in the understanding.
    Thanks,
    Rahul

  • User exit for time dependent attribute

    Hello,
    In My InfoObject some of the attributes are time dependent and some are not.
    I’m trying to enhance the time dependant attribute and can’t find the fields ‘date to’ and ‘date from’ in the transfer structure of the start routine. I also couldn’t find the time dependent fields – only the fields in the /BI0/P table appears….
    Where can I find the fields of the /BI0/Q table (=Time-Ind fields) ?
    Please help,
    David

    Hi,
    well normally you see the time independant data in the /bix/p- table and the time dependant data in the /bix/q- table. If you want to see both use the /bix/m- view.
    kind regards
    Siggi

  • How to use a time dependent attribute as a replacementh path in a Bex

    Hi  friends,
    Does anyone know if it is possible to use time dependent attribute as a replacementh path inside the Bex Query .
    For example in master data  I heve like following records
                           material  value    date from                   date to
                               AA       12        01.01.2000               01.01.2002
                               AA        15       02.01.2002                01.01.2005
    And on transaction if I have data like
    material callday             salesquantity
    AA         01.04.2000           50
    AA         01.055.2004         100
    I want a report output like
    material       Calculated value
    AA              2100( 50*12  + 100 * 15 )
    Thanks for helps 
    Regards
    Erkan

    Thanks for your reply Anil ,
    We are using the progress that you mention at the moment , but sometimes data needs some corrections on factors which had been loaded inside the cube. It is not possible to correct those values inside the Cube later. So I need a solution on time dependent attribute with replacementh path . Then it will be available for corrections on master data .
    Regards
    Erkan

  • How to remove time dependent attributes from 0VENDOR- Please help

    Hi All,
    As part of master data enhancement, I had added some time dependent attributes to Vendor Master object. After activating, the respective time dependent tables were all created/activated.
    Now due to change of requirements, when I am trying to convert the time dependent attributes to non time dependent, I keep getting the activation error because it keeps giving a message "Unable to change the primary key" for MVENDOR. This view is getting the DATETO field because of the original activation. It is not removing that field and is causing the issues.
    Even if I adjust/delete the QVENDOR table in SE14 and then try to activate 0VENDOR, it is still retaining the DATETO field in the MVENDOR view and is recreating the QVENDOR table.
    I even tried to delete the time-dependent fields from the 0VENDOR (instead of just de-selecting the time dependent flag)...it is saving the changes..but giving activation error.
    Is it not possible to delete the time dependent attributes from the Master data...once they are added ?
    Please advice.
    Any help with this will be greatly greatly appreciated.
    At this point 0VENDOR is in inactive state.

    Hi Friends,
    First of all, sorry I did not get a chance to respond earlier. There was an issue with my p/w for some strange reason and could not log back in till today.
    Also, thank you for all your suggestions.
    However, the issue is now fixed. Basically I had already explored and tried every option suggested int his forum, but was still having issues.
    The problem was that there was another table in the system that had a reference to this Master Data table field (as a foreign key). After I removed the foreign key referece in the other table, then it let me proceed further.
    Thanks again..

  • About reading time-dependent attribute

    hi experts,
    i wanna read attribute from master data and the attribute is time-dependent, the transformation's rule detail is :
    Source Fields:
    0DATETO
    0UC_POD
    Target Fields:
    0UC_POD_EXT
    from attrib. of: 0UC_POD
    0UC_POD_EXT is a time-dependent attribute of 0UC_POD
    and the time setting is End frm 0CALDAY
    my question is:
    in my source fields, there is no field name 0calday, and i don't quite understand what the options (start, end, frm) mean, would u explain in detail for me?

    Hi,
    Date InfoObject for reading master data on demand:
    The attribute you want to read is time-dependent.
    Before you specify the time range, add a time characteristic to the rule. This must be one of the following SAP time characteristics: 0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR. To do so, choose  Add Source Fields in the Source Fields of Rule area and then select a time characteristic.
    Note the following when you define the key date: If you select Start , the first calendar date of the specified period is used; if you select End, the last date is used. If it is the date time characteristic (0CALDAY), it does not matter if you select Start or End.

  • Time dependent attribute getting blank

    Hi Friends,
                        we've got infoobject "0CFM_SEC_ID" which has got time dependent attributes, actually the data upto PSA is available perfectly, and all data getting populated except for the time dependent attribute "Act. Traded Date", this is getting blank, no data is getting populated to this time dependent attribute,
    as fas as tranformations are concerned, they are ok, then what might be the reason?
    Regards,
    BalajiReddy K.

    Hello,
    i have the same Problem. After the Release update from ECC 5.0 to ECC 6.0 and BW 3.5 to BI 7.0 i activated the DataSource 0CFM_CLASS_MASTER_DATA_ATTR with the new available attributes. I also replicate DS and defined the update rules in the BW. But the load (also RSA3 in source system) shows no values for time dependent attributes.
    After posting a OSS note i got the solution:
    The enhanced DataSource 0CFM_CLASS_MASTER_DATA_ATTR with time-dependent attributes is combined whit some customizing settings. The Flag in View FTI_BI_V_SWITCH have to be set to use the new extraction method with time-dependent attributes. See notes: 1410617, 1087663, 1290259. For more information look at F1 Help of Flag-Field in View FTI_BI_V_SWITCH.
    If you don't set the Flag, the DataSource works with the old extraction method and the new available fields continue empty.
    best regards!
    Edited by: Daniel Tejado on Mar 2, 2010 1:33 PM

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • Asset Master Record - Time Dependent tab - locations to be created

    Hi Guru's
    Hot to create the new locations in the Asset Master Record - time dependent tab.
    Some locations descriptions I need to change.
    Please help me.
    Regards
    Jenny Connes

    Hi,
    change your location description at following SPRO location:
    SPRO->Enterprise Structure -> Definition->Logistic - General ->Define Location
    Thanks,
    Dharmesh

  • Can't get access in Time Machine to certain folders for any date earlier than current date/time.

    Can't get access in Time Machine to certain folders for any date earlier than current date/time, even when entering as Admin. Why do certain folders have small red "-" badge in lower right corner of folder icon?  Here's a picture of the dilemma:
    I've tried monkeying with priveleges using Command I, and changing users, but to no avail.  Can anyone help?

    Right.  Here's what the permissions look like from the Finder Command I:
    I'm not sure what "Custom" means, but when I then try to change it to "Read & Write", it doesn't take.... just comes back as Custom. Interesting to note that not only am I logged into Joan's account where the data folder and file lives) to do this, but when I do it from my own account  as Admin (dunc...mpster) I get the same result.

  • Using Airport Time Capsule as target/workplace for a Data Rescue III type software

    I need to recover data from a 'bad' disk on a Macbook anno 2007. My idea is to mount the drive on a Macbook Air using target disk mode and a thunderbolt/Firewire connection. The mounting goes fine but copying the data leads to a hanging Mac Air. So now I put all hope on a Data Rescue type software in that such software will circumvent the hanging issue! Problem is that the Mac Air don't have enough memory to store the hopefully recovered data. Essentially, I have no proper 'target disk' for the recovered data and need to buy one (as well as buying the rescue/recovery software).
    So, can I use a Airport Time Capsule as target/workplace for a Data Rescue type software on my Mac Air? Is this a proper mountable hard drive?
    Thanks,
    RA

    No, it is better to get a USB drive. You can mount a TC drive but it is just as likely to unmount itself half way through.. keep networks out of the already many problems you have.

Maybe you are looking for

  • Error while running foreign currency valuation program FAGL_FC_VAL

    Hi this is regarding foreign currency valuation in ECC6.0 with EHP4 i have done the revevent setting in spro and while execturing TC FAGL_FC_VAL agetting following error:- Incorrect account determination: 1000 10 200010 Message no. FR257 in customiza

  • Deleting movies on my hard drive

    I'm trying to delete things off of my macbook pro because I am quickly running out of space. When I was looking to see what was using up the most space I noticed that movies were. My hard drive said I was using 107.66 GB for movies, so I went to my m

  • Adobe wont print after update 9

    Can't print after updating to Adobe reader 9. Using a B&W multi "old girl" Lanier 5235 and I tried uninstalling Adobe and reinstalling without help. I can print a PDF file via Preview and I csan print word files via word etc. etc using the diff. case

  • "No pool in place - just leaking" Error slowing down MacPro

    Whenever I am running the creative cloud app. I am getting this error message in my console: Creative Cloud[4627]: objc[4627]: Object 0x792c53f0 of class __NSCFData autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool()

  • Can I get the tab's(Level 1 menus) invoke function's URL and parameters

    Hi, Can I get the tab's(Level 1 menus) invoke function's URL and parameters in CO? Not just the tab being seleced,All the tab's nvoke function's URL. Thanks, binghao