Switching dimensions depending on time of the day the report is accessed

Hi,
We have a requirement where one of the dimension tables - ACCOUNT is unavailable during 6 pm - 8 pm and the query should go to ACCOUNT_BKUP table instead of ACCOUNT table during that time period. In other words, we want the query to go against ACCOUNT_BKUP table when a user accesses the report between 6 and 8 pm everyday and against ACCOUNT table during any other time. What is the best approach to model this scenario?
Edited by: vahibg on Aug 20, 2009 12:05 AM

Hi,
Try something with stored procedure ..
Outline of store procedure as follows
CREATE OR REPLACE PROCEDURE fetchdata ( p_cursor OUT refc)
IS
TYPE refc IS REF CURSOR;
BEGIN
     SELECT startDate,endDate INTO a,b FROM limitationTime;
     SELECT SYSDATE INTO curDateTime FROM dual;
     IF a < curDateTime or b>curDateTime THEN
          OPEN p_cursor FOR
          SELECT *
          FROM account;
     ELSE
          OPEN p_cursor FOR
          SELECT *
          FROM account_BACKUP;
     END IF;
END fetchdata;
hope it helped
--Srinivas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Execution time for the report.

    Dear All,
    How do i determine the execution time of the report?
    If i need to run some program then please do tell me how can i run the program too?
    Thanks..

    Hi,
    The thread below is telling you how to see query statistics in ST03N.
    Re: BEx Query is executed how many times???
    Regards.

  • How to use sy-ucomm in one time in the report

    Hi guru,
    I developed a z report when i am executing the report one screen is didplaying and here and here i have to delect some check boxes (update) and then click the click the toolbar stage (which was created using sy-ucomm) and we are getting some output.
    Now the requirement is when user second time clicking the  botton stage the report shaould not execute it self.How to do it means how to restrict .Please help me .May be it is easy for you but I am facing a severe probleam to achieve this.
    needs yours cooperation and patience.

    Hi subhassikan
    I am not very clear about what you want to say.
    1. you want the sy-ucomm to be executed once right, then you can use a flag in that case.
    one it executed first time
    make flag = 'X'.
    and next time check the value of flag if it is 'X' then the code under sy-ucomm should not be executed.
    2. Secondly is there some buttton or something that you click, check function code for only that button and should not execute for any other button and function codes must be different.

  • Currency translation taking more time at first time in the report

    Hi All,
    Here is an issue regarding the currency translation in the report. when we click on the currency translation from the contaxt menu on the report, its taking more time for the first time to get the selection options. But it is fast from the second time onwards. It will be not user friendly if its takes more time for the first time. Is there any way to fast up the processing time for the first time when i go for the "currency translation" option at report level for the first time.
    let me know why it takes more time for the first time when we go for this option at report level.
    Thanks,
    Jack

    Once again from the top.
    This is undoubtedly not a database issue.
    I doubt you can fix it in the database.
    You can, however, spend a lot of hours asking questions and poking around if you are a consultant paid by the hour.
    But as long as you are looking for something to do here are some that won't fix the problem but may be worth a few minutes of your time.
    WHERE 1 = 1Are you kidding? Drop this nonsense. The Oracle optimizer is not brain dead. If it were my database I would also drop the parallel hint like a bad habit.
    /*+ parallel(rp1, 8) */Again the Oracle optimizer is not brain dead. Ask for parallel threads that don't exist and the database will just queue your SQL and let it sit there until sufficient resources become available.

  • Displaying date/time in the report of last updating data?

    Hi,
    I have produced a report over a multiprovider. The multiprovider is built up from tow cubes. The data is being updated to one cube each hour and to the another cube one time daily.
    The date/time that display in the report is for the last updating data of the cube that updating one time daily.
    I want that the date\time be updated each hour, in another words, to display the date\time of last updating data to the second cube.
    Any suggestions?

    Hi Mohamad,
    Please read through this discussion for a solution:
    ROLLUPTIME of a multiprovider
    Hope this helps...

  • Get Layout details during run time of the report

    Hi floks,
              We are downloading the ALV ouput data through a customised button. Presently, it downloads all the data from the Internal table that is passing to the function module. But the requirement is it should download only those fields which are in that particular layout selected....Could you please let me know how to get the various fields assigned to that variant at run time...is there any function module to do so..
                                    Thanks in advance,
                                        Shyam.

    Hi shyam,
                      The layouts are stored in the table LTDX. The function module 'LT_DBDATA_READ_FROM_LTDX' gives the info about the  fields displayed in the using the layout. In the tables paremeter T_DBFIELDCAT the field key1 is  populated with the the fields used in the layout. you just have to poplulate the exportin parameter IS_VARKEY with the report name and variant name . it is similar the entries in the table LTDX.  All these related info about the Layouts can be found in the function group SKBS .  you have to code accordingly once you have the fields used in the layout and download the data.
    Hope this helps you.
    Cheers,
    Ravi.

  • Cache entry created a long time after the report runs

    We have a report that results in more than 300,000 records. We get the results for the report in quick time but the cache entry gets created only after sometime, say around 30 mins later or so. Any idea why this delay? Is it that the report caches 25 records at a time (default no. of rows per page) and shows them in quick time and the rest of the records are getting cached in the background? Is there like a way we can optimize this?

    did you check how much time the entire report takes to execute (evn though the first 25 rows comes up quickly). I suspect it is > 30 mins.
    OBIEE is not meant as a data dump tool and there is little that could be done. (except better hardware)

  • Execution takes time for the report in Application

    I have developed a report for payroll runresult.Its execution time is 3 minutes,but when i run in application it takes half an hour
    The query i use is...
    SELECT round((sum(nvl(DECODE(PET.element_name,'Basic Salary',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'House Rent Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Transport Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Petrol Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Vehicle Allowance',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Additional HRA',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Other Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Carried Balance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Mobile Allowance',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Fixed Over Time',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Rent Deduction',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'Vehicle Allowance Deducted',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'HRA Deducted',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'Rent Deduction',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'Insurance Deduction',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Medical Insurance',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Family Passage Allowance',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Salik Allowance',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'Family Insurance Deduction',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Fixed Incentive',ROUND(prrv.result_value,3),0),0)) +
    sum(nvl(DECODE(PET.element_name,'Company Accomodation Provided',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Mess Deduction',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Normal Overtime',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Special Overtime',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Telephone Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Other Allowance',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Other Earnings',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Other Deductions',ROUND(prrv.result_value,3),0),0)) -
    sum(nvl(DECODE(PET.element_name,'Salary Advance Recovery',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Air Ticket Refund',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Vehicle Fines and Charges',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Abroad Emergency Leave',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Abscond Leave',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Air Fare Paid',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Recovery Carried Balance',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Hajj Leave',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Local Leave',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Sick Leave Deduction',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Sick Leave Without certificate',ROUND(prrv.result_value,3),0),0))-
    sum(nvl(DECODE(PET.element_name,'Round Off Deduction',ROUND(prrv.result_value,3),0),0))+
    sum(nvl(DECODE(PET.element_name,'Round Off Earnings',ROUND(prrv.result_value,3),0),0))),0)Net_Salary,papf.national_identifier groupcode,papf.FULL_NAME,paav.effective_date,
    haout.name costcentre,pg.name grade, pj.name designation ,paaf.ASSIGNMENT_NUMBER employee_number,decode(pop.org_payment_method_name,'RI_CASH','C','B')Payment
    FROM pay_run_results_v prrv,pay_run_results prr,pay_assignment_actions paa,per_all_assignments_f paaf,per_all_people_f papf,hr_all_organization_units_tl haout,
    per_grades pg, per_jobs pj,pay_assignment_actions_v paav,pay_personal_payment_methods_f ppp,pay_all_payrolls_f pap,pay_payroll_actions ppa,
    pay_org_payment_methods_f_tl pop,pay_element_types_f PET
    WHERE --prrv.assignment_action_id = 49449 and
    ppp.assignment_id(+) = paa.assignment_id
    AND pop.org_payment_method_id(+) = ppp.org_payment_method_id AND
    paa.ASSIGNMENT_ACTION_ID=prrv.ASSIGNMENT_ACTION_ID and paaf.ASSIGNMENT_ID=paa.ASSIGNMENT_ID
    and haout.organization_id=paaf.ORGANIZATION_ID
    and papf.EMPLOYEE_NUMBER=paaf.ASSIGNMENT_NUMBER
    AND prrv.run_result_id = prr.run_result_id
    AND ppa.effective_date BETWEEN pet.effective_start_date
    AND pet.effective_end_date
    AND prr.element_type_id = pet.element_type_id
    and prrv.CLASSIFICATION_NAME not like 'Info%'
    -- and prrv.element_name not like 'Gross Salary%'
    -- and prrv.element_name not like 'Annual%'
    and pj.job_id(+)=paaf.job_id
    and haout.name=nvl(:P_Dept,haout.name)
    and ppa.PAYROLL_ACTION_ID=paa.PAYROLL_ACTION_ID
    and pap.PAYROLL_ID=ppa.PAYROLL_ID
    and paav.ASSIGNMENT_ID=paaf.ASSIGNMENT_ID
    and paav.ASSIGNMENT_ACTION_ID=paa.ASSIGNMENT_ACTION_ID
    and pap.PAYROLL_NAME=NVL(:P_PAYROLL_NAME,pap.PAYROLL_NAME)
    --and papf.national_identifier = 03917
    and paav.effective_date >= TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY')
    AND paav.effective_date <= LAST_DAY (TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY'))
    -- and paav.DATE_EARNED=to_char(:p_date,'DD-MON-YYYY')
    and pg.grade_id(+)=paaf.grade_id group by papf.national_identifier,papf.FULL_NAME,paav.effective_date,
    haout.name ,pg.name , pj.name,paaf.ASSIGNMENT_NUMBER,pop.org_payment_method_name,papf.employee_number
    Cant analyse where it takes time...
    Regards,
    Mera

    I don't think that the "SUM" structure in the SELECT makes a difference in performance (And DO NOT use PL/SQL for this!) And as long as you SUM most PET.element_name values you do not need to filter by them.
    But, of course, the solution of "Sven W." would make the code MUCH nicer (took me a while to get it) and the "format" of the join conditions would take anyone ages to maintain that code!
    But your problem is that the execution differs massively right?
    Do you do the same thing? E.g. bind variables in the interactive part? Do the variables have the same value?
    Do you filter on the other variables like "P_DEPT" etc. ?
    "and haout.name=nvl(:P_Dept,haout.name)"
    The good thing is that you have an execution which makes you happy so you need to compare the SQL and the execution for both. Somewhere must be a difference. (Is the result the same by the way (just in case your parameters differ)?)
    If the results and parameters are the same, then do you not work with parameters in the "interactive" test and ORACLE is choosing a different execution plan as it knows more about your question. If that's the case, try to hint the query so that it's using the desired execution plan when you work with parameters.
    And how did you get that "execution plan" it's missing so much data and it's not formated. (put around it and check in "Preview" if it looks as desired)
    -- andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get total number of times excuted the report

    hi,
    Can you spend for a while.
    Requirement is when the Monthly summary report: When report executed then in the header it has to display how many times times this is executed and data has to display(this completed).
    For example out put is:
    No.of times executed:20   (means this is 20th time this report is running)
    here data has to display(This i completed).
    Thank you,
    Anu.

    Anitha Reddy wrote :
    Requirement is when the Monthly summary report: When report executed then in the header it has to display how many times times this is executed and data has to display(this completed).
    For example out put is:
    No.of times executed:20 (means this is 20th time this report is running)
    here data has to display(This i completed).
    If you completed everything then what is your problem ??

  • How to Display Heirarchy and Character at a time in the report...

    Hi
    I have a req ...where I need to design a query to display a character and its heirarchy colum by colum...I mean, I have document type master data info object it has texts and Heirarchy data source...and we loaded this data...Also we have document type directly coming from ECC  Transactional DS...Now When I take this document type and do not select heirarchy its displaying the document types (KN,KA ,KR etc...)..If I select the heirachy in my query..its displaying in heirarchy structure and the document types (KN,KA,KR ) are displaying as the last nodes. But I want to display the heirarchy and also the document type in 2 diff colums... how it would be possible..is there any thing needs to be done at query level / do i need to take a RKF / CKF and write any code to bring heir and info object value?
    Iam bit confused here..pelase advice ASAP.
    regards

    you cannot have the same character in the query twice.  You can either have it in the hier format or just the char.
    I am wondering why you need to display the same characters twice in each column.
    The best way is to have them in the hier. format and in the char. properties expand the node level as you want so you will see them in the detail level.
    assign points if helpful

  • Limiting the Report Layout access other than Authorization Object S_ALV_LAYO

    Dear Experts,
    We have an issue of Layout Access limit to Users coz unwittingly these are being deleted.
    (Example: IW39 à after F8 à Settings à Layout.)
    The Authorization object S_ALV_LAYO which limits the access, has been defined in the multiple Roles, where every User been assigned with these Roles across Three Continents.
    Instead of hampering the existing Streamlined Roles, looking for other Options since if it may give odd behaviour after modifying the Roles then all the Users across the continents will be effected.
    It will be grateful if we get other options to limit the Layout access instead of controlling through Authorization Object.
    Thank you & Have a Great Day!

    Thank you Sebastian & Terence,
    The Global Roles has maintained with Authorization Object (S_LAYO_ALV) and these are been assigned to Every User coz all Users should access these reports.
    So now every User has maintained with the Authorization Object to access.
    Now we are trying to Control the Access to limited Users through without hampering the well maintained/streamlined  Roles, since if any adverse effects on the modified roles may impact to all the Users across the continents.
    Looking for other options.
    Thanks, I appreciate your time and efforts on this.

  • Report taking too much time in the portal

    Hi freiends,
    we have developed a report on the ods,and we publish the same on the portal.
    the problem is when the users are executing the report at the same time it is taking too much time.because of this the perfoemance is very poor.
    is there any way to sort out this issue,like can we send the report to the individual user's mail id
    so that they can not log in to the portal
    or can we create the same report on the cube.
    what could be the main difference if the report made on the cube or ods?
    please help me
    thanks in advance
    sridath

    Hi
    Try this to improve performance of query
    Find the query Run-time
    where to find the query Run-time ?
    557870 'FAQ BW Query Performance'
    130696 - Performance trace in BW
    This info may be helpful.
    General tips
    Using aggregates and compression.
    Using less and complex cell definitions if possible.
    1. Avoid using too many nav. attr
    2. Avoid RKF and CKF
    3. Many chars in row.
    By using T-codes ST03 or ST03N
    Go to transaction ST03 > switch to expert mode > from left side menu > and there in system load history and distribution for a particular day > check query execution time.
    /people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
    /people/andreas.vogel/blog/2007/03/16/how-to-read-st03n-datasets-from-db
    Try table rsddstats to get the statistics
    Using cache memory will decrease the loading time of the report.
    Run reporting agent at night and sending results to email. This will ensure use of OLAP cache. So later report execution will retrieve the result faster from the OLAP cache.
    Also try
    1. Use different parameters in ST03 to see the two important parameters aggregation ratio and records transferred to F/E to DB selected.
    2. Use the program SAP_INFOCUBE_DESIGNS (Performance of BW infocubes) to see the aggregation ratio for the cube. If the cube does not appear in the list of this report, try to run RSRV checks on the cube and aggregates.
    Go to SE38 > Run the program SAP_INFOCUBE_DESIGNS
    It will shown dimension Vs Fact tables Size in percent.If you mean speed of queries on a cube as performance metric of cube,measure query runtime.
    3. To check the performance of the aggregates,see the columns valuation and usage in aggregates.
    Open the Aggregates...and observe VALUATION and USAGE columns.
    "---" sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
    if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
    In valuation column,if there are more positive sign it means that the aggregate performance is good and it is useful to have this aggregate.But if it has more negative sign it means we need not better use that aggregate.
    In usage column,we will come to know how far the aggregate has been used in query.
    Thus we can check the performance of the aggregate.
    Refer.
    http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
    performance ISSUE related to AGGREGATE
    Note 356732 - Performance Tuning for Queries with Aggregates
    Note 166433 - Options for finding aggregates (find optimal aggregates for an InfoCube)
    4. Run your query in RSRT and run the query in the debug mode. Select "Display Aggregates Found" and "Do not use cache" in the debug mode. This will tell you if it hit any aggregates while running. If it does not show any aggregates, you might want to redesign your aggregates for the query.
    Also your query performance can depend upon criteria and since you have given selection only on one infoprovider...just check if you are selecting huge amount of data in the report
    Check for the query read mode in RSRT.(whether its A,X or H)..advisable read mode is X.
    5. In BI 7 statistics need to be activated for ST03 and BI admin cockpit to work.
    By implementing BW Statistics Business Content - you need to install, feed data and through ready made reports which for analysis.
    http://help.sap.com/saphelp_nw70/helpdata/en/26/4bc0417951d117e10000000a155106/frameset.htm
    /people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/0dbf65e04311d286d6006008b32e84/frameset.htm
    You can go to T-Code DB20 which gives you all the performance related information like
    Partitions
    Databases
    Schemas
    Buffer Pools
    Tablespaces etc
    use tool RSDDK_CHECK_AGGREGATE in se38 to check for the corrupt aggregates
    If aggregates contain incorrect data, you must regenerate them.
    202469 - Using aggregate check tool
    Note 646402 - Programs for checking aggregates (as of BW 3.0B SP15)
    You can find out whether an aggregate is usefull or useless you can find out through a proccess of checking the tables RSDDSTATAGGRDEF*
    Run the query in RSRT with statistics execute and come back you will get STATUID... copy this and check in the table...
    This gives you exactly which infoobjects it's hitting, if any one of the object is missing it's useless aggregate.
    6
    Check SE11 > table RSDDAGGRDIR . You can find the last callup in the table.
    Generate Report in RSRT
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    Business Intelligence Journal Improving Query Performance in Data Warehouses
    http://www.tdwi.org/Publications/BIJournal/display.aspx?ID=7891
    Achieving BI Query Performance Building Business Intelligence
    http://www.dmreview.com/issues/20051001/1038109-1.html
    Assign points if useful
    Cheers
    SM

  • Display attribute of master data depending on time

    Hi gurus,
    I have a requirement where in I need to show the employee ratings in the report. Employee rating is the attribute of 0employee. I have to create a report on the master data 0employee.
    As employee is the time dependent object for which we valid to and valid from dates. When I run the report, I am getting the record which belongs to current date. Ex I have three entires in the employee master for employee 1001.
    Employee---- valid to----
    valid from --profit center
    1001--31.12.2011-01.05.2011----P001
    1001--20.02.201201.01.2012-P002
    1001--01.06.201221.02.2012--P003
    1001--31.12.999902.06.2012--P004
    So now when i run the report today report will show the following record
    1001----01.06.2012-21.02.2012----P003 (Becuase today is 01.03.2012 and falls in this range)
    Now employee ratings for the previous year (2011) in the master data
    Employee- valid to -valid from -profit center-Rating LY2011
    1001--31.12.201101.05.2011P001--
    PP+
    1001--20.02.201201.01.2012P002--
    1001--01.06.201221.02.2012--
    P003
    1001--31.12.999902.06.2012--
    P004.
    When i run the report, i get following record but I need u201Crating LY2011u201D to be displayed in report. How is this possible?
    1001----01.06.2012-21.02.2012----P003 (AS IS)
    TO BE
    1001----01.06.2012-21.02.2012----P003....PP+
    PS: In simple words I need to dispaly performance rating of last yr in the report.
    Rating is characteristic field.
    Hope its clear
    Thanks
    Annie

    Hi Annie,
    The time dependent data displayed in the report depends on the key date used for reporting. For setting the key date you will have to go to Query Propeties option from Query designer.
    Now in this case you can either hardcode the key date or you can use ready to input variable or customer exit variable to calculate the key date.
    Based on the key date value the valid records from employee master will be selected.
    So if you key date falls between 01.05.2011 to 31.12.2011 first record will be shown otherwise second record will be shown.
    1001--31.12.201101.05.2011P001--
    PP+
    1001--20.02.201201.01.2012P002--
    Regards,
    Durgesh.

  • How can we change the Reports scheduled Time in OBIEE 11.1.1.5

    Hello Friends,
    I have scheduled BI Publisher reports for FTP, but now I want to change the scheduling time or cancel the scheduled reports.
    But I didn't get any option for that. If any body know, please let me know.
    Thanks & regards,
    Pradip

    Hi Pradip,
    Go to the report location. You will find options open, Edit, schedule etc based on previliges. Click on schedule.
    then you will find options, General, Output, schedule Notification. Under Scgedule tab you can change the scheduled time of the report.
    Thanks,

  • How to change the CORE-id/ Access server audit time from GMT to local

    When we enabled the auditing for CORE-Id and Access server, we noticed a mismatch on the time stamp. The ‘eventDateAndTime’ field for CORE-id server has audited the event in local time while the same for Access server is audited as GMT time. We wanted to make it consistent for both the servers; preferably to the local time.
    Any idea, How to do it?

    Hello,
    Try using this
    rd = new ReportDocument();
            rd.Load(Server.MapPath("CrystalReport1.rpt"));
            cninfo = new ConnectionInfo();
            //Name of server to which you want to change to runtime
            cninfo.ServerName = "D-3206";
            //Name of database to which you are changing
            cninfo.DatabaseName = "tempdb";
            //username
            cninfo.UserID = "sa";
            //password
            cninfo.Password = "sa";
            crDatabase = rd.Database;
            crTables = crDatabase.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table crTable in rd.Database.Tables)
                // Get the TableLogOnInfo from the Table and then set the new
                // ConnectionInfo values.
                TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
                crLogOnInfo.ConnectionInfo = cninfo;
                // Apply the TableLogOnInfo
                crTable.ApplyLogOnInfo(crLogOnInfo);
                // Set the location of the database. This value will vary from          // database to database.
                crTable.Location = crTable.Location; //"DATABASE.OWNER.TABLENAME";
    CrystalReportViewer1.ReportSource = rd;
    Thanks,
    Bhushan.

