Archived vs On demand Reports

Hi, My client is comparing newly generated on-demand reports with old archived pdfs. Some contracts that were in Active state in 2007/2008 have expired/cancelled or lapsed since then. My reports are showing latest information. Even the totals are not matching as there have been adjustments/updates to contracts over a period of time. What are the options available in this case...? Thank you.

select a,b,c
from table1
where :p_select=1
union
select a,b,c,sum(a,b),sum(b,c)
from table2
where :p_select=21. Actually the way you are writing query its wrong. While you are using UNION, UNION ALL, MINUS etc.. then the number of columns which are in SELECT statement should be same and also datatypes should be same.
2. The way aggregate (SUM, COUNT, AVG etc) function you are using in your query is also the wrong. You can not use two columns in one aggregate function.
3. As you are using aggregate function in your query you must have to use GROUP BY clause.
Is it possible to use different select query based on condition...just like if-then-else.? Thanks.By this sentence i can not understand what you actually want. If you can provide any example what is your data and what is your desired output then its will be better to prepare query.
But the query you use it can be like this...
select a,b,c, 0 col1, 0 col2
from table1
where :p_select=1
union
select a,b,c, NVL(sum(a),0) + NVL(SUM(b),0) col1, NVL(sum(b),0) + NVL(SUM(c),0) col2
from table2
where :p_select=2
GROUP BY A,B,CIf you problem is not getting solve by this. Then just provide any example data and what is your desired output. Then you can get the better reply.
-Ammad
Edited by: Ammad Ahmed on Apr 15, 2010 11:06 PM

