Bex query-KEY date for time dependent objects

Hi
I have one infoobject called 0customer that has one time dependent attribute .called status. I would know how the system works in the following senario for the a given key date(which in bex properties).
question 1)
customer todate          fromdate    status
1            20071231     20070101     Y
1            20081231     20080101      N
1            20091231     20081101      X
can the data in the infoobject be overlapped? is the 3 rd record is  valid in the above example - as months(11&12of2008)  overlapping with second record? ? pls advise
question 2)
customer todate          fromdate    status
1            20071231     20070101     Y
1            20081231     20080101      N
1            20091231     20090101      X
If the keydate is 20080201 which record will it return?would it return the record that has status 'N'?
what does the keydate is compared against? is it with from date or todate or between fromdate and todate? does the query return only one customer record for a given customer when it runs in the query?
Please advise.
Thanks
Vennela

1) Normally you cannot activate the data with this constellation. If you have inconsistent master data you can repair with transaction RSRV.
2) The system returns N for key data 20080201.
Best regards
Dirk
Edited by: Dirk Herzog on Nov 19, 2008 1:16 PM

Similar Messages

  • Select key date of time-dependent hierarchy before select a hierarchy node

    Hello experts!
    I have a Web Application which has a selection on 0ORGUNIT (organizational unit). The selection is on hierarchy nodes and the hierarchy is time-dependent.
    Because of the time-dependency I have to give a key date for the hierarchy. But I want to select the key date at runtime/execution of the query and additionally I want to select the hierarchy node and other selection criterias.
    Maybe there is a solution to get all this in one pop-up or maybe in two or another solution how I can implement this requirement.
    Thanks for help!
    Peter

    Hey!
    You don't have to use the same presentation-hierarchy like  the selection-hierarchy is which you use for the variable. While presentation-hierarchy always has a key-date, the selection-hierarchy has none. So you see all values for selection but just this which are valid for the presentation-hierarchy are selected. And there is a warning which you can supress over RSRT.
    This solution works for our problem, maybe not for yours, don't know.
    Best regards,
    Peter

  • Key Date?  Time-Dependent Master Data

    I need a report on Employee Hires in a given interval (between 1/1/2008 - 12/31/2008). Therefore, I pass the time interval to the query.  However, I need master data as of the Hire Date of the Employee.  What type of variable should I pass in the query properties (as key date) so that it reads employee hire date during query runtime?
    Just FYI...Hire Date is a characteristic and displays on the report.  Different employees could be hired on different days in a given time interval.
    Best Regards,
    -Sonny
    Edited by: Sonny Mohnalkar on Jun 9, 2009 7:23 AM
    Edited by: Sonny Mohnalkar on Jun 9, 2009 7:24 AM

    Hi,
         For query key date you can only specify a single date( fixed value or single entry variable).
    So, your requirement cannot be acheived using key-date functionality as there might be different hire dates for different employees. The only way to acheive this is to identify the master data for each employee based on his/her hire date at query runtime using the concept of virtual characteristics. This is a bit complex and will affect the performance of the query. There is a SAP How-to-Document available which can help you. Also you can refer to the following link for some more information on implementation of virtual characteristics.
    Link: [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c]
    On the other hand, your requirement can be easily realized in the case where you run the query only for a single date. In this case, you need to use a single entry variable instead of Interval variable. And use the same variable for Key date.
    Hope this helps you.
    Thanks ,
    Nithin reddy.

  • How to Select in a query considering key date of time-dependent characteris

    Hi, Everybody
    I have a Infoobject called CONTROL. It can be tested during the year once, twice, three times,six times  or can be not Tested.
    The Characteristic that contain the number of  test that the Control will be tested is time dependent.
    For example, one control can have the charcteristic to test twice in a year. Then 31/10/2007 it can turn "not test".
    I can have these records:
    CONTROL   VALID INIT       VALID END     TEST  
       XYZ         01/01/2007       31/01/2007       TWICE
       XYZ         01/02/2007       28/02/2007       TWICE
       XYZ         01/03/2007       31/03/2007       TWICE
       XYZ         01/04/2007       31/10/2007       TWICE
       XYZ         01/11/2007       31/12/9999       NO TEST
    I have a query that I should select the number of controls different of  "NO TEST" During the time selected.
    For example, if I select Interval Time = 01/01/2007 to 31/10/2007, This record should be Counted, because it was to be tested during this period.
    If I have selected Interval time = 01/11/2007 to 31/12/2007, it should not be selected because in this period, this control doesn´t able to be tested.
    If I put filter restricting NO TEST, the query should check the time of validity, but when I do that, BW doesn´t accept that because I can´t restrict by Validate Date.
    Anybody already had a problem like that?
    I´d like suggestions to solve that or comments that could explain that.
    Thanks a lot,
    Elisabeth
    Edited by: Elisabeth Umebara on Feb 2, 2008 12:21 AM

    Hi, everybody.
    I already solved this problem. Thanks a lot.
    For this I selected the controls in a exit variable that should be selected in from table time-dependent  from infoobject. This solution ran just for BWD and BWQ, because there was a lot of data in BWP.
    Then I made a first query that has selected the controls. After that, in the original query I defined the substitution path relating with the first query.
    Thanks again,
    Elisabeth

  • APD query key date with variable for time dependent MD display attributes

    Hello,
    In a APD I use a query as a source with a query key date that is filled with a customer exit variable.
    When I run the query as a user, the time dependent MD display attributes look fine. However, when I use the query in an APD, I get no values for the time dependent display attributes.
    Any suggestions?
    Thanks

    Hi,
    Try to run query using RSCRM_BAPI Tcode, this you can also schedule in background
    Thanks
    Reddy

  • Can we create range variable for Query Key Date

    Hello Gurus,
    Can we create a range variable for Query Key Date ? when I tried to give a range of values for Query Key Date, I am unable to find Range Values option. I found only Single Values.
    so, Please let me know if we can use Range variables for Query Key Date ??
    Thanks in advance,
    Regards,
    Aarthi

    Hi Aarthi,
    This is relevant for the time dependant master data that is being pulled in thw query. Like if you are using a nav attr in the query and this nav attr is time dependant, then which record (from the char master data) is to be pulled into the report, depends upon the key date that you specify.
    The default key date value is the date on which the query is executed, that is <Today>.
    Hope this helps...

  • Variable For Query Key Date

    Hi All,
    I am using time dependent master data, i want to count number of employees on particular key date for diffferent Orgunits. So i created variable in the query properties for dynamic date selection .I also have other variable - Calendar month.
    If the user enters particular  Calendar Day (21.03.2008), then the report should show the total number of employees for that particular day.
    If the user chooses Cal Year/month  then the report should show the total number of employees for that time frame (12.2007-12.2008).
    When i enter Cal Year/month and execute the system not allowing to execute the report. It says Calender Day is mandatory.
    How can i bypass the calenderday when i choose calyear/month.
    Variable for Key date :
    Char - Calender Day
    Mandatory
    Ready for Input
    Regards
    A.Vasister

    Hi,
    For this work you have to create another 2 variable.
    1. Make your both user entry variables as optional.
    2. Create another 2 variables processing type as user exit.
    3. In the CMOD program, identify which variable contains data.
       - If the user entered month, then in the user exit of Calender day's from date should be
         first day of the month parameter and to    date should be the last date of the month parameter.
       - If the user entered date, then pass corresponding month&year value of the date to calmonth variable.
    Let me know the position.
    Vivek

  • 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

  • How to create the change document functionality for a dependent objects?

    May I please know how to create the change document functionality for a dependent objects?
    I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
    If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
    thanks in advance.

    I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
    Thx.

  • Generate IDOC containing all data for a Businness Object

    Hi,
    I want to be able to generate an IDoc that contains all data for a Business Object type.
    Is there a standard Function Module available for this? Or do I need to write one myself?
    I would like to call this Function Module from an external application using RFC
    Thanks!
    Simon

    Hi Rob,
    Let me explain what I am trying to achieve.
    Lets say we have a SAP system containing e.g. a number of Employees (i.e. a number of instances of the Employee type). Now, I want to connect to the SAP system (probably through a RFC connection) from an external application (a C program) and retrieve all the data (keys and attributes) for these instances.
    It would be comparable to a:
    'select * from table employee'
    in database terminology.
    I then want to move the data through my C appl. and store it elsewhere.
    I am very new to SAP, so maybe I use the wrong words to describe the problem.....
    Best regards,
    Simon

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • Query picking data for the running request

    Hi Guyz,
    Am working on BW 3.5,
    We run a query on a Multicube on daily basis, the scenario here is when we ran a query during one of the infocube load which was not activated and not ready for reporting (Request for reporting available symbol is missing), even then the query picked data for the request which was still running.
    Cheers!
    Ravi
    Edited by: Ravi Srinivas on Aug 18, 2009 1:20 PM

    Good to know that your doubts are cleared...
    For more information browse through SDN and have a look at these notes:
    Note 411725 - Questions regarding transactional InfoCubes
    Note 1063466 - Transactional request is not set to qualok
    Hope it helps...
    Regards,
    Ashish

  • Real time Example for Time depend Characterstics...

    Real time Example for Time depend Characterstics.
    In which Situation we have to swith to time dependent.

    hi ,
    for ex. employee designation which changes over a period of time but not frequently , also headcount and also stock etc .
    which is related to change over a period of time .
    regards .... kumar Sarvepalli ///// honor points if helpful

  • Format Date for time.

    i have a doubt as to how to store the date along with time from my front-end Forms Developer Suite 9i application.
    I am trying to give this kind of statement from SQL-plus:-
    update login_master set last_accessed=to_Char(sysdate,'dd-mon-yy HH:mi:ss')
         where login_ID = :GLOBAL.LOGIN_ID
    but, there is a message which comes like this:-
    ORA-01830 date format picture ends before converting string.
    Also, i want to compare this time stored against time a little later, say after 1 or 2 hrs to get number of minutes.
    How can i do this? I hope, my question is clear. Please help in solving the doubt.
    regards.

    This topic is a duplicate of this one:
    <p>Format Date for time
    <p>Please reply on the other thread.

  • How should i get the delta data for those new object's previous delta data?

    Hallo all,
    i have 2lis_11_vahdr and i am using a standard and loading delta! now i have appended some new fields in the datasource then in infosource then in ods and infocube..! now how should i get the delta data for those new object's previous delta data???
    Jimmy

    Hi,
    After appending new fields in the datasoure.It is not possible to delta load, u should have to load everything
    Thanks,
    Shreya

Maybe you are looking for