Compare time depednt master data for two key dates in a report?

Hello all,
We have a requirement where we want to see the difference in master data at particular key dates (time dependent master data).
Like if employee has State = OH till yesterday (12/01/2008) and today it is changed to State =KY (12/02/2008 to 12/31/999) loaded in BW which is time dependent.
So basically if you run the query for Key date 12/01or before you will see OH as state and if you run query for key date 12/02 or further you will see KY.
We want to create a report where we want to list employees and compare in two columns basically the previous value and the current value. So input would be two key date variables and the report would look like
Employee                  Key date 1(state)                  Key date 2 (state)
Employee1                         OH                                  KY   
Has anyone done this before, can someone help me doing this?
Thanks,

Hi ,
For this scenario , Can you please create variabale ( From value -- to value ) in the key figure date .And by using the time period in the varaible u can get the employees for both the states ...
Hope this helps out
thanks
PT

Similar Messages

  • Org unit Hierarchy structure between two  Key date s

    Hello Friends,
    We have an issue with displaying HR Org unit hierarchy structure between two calendar months.
    The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To
    The BI Report is to display the no.of sick absence days for employees in a chosen Org unit hier.
    Employee A had a sick absence of 5 days in the month 04.2011 in the Org unit X . The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
    When we run the report for 04.2011 to 04.2011 , the employee A is showing absence under Correct Org unit ie X with correct Org structure .
    When we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under hierarchy Org unit Not assigned which is OK .
    But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is the latest Org unit .
    When I deactivate the Org unit hierarchy and choose tech name of Org unit , It is showing correct Org unit key
    But The user would like to see 5 days under org unit X and 4 days under Not assigned with Correct Org unit hier structure when we run the Report from 04.2011 to 05..2011 .
    We have a user Exit variable for the Key date in the Bex Report which seems to be taking only one date at any time .
    Is there any way to get the correct figures under Org unit hier structure where employee had absence in when we put range of calendar months on a selection screen ?
    Any advice appreciated.
    Thanks.

    Hi
    Yes, we can display the same by using time dependent hierachy's i.e. your org is converted to time dependent so that respective employee shows with respective of time.
    Regards
    Jagadeesh.M

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

  • Different Pricing date for two line items

    Hi guru's
    How to give different pricing dates for two line items
    in a sales order
    To elaborate
    I have two line items one i need pricing date order date
    second one i need pricing date should be delivery date
    Thanks in advance
    Srinivas

    Dear Srinivas,
             While creating sales order select the item which you want to change the pricing date then go to menu>GOTO>Item -->Click on Sales A here you can able to change the pricing date as you like.
    You can change the pricing date of the item in the sales order through sales order change mode but that sales order should be open.
    I hope it will help you,
    Regards,
    Murali.

  • Error: No data for binding key while generating WSDL

    Hello users,
    I have converted a custom rfc to webservice using Wizard tool. While generating WSDL file using Open WSDL document for selected binding of SOAMANAGER, i'm getting the error message 'No Data for Binding Key'.
    Can anyone let me know the solution to resolve this issue? Also, I could note that the Object Status for this sevice reads Services: 0 / Endpoints: 0
    Strangely, I tried to generate WSDL for another Custom Webservice and it did get generated but with 403 error page. and for this the Object Status read Services: 1 / Endpoints: 1.
    Any information with respect to this is appreciated.
    Thanks in advance.
    Regards,
    Naresh

    Hi Naresh,
    You have posted the question in the wrong forum, it should have been posted in Webdynpro.
    Cheers,
    Bhavana

  • All Dates between two given Dates

    Hi,
    I need all the dates between two given dates in select-options .
    For example  the range in select-options is 01/01/2007 - 31/03/2007 .
    I need  all the dates between the two given dates .
    How can i do this .Is there any FM for this ?
    Regards,
    Zia

    use this
    CSCP_PARA1_GET_PERIODS
    data:begin of daytab occurs 0.
            include structure scscp_period_str.
    data:end of daytab.
      call function 'CSCP_PARA1_GET_PERIODS'
        exporting
          i_datuv    = r_budat-low
          i_datub    = r_budat-high
          i_timeunit = 'D'
        tables
          et_dates   = daytab.
    here u have to put one more logic.
       loop at daytab where datuv in r_budat.
        endloop.
    So u will get all the dates
    Regards
    prabhu

  • Baseline date for payment due date.

    Hi,
    In FB60 and Miro, Baseline date for calculating due date for payment is taken as default as document date, as per setting in payment terms. But I want to take this date as date of GR/SE. Can we do this. I also want to make it gray and dont want user to change it. Please suggest how to do it.

    Hi
    go through the link answered by me.
    Re: Substitution - Baseline Date to be replaced by the Goods Receipt date
    the Goods receipt date can be defaulted as Baseline Date.
    tell your ABAP consultant to check the BADI and do the necessary.
    regards
    venkat

  • How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    Hi,
    Sorry, we do not support a matrix-question field.   Please try the multilines text field (where your participant can enter multiple lines in the input text box) and see if it works for you.
    Thanks,
    Lucia

  • SQL - Can u print all the dates between two given dates (Without PL/SQL)

    Hi Friends,
    I want to know if u can print all the dates between two given dates without using pl/sql.
    date1,date2 are given
    write a sql statement to display all the dates lying between those two dates.
    An earlier will be appreciated.
    Thanks in Advance
    Sriram
    null

    Sriram,
    Try this....
    select to_date('01-JAN-00')+to_number(rownum)
    from all_tables
    where rownum < to_date('10-JAN-00')-to_date('01-JAN-00')
    TO_DATE('
    02-JAN-00
    03-JAN-00
    04-JAN-00
    05-JAN-00
    06-JAN-00
    07-JAN-00
    08-JAN-00
    09-JAN-00

  • 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

  • How to achieve same start date for two ATO Items- req to built together

    We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
    E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
    ATO_Model2*325325, the rolled up LT=3
    So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
    Hoping for your expert advice.
    Thanks

    Hi,
    Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
    Make a test and let me know if it's okay.
    regards

  • Dependent master data for the Transaction data

    Hi,
    Wish u Happy New Year to All.
    I use to schedule daily some 250 master data.Then i will run transaction data.Because of this the system performance is effecting.I want to know, where i can find dependent master data objects for the particular transaction data?
    Thanks in Advance
    Regards,
    Siv

    Dear Siva
    In the Info Source Over View for the particular data target can shown dependent master data objects.
    Regards
    Saravanan.ar

  • Bw time dependent hierarchy authorization in Hr - Key date problem - 0orgunit

    Hello Gurus,
    I'm facing a problem with the 0Orgunit hierarchy authorization.
    In the Rsecadmin screen we set the hierarchy authorization for 0orgunit characteristic, before selecting the hierarchy node, we enter the key date.
    I tried many cases, but neither of the key dates gives the correct results in the report. (Todays date, 01.01.1900, 31.12.9999 etc..)
    In the report the key date variable is generated by RSTHJTMAINT transaction. I guess, this is creating a problem with the authorization key date.
    A similar problem is told in the following link as well:
    http://scn.sap.com/thread/1437951
    I spend some hours, and tried many possibilities (validity period etc.), but I could'nt get it worked.
    I'm not sure if I had this error before 7.31 update.
    With this opportunity, I want to thank you every one in the Sdn community. It helps a lot for resolving our issues and sharing the knowledge.
    Thanks a lot.
    Regards.

    Hi Norbert,
    Can you check that the SAP note 1301644 has been applied in your system.
    Best Regards,
    Des Gallagher

  • Restricting the item data for two pages if data is more then cutoff

    Hi Expers,
    I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra  data in the next pages ).Could you please explain  how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
    Thanks and Regards,
    Venkat

    Dear experts,
    For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
    Many thanks for your help,
    venkat

  • Chart from data with two bex queries in crystal reports 4.0 for enterprise

    Hi,
    I'm fairly new to crystal reports and I have a requirement to show the data from 2 bex queries in one single cross table. is it possible ?
    after getting it i should be able to create chart with that data
    Eg: my table would be something like below :
                   calendar day
    Input     : 12      34     50     60
    Output  :  09     23     19     57
    Input Data will be coming from one bex query
    Out put data comes from another bex query
    is it possible to merge the dimensions and then work on ????         
    any help is much appreciated

    Hi Tanveer,
    The only way you can add two BEx queries in a report is using a Subreport. The First BEx query goes in the Main Report and the second one goes in the Subreport.
    You'll not be able to add the dimensions and measures from these two BEx queries in a Crosstab anyway. Perhaps, you could create a mock crosstab and send values (all rows) from the Main Report to the Subreport as a string however, I can see that it's going to get complex.
    -Abhilash

Maybe you are looking for