Similar Messages

  • URGENT!!!!  - Reading Archived Data from a Report.

    Hi,
    The data, prior to 15 months, of some tables (BSEG, BSAK),
    used in the report YGF11347 has been archived.
    Previously this report YGF11347 was run for vendor payment information for any time frame
    through FBL1N.  So any vendor line items from 2004, 2005, 2006 and current year,
    all data elements were available to be extracted and displayed on the report.
    Recently the Check Amount is missing when executing the report for payments made prior to
    04/01/2006. This is because of archiving the data prior to 15 months.
    My requirement is tht i need to display this archived data also in the report "YGF11347".
    Can anyone please help me on this issue.
    Regards,
    Akrati

    hi
    good
    check this link, hope this would help you to solve your problem.
    http://www.ams.utoronto.ca/Assets/output/assets/ixos_637070.pdf.pdf
    thanks
    mrutyun^

  • Cannot open any On Demand reports, prompted to download a file "saw.dll"

    Hello,
    When I try and open any Siebel On Demand reports I am prompted to download the file Saw.dll. The same problem occurs on FireFox and IE, I have also opened reports on other On Demand environments with no issues at all.
    It seems environment related, but no-one else gets the same problem on that environment! Anyone come across anything similar?
    Thanks

    Hey,
    Even I use to face the same problem. Please do the following quick checks
    -Make sure Analytics site is part of trusted sites
    -Go to Options-Advanced-HTTP 1.1 settings, make sure both are checked.
    This should solve the problem.
    -Bk

  • Archive created for the report in Production server

    Hi experts
    I have developed a report to create sales orders. The report was working fine in quality, after transfering to the production some archive is getting created and it is occupying a lot of space. Could u tell me what is this archive and how can I rectify this bug.
    Thanks
    Gaurav

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • CRM on Demand Reporting; Action Links in Pivot Tables

    Hi All
    I have a problem with Action Links for Oracle CRM on Demand. When I click on an action link to navigate to an account detail page, I get the following error:
    The record you are trying to access has been deleted or has been assigned a new owner and you no longer have access to it. If you deleted the record, it may be accessed in Deleted Items. If you continue to have problems contact your Oracle CRM On Demand Administrator.
    Browsing the forums brought up this thread: Can't access a record with an ActionLink
    In this thread it's said to place the Account ID column right next to the Account Name column. This solution works for regular tables, but not for pivot tables.
    Is it possible to link to an account detail page from pivot links?

    For pivot tables you will have to use this method in order to be able to drill down to the detail page:
    On you Report-
    Define Criteria: Add the Account ID (Record ID field is a must)
    - Click on the Properties icon on this column--> Data Format Tab --> uncheck Override Default Data Format and select Plain Text from the Treat Text as drop down.
    Add the below code in the text area.
    "http://"@[html]"<a target=_top
    href=https://*secure-ausomxXXX*.crmondemand.com/OnDemand/user/AccountDetail?OMTGT=AccountDetailForm&OMTHD=AccountDetailNav&AccountDetailForm.Id="@">View Account</a>"
    Add this column on the Rows section of the pivot table.
    Hope this helps!
    Royston

  • Archiving MM_MATNR: dependencies check report available?

    Archiving MM_MATNR (Material master) requires all dependent objects to be archived in advance. If I do a test run for MM_MATNR it shows me why a material cannot be archived, e.g. because it is used in a BOM (SAP Note 900537). The problem is, that the test run log just investigates if the material is USED in a BOM, it does not check if this BOM already has a deletion flag (and therefore would be gone when doing "real" archiving).
    This means that after having archived and deleted BOMs, routings, ... and finally trying to archive the material master, I then will find that I have forgot set deletion flag on some BOMs and therefore cannot archive the material unless setting DF on the BOM and archiving BOMs again.
    I want to avoid that by ensuring that if a material has a deletion flag, all dependencies have a deletion flag as well.
    So my question is: does anybody know a report / query to check for a material number if all dependencies are flagged for deletion as well?
    Best regards
    Martin

    Archiving the Material Master
    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.
    Archive a Material Master Record
    When a material is no longer required in a company or plant, you can archive and delete the material master record. 
    You have to Flag the material master record for deletion. This is known as logical deletion. 
    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.
    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.
    Some of the archive error log message :-
    Costing data exists
    Use in routing
    Use in sales and distribution
    Use in bill of material
    Delivery exists
    Costing data exists
    Info record exists
    Purchase order exists
    The Archiving steps :- 
    Archiving object MM_MATNR for archiving material master records.
    You can display the archived data, but not reload it.
    To archive the material master, first goto transaction MM71.
    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).
    Save the variant.
    Maintain the Start date and Spool parameters and click execute.
    Click Goto Job Overview to check the archive status.
    To do a permanent delete, goto transaction SARA and click Delete button.
    Maintain the Archive Selection, Start date and Spool parameters.
    Click Test Session for testing or click execute to start the deletion program.
    Click Goto Job Overview to check the delete status.
    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.

  • QM Sample archive process and Flexible Reports

    Hi
    I'm looking for help in QM, regarding.
    1) QM Flexible Reports with t-codes please.
    2) Sample archive process with t-codes please.
    Thank you.

    Few QM reoprts:
    QA33,QGA1,QGA2,QGP1,QS58,QDH2,QM11,QI06.
    Archiving tcode:SARA.
    Hope this will help.

  • Selection of criteria to Create Average demand report

    Hi SAP master,
    I'm doing the functional spec for Average demand analysis report. This report will grab all the material that have been issue out from plant (mov 601) for the past 3 month periods. I already know which table can be use to build-up this report, the table is MSEG & MKPF.
    I will join this two table ( Get MBLNR where MSEG-MBLNR=MKPF-MBLNR) to get the document date,  example
    1. Material Document : 4900000000
        Document Date : 30.11.2006
        Total Issue Out : 1
    2. Material Document : 4900000001
        Document Date : 01.12.2006
        Total Issue Out : 2
    3. Material Document : 4900000002
        Document Date : 02.12.2006
        Total Issue Out : 3
    for the month of November only one material document contain material that have been issue out from plant. Then for the month of December i have two material document, then i will multiply the total issue out to get the grand total for the month of December
    (2+3=5).
    In my functional spec, how do i example the criteria? Actually this is my first time doing the functional spec.

    Hi,
    One more thing you have to add is movement type 602 also so teh total issue out should be the additon of 601 quantity ( - ) and 602 quantity ( + ).
    For the grand total of the month of December, you can mention in your FS stating that the quantity ( MENGE ) should be sum of all the MENGE available in the MBLNR starting from 01.12.YYYY to 31.12.YYYY.
    If you have any other clarification please let me know.
    Regards,
    RitiG

  • Tiger Archived File (.zip) demands a password on Windows System

    Hi! Any idea why this might be happening??
    I'm archiving a folder of files using OS X's Archive command, posting it on an iWeb page and having a Windows user download and unzip it. When he tries to do this, however, he gets an error message saying that the archive is password protected. From what I understand, OS X's built-in zip routine does NOT have password protection, and File Vault (fwiw) is off.
    Any help greatly appreciated. tia!

    Welcome to the Forums!
    I don't have an answer for you, except to suggest that the windows user try a different program to unzip the file (WinZip is the usual default).
    I can confirm that when I make an archive in Finder and transfer it to a PC, it opens fine with WinZip, no password requested or required. (There are small additional files in there that are normally invisible on the Mac, a .DS_STORE file and ._ files for every file in the original folder, these can just be ignired on the PC.)
    Hope this helps...

  • All Premium Subscriptions On Demand reporting No Programs

    Is this a set top or router issue? Incedentally, internet is working just fine.
    Thanks,
    Kyle

    tsauter wrote:
    Generally when I have seen that happen, it is because they are doing some form of maintanence.
    VHO stands for verizon hub office. There is 13(i think). You can find out which one you are by going to: menu---settings----system info.
    Actually "VHO" stands for "video hub office."  To the OP:  VHO3 is (Southern) California; it looks like you're in VHO4.  I believe the current list of VHOs is:
    1 - Texas
    2 - Florida
    3 - California
    4 - DC/MD
    5 - NY
    6 - MA
    6A - RI
    7 - NNJ
    8 - DE/SE PA/SNJ
    9 - Richmond, VA
    9A - Norfolk, VA
    10 - IN
    11 - Pittsburgh, PA
    12 - OR
    13 - WA
    14 - Harrisburg, PA
    15 - Buffalo
    15A - Syracuse

  • How To Run a Parameterized Report Stored in Crystal Enterprise on demand

    I have been integrating into Crystal Enterprise 10 for  many years now with no problem.  We use .net to schedule and run reports as well some administration tasks.  Users can view reports through our asp.net web application using the crystal viewers.
    However, I now have a task that requires us to run a report that is stored in CE on demand.  This can NOT be done through the viewer because it will not have direct user interaction.  The crystal report has to be bundled with other documents and then displayed to the user in a single PDF.  I have everything working right now if the report has already been scheduled and ran through CE.
    What I can't figure out to do is how to actually run the report in CE on demand and immediately get the results back.  I can't schedule it (even for immediate running) because I can't have it backed up in the job server queue.  If the report was local on the machine that Integerate with CE, I think it is as simple as loading document, setting parameters, and calling refresh.  However, I need this to happen in CE with the RAS or PageServer server.  In other words, the execution of the report needs to occur on server and I need the end results.
    I have scoured the Net looking for an example but everything either talks about scheduling through Job server or on demand through the viewer.
    Hopefully someone can help.

    Thanks for the answer Elaine, but I am still not quite there.
    We already had interactive on-demand report viewing working through our web app.
    The problem is that I need non-interactive on-deman report running.  Let me explain the process a little more to help paint the picture of the process we have.
    1.  While working in our application, the user selects an "information dump" on the selected the employee.  This dump is information from a number of different places and document types.
    2.  The application then goes to each of these different information areas and converts the information to PDF format.
    3.  Application stitches all the individual PDF files into a single PDF which is what is returned to the user via the web application.  The delivery mechanism cannot change due to requirement limitations.
    Currently, the information is coming from multiple MS Word mailmerge documents merged "on-the-fly" with data for the employee and a stored HTML worksheet that is also converted to PDF.
    We now have to add a PDF version of 2 reports that are ran when the user requests the information dump. 
    I already have the code to connect to CE and get a reference to the RASReportFactory.  We do this today using the interactive viewer.  However, we use the viewer to display reports that have already been scheduled and ran.  This means we simply make a call to RASReportFactory.OpenReportSource to get the source for the viewer.
    We now can't have a viewer in this process.  I found the call to the method OpenDocument on RASReportFactory to get a handle to a ReportClientDocument.
    I know how to properly set the values for the report arguments as well as the database information.
    What I don't see is a method to tell it to run the report.  I see Save and SaveAs but this simply saves the document by to CE or to a local file with the changes I made to parms and db info. 
    What do I call to tell it to execute the report so I can turn around and export it to PDF?  Thats the million dollar question.
    Edited by: Stephen Barrett on Aug 20, 2008 12:11 AM

  • Call manager and rme config archive report

    Hi,
    I know that rme does not support the call manager for config archive. It is clear.
    The RME home page show config archive status for failed devices and there are some devices which are not supported by RME config archive.
    I've set this devices to suspended state in RME but config archiv is trying with this devices also.
    This is a financial costumer and the local Financial supervisory authority would like to see all devices config is saving successfully.
    How can i exclude the call manager and similar devices from config archiv process and status reports?
    Regards,

    Hi,
    I would like to qoute from RME help.
    Working With Suspended Devices
    Suspended device state cannot participate in any RME application flows but all historical data pertaining to the device will continue to be maintained by RME.
    Nevertheless the RME is trying to fetch the config from suspended devices!!!
    What is the truth in this thing?
    Regards,

  • Report to show Service Requests that are open on a day selected by the user

    Dunno if I'm being thick, but I can't see how to do this in a report/dashboard...
    The user selects a day and the report pulls back all the Service Requests that were open on that day using the following logic...
    Service Request Opened Date <= Selected date & Service Request Closed Date >= Selected date
    Is this possible?

    You can do this with a report or a dashboard.
    For a report, create a report your subject ares, like Service Request. In Step 3, Create a prompt on your date and choose Column Filter Prompt. Give the prompt a caption ("Enter/Choose Date" for example). Choose the date field for the Filter on Column. Determine how you want the users to select the value and hit OK. My experience has been that you need to let users type in the date, as opposed to choosing from a drop-down list, because of the volume of data and performance reasons, but test it to determine what works best for your needs.
    For a dashboard, you would need to create a dashboard prompt for your dashboard report. You do this by creating a new report on your intended subject area, i.e. Service Request. Instead of creating the report as you normally do, you need to click on the Create Dashboard Prompt button at the top left, just below the Oracle logo. Choose the right reporting area, then complete the prompt details. Don't forget to allow for the prompt in your report.
    I always recommend that you consider purchasing a great book on reporting, written by Mike Lairson. It is an excellent resource for nearly all of your reporting questions. You can find it on amazon.com.
    http://www.amazon.com/Oracle-Demand-Reporting-Osborne-ORACLE/dp/0071593047/ref=sr_1_1?ie=UTF8&s=books&qid=1274893170&sr=8-1
    Good Luck,
    Thom

  • PeopleSoft Report Manager does not show up reports

    Folks,
    Hello. I am using Peopletools 8.49.
    The Report Manager has 4 tabs: List, Explorer, Administration, Archives
    After I run reports using Process Scheduler, nothing shows up under the above 4 tabs and this message comes up:"Invalide or missing parameter in request" under List tab.
    I have followed "Process Scheduler Documentation" - Chapter 5 "Using Report Manager" to configure it, but it's not working out.
    The following solution is for PeopleTools 8.44:
    http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/report-manager-nothing-showing-under-list-1011644
    Can any folks tell me how to solve this problem in PeopleTools 8.49 ?

    Folks,
    Hello Thanks a lot for replying.
    1) The default local node (PT_LOCAL) has been set a password that is login user password.
    2) I think I define the Report node correctly under "PeopleTools>ProcessScheduler>ReportNodes" as follows:
    Http Information is selected.
    URL: http://127.0.0.1/psp/ps/psreports
    (psp is Domain name, ps is Site name while configure Webserver. psreports is a folder in C:\)
    URI Host: http://127.0.0.1
    URI Port: 80
    URI Source: don't need this since Scheduler and Webserver are in the same machine.
    Logi ID: PSADMIN
    Password:PSADMIN
    Under Intergration Broker, I have done the follows:
    1) Gateway, Domain, Pub/Sub Server are running.
    2) Service Operations: PSRF_FOLDER_CREATE, PSRF_REPORT_CREATE, PSRF_REPORT_DATE_CHANGE AND PSRF_REPORT_DELETE are set "active" and "Asynchronous One Way".
    3) Login User PSADMIN are granted Roles "Report Super User" and "Report Dist Administrator".
    But Report Manager still cannot display Reports by this point.
    The only problem is that under "PeopleTools>IB>Configuration>Service Configuration>UDDI Configuration", when Ping the Inquiry URL and Publish URL, I got such an error message: "External System Contact error."
    Inquiry URL: http://PTNTAS28/UDDI/INQUIRY
    Publish URL: HTTP://PTNTAS28/UDDI/PUBLISHING
    I think the "External System Contact error" cause Report Manager cannot display Reports. This problem is caused by "Gateway" or "UDDI Server" not running correctly.
    Thus, I have 3 questions:
    First, Do I need to change 4 Service Operations from "Asynchronous One-way" to "Request/Response" ? What is Receiver node for routings ?
    Second, do I need to set up UDDI Server and configure it ?
    Third,, where to set up single signon for the default local node (PT_LOCAL) ?

  • How to hide columns in each page of SSRS report for grouped tablix

    Hello all,
    I have a requirement like when SSRS report (used row grouping)is exported to EXCEL
    1)  Each report page should be exported to a separate excel sheet
    2) Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    3) Eg: If a country report is there with details like country name, country code, currency code. Now each country details should export to separate excel sheet and sheet 1 should show Country Name and Country code; Sheet2 should show: Country Code, Currency
    Code; Sheet3 should show: Country Name, Country Code, Currency Code.
    I am done with point#1 above: Each report page should be exported to a separate excel sheet. Can some one help on point#2:Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    Thanks,
    Paandey : Dont forget to mark it as Answered if found useful

    Hi paandey,
    According to your description, there are three columns named country name, country code, currency code in the report. When export the report to excel, you want to show Country Name and Country code in sheet1, Country Code and Currency Code in sheet2, and
    show all of the three columns in sheet3.
    In Reporting Services, we couldn’t achieve your goal by setting visibility of columns in one tablix. As a workaround, we can use three tablix in the report, then add page break to the tablix. For detail information, please refer to the following steps:
     1. Since you have created a tablix with three column, copy and paste it to the report twice.
     2. Right-click column handle of Currency code in tablix1, click Column Visibility.
     3. Check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name = “EXCELOPENXML”)
     4. Right-click column handle of Country name in tablix2, set its visibility like step3 above.
     5. Select and right-click tablix2, click Tablix Properties.
     6. In General pane, in Page Break Options section, check Add a page break before check box.
     7. Click Visibility in left pane, check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name <> “EXCELOPENXML”)
     8. Select and right-click tablix3, add page break to it like step6 above.
     9. Set its visibility like step7 above.
    The following screenshot is for your reference:
    For more information, please refer to the following document:
    http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design-naming-excel-worksheets.aspx
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

Maybe you are looking for

  • My iphone 3gs no longer streams video to my apple tv only sound can anyone help?

    my recently updated iphone 3gs no longer streams pictures/videos to apple tv only sound, can anyone help?

  • Using hyperlinks in Java Report Viewer

    Hello, I want to use the hyperlink function in Java Report Viewer Component. In the Crystel Reports Developer Page Preview, I can click on a hyperlink (for example to a website), and a browser will open. The same on the Crystal Report Viewer 2008. Th

  • Another color management question

    Hi folks, Apologies for yet another color management question, but Im getting very confused and could do with some help. I use a Canon 10D and Canon 30D. Ive come to LightRoom from Pixmantec Raw Shooter. As Ive gotten more serious about producing hig

  • SerialVersionUID in abstract classes

    Hi, i have a Question about the serialVersionUID for abstract classes. first i will describe a simple example to show my problem. abstract class A implements Serializable {     private int value;     public A(int value) {         this.value = value;

  • Update for keynote not working

    I had the older version of this and did the update and it hasn't updated it and i don't know wat to do. And when i go onto icloud when i try to download a file off there it says i need the new version but i dont habve any downloads to do on the app s