Drilldown report in Crystal

Hi,
I need to produce such drilldown reports with Crystal against an Oracle database
First Look of the report
Sales report for the country
North   $250
South  $100
East    $300
West   $150
Total    $800
I need to Drill on details for one of the items
Sales report for the country
North   $250
  AA     $100
  AB     $100
  AC     $ 50
South  $100
East    $300
West   $150
Total    $800
Is it doable with Crystal, if so I would like to know how it can be possible without using a stored procedure in Oracle.
Thanks in advance,
Venkat
Edited by: Venkat Ramamurthy on Apr 23, 2009 12:47 AM

First you need to create a group on country in the report and place the details in detail section. Now suppress your detail section based on the condition like this
drilldowngrouplevel=0
Now refresh the report and you can see all the countries and the total amount. When you double click on the group name country you can see the details.
Regards,
Raghavendra

Similar Messages

  • Error running reports from Crystal Server XI R2 with datasets

    Hi, sorry if my english is not good. I'm from Spain.
    I have a problem. I'm programming with Visual Basic .NET 2008.
    I'm using Crystal Reports Server and programming under Visual Basic to take reports from crystal Server, changing the tables from the report to datasets and scheduling this report.
    Crystal server change connections to CrystalReports.Dataset.
    Preview reports from server sends me an error "DataBase connector unknown"
    If I run this report (with datasets) into my VBNET application (into a  CrystalDecisions.Windows.Forms.CrystalReportViewer control), IT WORKS!!!
    I need help because I need to schedule these reports (to send them by email, export to PDF formats, ...)

    Reporting off of a dataset is reporting off of a disconnected datasource.  The reason your application works is beacuse you most likely populating a dataset in your application and passing it to the report at the same time.  When scheduling, there is no interaction with the report so unless the report is using an xml file on disk as its datasource, how can it retrieve data?
    To get around this, you can build a dll (.net data provider) that returns either a dataset or datatable and point your report to this dll.  this way, when the report is executed, it loads the dll which fetches the data for you.
    - so the first step is to compile a dll that returns a dataset or datatable.
    - to design your report off of this dll open the database expert and create a new ADO.NET connection.
    - in the File Path area, click the ellipsis ("...") button to browse to your dll and make sure the selected File Type is ".Net DataSet Provider".
    - once the dll is selected, you can choose the dataset/table returned by the dll.
    If your method in the dll is parameterized, it will add a parameter to the report (similar to stored procedure parameters.
    note: the location of your dll must be in the same path on the CR Server as it was when you designed your report in order for it to be loaded correctly.  I usually put the dll in a folder that I know will exist on both machines.
    Dan

  • FI-AR drilldown report

    Hello,
    I use the drilldown report to display the due date analysis for open
    Item for the customer. But I see that only the amount in Local currency (field name
    DMSHB) is available.
    In our system, in FI, we have activated the parallel currency (group currency, currency type 30).
    So, I need to the execute the report with the group currency, or need to have in the
    selection screen the field "currency type".
    How can I add a new key figure?
    I create the form in FDI4 transaction, form type Line item analysis.
    Thanks for your help,
    Jocelyne

    add another column with the group currency filtered on in the report. Did get any difficulty here?
    Sarma

  • Drilldown report FGI0 Account Number and compounding Chart of Accounts

    Dear all,
    I created a drilldown report in FGI0 for FAGLFLEXS (Reporting for Table FAGLFLEXT). I am showing the field Account Number. However the field display is [Chart of accounts][Account number] in the corresponding column, but I want to display only the Account number.
    If I remove the compounding field RKTPL from table TKAFD, then the program cannot find the Account Number Text.
    Is there a way to show only the Account Number, without the Chart of Accounts in its 4 first fields, and also show the account text?
    Thank you in advance!

    Dear All
    I need to change the GL accouts in Drilldown report FGI0. In FGI2 tried but i couldn't able to find the exact location to chage can you please help me. On how can change means regroup the GL account and need to add the new GL account in Drilldown report..
    Regards
    Chandrasekhar G

  • Drilldown reports

    Hi
    I have defined a drilldown report using transaction IMD1(report painter).
    The user wants an ALV list instead of the graphic control.When I get the ALV list and when I double click on a coloumn it should take me to a transaction.
    I couldnt find any setting where I can say this.The code is a generated code and so I cannot modify the code also..Can you please suggest any workaround for this.
    Thanks and Regards,
    Siva

    Hi Jaysree,
    I hope u have done the ALV creation part and the output is coming.
    Under :
    CLASS lcl_event_receiver DEFINITION.
    Hot Spot Click
           handle_hotspot
             FOR EVENT hotspot_click OF cl_gui_alv_grid
                IMPORTING e_row_id
                          e_column_id
                          es_row_no.
    ENDCLASS.
    Under:
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_HOTSPOT.
      CASE E_COLUMN_ID.
           WHEN 'ur_col_id_name'.
        DATA: lw_ITAB LIKE LINE OF I_ITAB.
        READ TABLE i_ITAB INTO lw_ITAB INDEX E_ROW_ID.
        IF SY-SUBRC EQ 0.
           SET PARAMETER ID 'QLS' FIELD lw_ITAB-PRUEFLOS .
           CALL TRANSACTION 'QA13' AND SKIP FIRST SCREEN .
        ENDIF.
       WHEN 'EXIDV'.
       DATA: lw_ITAB LIKE LINE OF I_ITAB.
       data lv like lw_itab-exidv.
       read table i_ITAB into lw_ITAB index E_ROW_ID.
       if sy-subrc eq 0.
       CALL TRANSACTION 'HUMO'AND SKIP FIRST SCREEN.
      endif.
      ENDCASE.
    ENDMETHOD.
    U need to:
    Set the event handlers that are defined in the class here
        set handler event_receiver->handle_toolbar      for alv_grid.
        set handler event_receiver->handle_user_command for alv_grid.
        set handler event_receiver->HANDLE_HOTSPOT for alv_grid.
    I hope this gives u some idea how to proceed.
    If not, please get back.
    Regards,
    Anjali

  • How to link a webi report from crystal report

    Hello everyone,
                          I am trying to link a webi report from crystal XI.
    In my crosstab, the data is divided grouped by periods.
    So for every country it shows data along a period of time.
    The details for the value of the crosstab are in a webi report.I am trying to pass the period value and country name as a prompt from crystal to webi but it is not picking them correctly.
    can we pass prompts from a crystal report to a webi url??

    Try to use OpenDoc URL to pass the parameter values from crystal to webi. To use OpenDoc URL you need to publish these reports in server. See the following example
    http://server name:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=wid&sPath=[folder name]&sDocName=Child&iDocID=4804&lsSEnter+State:=California
    Regards,
    Raghavendra
    Edited by: Raghavendra Gadhamsetty on Nov 14, 2008 8:51 PM

  • Open ECC report in Crystal Reports

    Hi,
    Question, hope you have some info on this...
    I want to try & open a custom report which is built in an ECC system (report is currently run as a "Yxxx" transaction) in Crystal Reports. Purpose is to further edit and format the report using Crystal Reports functions.
    Does anyone know what path to follow here? Do I have to set up a new connection for the given source system?
    Thanks for any tips advice.
    Ps. I have Crystal Reports 2008 and also the BI Integration Kit (not sure if this is used / required).
    Thanks,
    Willem

    There are transports that the SAP Integration Kit delivered.  you may have already installed this on your BW, but they would need to be installed on ECC if you want to query there.  Once these are installed, Crystal should be able to see an SAP - Table, Cluster, Function  Data Connection allowing you to connect to your ECC.
    You should review the SAP Integration Kit doc - it spells out authorizations required, how to handle security, etc.

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • Report crashes while formatting refreshed Report in Crystal Enterprise

    Hi,
    I have created a report on Crystal Enterprise 4 based on IDT universe.
    Thereafter I had refreshed report data for viewing layout to get an idea of further formatting improvements.
    While doing subtle changes report gets crashed frequently returning the following error:
    Grid row too large to fit in the page. - [JRC00002186]
    Any idea why this error occurs frequenly and how this can be handled ?
    Regards,
    Ray

    What kind of objects are there on the Report Header?
    Could you try suppressing it to make sure it's one of the objects on this section that's causing the issue?
    -Abhilash

  • Report in Crystal reports has different values in Infoview

    I have uploaded a Crystal Report into BO Enterprise using the CMC.
    The logging into the Infoview to view the report and the results are different to those in the report when run against the same data in Crystal reports.
    It is pulling up data, but not the correct figures. I dont know where it is getting its data from.
    Any help would be appreciated.

    I deleted the ODBC connection and recreated it with a new name.
    I then relinked the report in crystal reports, and it suddenly decided to give updated values.
    Thanks

  • Unable to view next page of report in Crystal Viewer using JAVA

    Post Author: sartu
    CA Forum: JAVA
    We have been able to successfully deploy a report through Crystal viewer XI /Java /Sun Solaris, report works fine, able to suppress group tree, but unable to veiw 2nd page of report.    The suppression of the group tree in the web page required a simple command , is there one that allows us to proceed to the next page?  I am not JAVA savvy so I will be communicating this to the person who will be making the correction, please pardon me if I left something out.
    Thank you!

    Post Author: Ted Ueda
    CA Forum: JAVA
    It's not clear whether your issue is with the Page Navigation controls not working, or whether you wish to programmatically skip the first page and go to the next page.  If the latter, then the CrystalReportViewer class has a showNthPage method.
    Sincerely,
    Ted Ueda

  • How to develop a report in Crystal with flexible database name?

    Hello
    I am a Project Manager of a project of developing reports in Crystal 11.
    The idea is to develop reports on top of the content in MS SQL tables.
    The initial testing and demonstration to the customer is done within the Crystal development environment.
    In a later stage, we need to integrate the reports with C# WPF application, using Crystal control.
    We currently use ODBC connections.
    We want the flexibility to set the actual database dynamically, by using the "default database" of the ODBC connection (or any other way). In other words, we want not just the flexibility to change the database server, but work with different database names, like "ProductDB_TEST", "ProductDB_PROD" etc. - without changing the report.
    Unfortunately, we got the answer from the developer that the database name should be pre-defined for a given report. Although the connection can be set to another server, the DB name cannot be set dynamically.
    Looking into the "Database" -> "Show SQL Query" menu, we see the following piece inside the query:
    INNER JOIN "DATABASE_NAME"."dbo"."IncidentTypeSnapshotData"
    So it looks like the query itself contains the DB name.
    Is it really a limitation of Crystal, or rather the developer working on the project doesn't know the trick?
    Thanks for any hint
    Max

    CR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
    Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is  csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    More info on connecting to dbs and changing them is in the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    More info on CR APIs for .NET (applies to all versions of CR and VS):
    Crystal Reports for Visual Studio 2005 Walkthro... | SCN
    You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
    More info on datasets:
    Crystal Reports Guide To ADO.NET
    Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
    For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Sample apps are here:
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    and here:
    Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
    More info on RAS SDK:
    How to Use The RAS SDK .NET With In-Process RAS Server
    Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
    - Ludek

  • Report in Crystal CRXI using Workshop class datasource

    I am trying to create a report using Crystal Reports XI that uses a Workshop class as a datasource. The documentation for V10 and XI says that any compiled java class that has a public method returning a java.sql.ResultSet object can be used as a data source.
    I followed an example in the Crystal documentation that uses a bean compiled outside of Workshop and it works fine. When I try to point the config file to my Workshop classes, it does not list any of my class files. Has anybody successfully done this?

    Hi Sudhir,
    For Building up a connection for OLEDB  we need :
    In order for Crystal Reports to connect to a database through OLE DB, there are some requirements that must be met:
    u2022     The database client software must be installed on the client machine.
    u2022     The client machine must be able to connect to the server from its client software
    u2022     The client softwareu2019s working directory (example. c:\orant\bin) must be in the Windows search path
    u2022     The OLE DB provider must be installed on the local machine.
    We have the connection for crystal reports through OLEDB :
    The process by which Crystal Reports access data from an OLE DB data source consists of these five layers:
    Crystal Reports Layer
    OLE DB Translation Layer
    OLE DB Layer
    DBMS Translation (OLE DB provider) Layer
    Database Layer
    The data translation is similar to the ODBC connection model. Crystal Reports uses CRDB_ADO.DLL to communicate to the OLE DB provider, which communicates to the database. Crystal Reports can connect to any database as long as that database has an OLE DB provider.
    When creating a new report in Crystal Reports, OLE DB data sources are found in the Create New Connection folder with the OLE DB (ADO) connection.
    Regards,
    Naveen.

  • Error '80070002'  when running report with Crystal 9

    Hi,
    A client of mine is using Crystal 9 designer and RAS. We are trying to get them to upgrade but in the mean time when ever we create a new report we get the following error:
    Error '80070002'
    (there is also a random file path but can't show this for privacy reasons)
    From what I can make out the current set up appears to be ok: they have the correct SDK files in the right place on the production application server.
    These files point to the RAS which sits on the QA application server. 
    When we run the report through Crystal designer the reports runs fine, however when we run it through our HR application we get the above error.
    Strange thing is though all of the pre-existing reports work fine...which is why I think the set up must be correct otherwise none of the reports would run, this is only happening with new reports we are trying to create.
    It's like the page tries to connect to the RAS but gets kicked out.
    I've tried seraching this and other forums but have not seen anybody else with this error.
    Any one got any ideas?
    Many thanks in advance

    Moved to .NET BOE SDK forum ( assuming this is a ASP.NET app )
    First thing to try is to turn logging on for RAS, stop the RAS server and add "-trace -crpetrace 7" ( I think these worked for RAS 9 ) and then look in the logs to see what the actual error is reported by CE 9. The error you posted is a COM error.
    Next we need to know if this is a WEB app or Windows App and what Dev language you wrote it in?
    What happens if you create a New report using the same database tables and info?
    Thank you
    Don

Maybe you are looking for

  • Ghost Display: 'Generic non-PNP Display'

    Before I start talking about the problem I have Thinkpad T420s 4173-W1J (which has Intel HD + NVS4200) and I have never used it with any external displays prior to this issue: A while ago I noticed a strange problem. If I let the computer enter sleep

  • Drop down menus / search engine friendly

    Hi, I've been tasked with creating a new company website and having it go live April 10th. I would like to use iWeb to get it done. Are drop down menus possible with iWeb? To be clear, I'm talking about if you hover your cursor over a menu item; say

  • Frm-92101 getting error when running form using webutil

    hi I get an error FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details i am using form version Forms [32 Bit] Version 10.1.2.0.2 (Produc

  • Can we migrate all trasfer rules to trasformatioms at one go

    Hello Goodmorning, Can you please help me to understand " can we Migrage all the transfer rules and update rules to transformations at one go" If we have large number of infocubes, going to each and every infocube and migrating its transfer rules and

  • Complicated ipod 7th gen question

    This is so complicated! I have a Macbook Air, OS X 10.6.8, I am registered with Itunes and I have a nano....I also have a second library for my husbands shuffle. He just bought a 7th generation nano. I want to hook it up to my laptop and put his shuf