Maybe you are looking for

  • The answer why Best Buy and other places are having problems...

    Blame LG Display.  Looks like the Retina Display is having problems in production. http://news.cnet.com/8301-13924_3-20008149-64.html?part=rss&tag=feed&subj=iPhoneAtlas "The shortage of iPhone 4s as launch day approaches is due to limited supplies of

  • Blackberry Desktop manager pronlems.

    While installing the updated Desktop Manager program, may computer shuy off in the middle of installing. now when i hook up my phone it isn't recognized. if i try to remove or install the program it tells me that an installation is in progress and st

  • UWL decision buttons are different in two portal systems sandbox and develp

    Hi All,  we are in the process of  implementing the UWL in ECC6, the decesion buttons to select in these systems differ they are not same;  in one system we see all buttons in other system some buttons are missing. however we have the same settings a

  • Actual activity allocation / revaluation

    Hi All, My company is using SAP ISH (healthcare) in order to book Services to patient cases.  We have linked the Services to some activity types which are generated by the Performing Unit in ISH.  The Performing unit is linked to a cost centre in CO

  • What Dell Laptops are good for 3D Typography in Photoshop CC 2014?

    Well the search goes on...my Dell 17 with Intel Pentium ain't cuttin' it! lol My range is $900 - $1100. I'm looking for a Dell Laptop with a 17" monitor and ample processor with enough "dedicated graphics memory" to utilize the 3D features on Photosh