Crystal Report from SQL imported into HANA

Hi experts,
We have a Crystal Report created on MS SQL 2008. We try to import it into SAP HANA, using an ODBC connection through the “Set Datasource Location” option. While the connection is being created successfully when we expand the Database’s menu, Tables are not being displayed.
The Database that is being used, has been created using Import/Export method by another HANA Database.
Has anyone faced the same issue?
Kind regards,
Vasilis Korolis

Just follow the steps I outlined in a previous post... Re: Graphics in Report?
HTH,
Jason

Similar Messages

  • Import data from SQL Server into MS Word document for Mail Merge purpose ?

    Hi,
    Is it possible to import contacts from SQL Server into MS Word for mail merge purpose or if retrieving data from MS Excel can we update the data in MS Excel sheet without opening it ?
    Note: Remember when you open a word document already set up for mail merge, asks you to run the query to return all records from the excel sheet it is connected to.
    Khurram

    Word and the current data source dialog do not really give you any help with that.
    You either have to be able to create a View in SQL Server that performs the query you need, then connect to that, or you have to be able to create the correct query manually (or perhaps using some other query tool that can help you), then use VBA to connect
    using that query. 
    For example, if you have been through the connection process once (connecting to a single table) then you will have a .odc (Office Data Connection file) which has the info. needed to connect to the correct server and database. It's a text file with some
    HTML and XML inside. You can copy/rename it. Let's say it is called "c:\a\myodc.odc" Then in VBA you can use something like
    ActiveDocument.OpenDataSource Name:="c:\a\myodc.odc, _
    SQLStatement:="put your SQL statement in here, and if it is long,...", _
    SQLStatement1:="put the second part in here"
    You get a maximum of either 255 or around 511 characters in the SQL statement, and Word tends to impose some syntax requirements that Transact-SQL does not, so e.g. you may need to quote all your table names.
    You can also se an empty .odc file and provide connection info. in the COnnection:= parameter in OpenDataSource.
    As background, until Word 2000, by default you would use MS Query to create your SQL query, and MS Query does have facilities that can help you build your query (a bit like the ones in MS Access). That may still be possible (it is a bit harder to find the MS
    Query option now, and I am not sure it works with the latest versions of Word). MS Query only works for ODBC queries, and they do not always work correctly when you actually issue the query using ODBC from Word, because of a Word problem to do with Unicode
    fields in SQL Server. But you could probably still use MS Query to help you construct your SQL. (It's probably easier to do that in Excel, though).
    Peter Jamieson

  • Cannot refresh a stored procedure within a Crystal Report from Xcelsius

    Please help...Xcelsius 2008 & Live Office problem...
    What I am trying to do is to refresh a stored procedure that is within a Crystal report from within my Xcelsius dashboard in Preview mode. The data returned appears on the Xcelsius dashboard. It works fine in Design mode, just not in Preview or when published as a swf.
    1. I set up a Crystal Report using a Stored Procedure as the data provider.
    2. The Stored Procedure has a parameter built into it.
    3. When the report is refreshed within Crystal, the prompt dialog box is displayed; I fill in the desired value, and run. Everything comes back fine.
    4. Crystal Report is exported to the repository.
    5. In Excel, I inserted the Crystal Report using Live Office. It shows up as a Live Office object just fine.
    6. I bound an Excel cell to the prompt; when you change the value in the bound cell, the Live Office object refreshes and displays the correct results.
    7. In Xcelsius, I imported the Excel spreadsheet.
    8. I set up a Text component that is bound to the cell containing the parameter value. Also set up a Grid to display the results, and a Connection Refresh button to call the refresh. Added a Live Office Data Connection pointing to the Web Service URL for the report.
    Note: When in Designer mode, if the value of the bound cell is changed, the results in the grid change accordingly.
    9. When in Preview mode (or generated swf), if the Refresh button is pressed, a "User Identification" dialog box appears asking me to log on. The values it asks for are: System, User Name, Password, and Authentication. I enter the same credentials as are within the Live Office settings in Excel, (which are working correctly), but receive an error "soapenv:Server.generalException: Database logon failed.".
    Note - all the id's are synced up - Business Objects, Database, etc.
    I've tried all kinds of combinations, but nothing gets me past this error. If I use any other server than the one listed under System in Live Office, the error message is "soapenv:Server.generalException: Server XXXXX not found or server may be down".
    I've noticed that in Excel directly, when I open the spreadsheet and refresh the Live Office object, I am prompted to log on to the database where the stored procedure is being executed. This dialog box does not appear once the Excel sheet has been imported into Xcelsius. One of the combinations I tried in the "User Identification" dialog box was the name of the database server, that didn't work either.
    I also tried creating the Live Office object directly within the Excel spreadsheet in Xcelsius, but then I was unable to bind the prompt value. Could never get the Live Office/Properties menu to appear.
    Ideas? Thoughts?
    Thanks in advance!
    Stephanie

    This post looks like a duplicate of: Live Office: Database logon failed error

  • Report from SQL Query -Excel format only show the first page

    Hi,
    I have some Reports from SQL Query. In the display options, I choose Excel as default format. The Excel documents only show the first page. If I choose HTML as default format, it shows every rows.
    Please advise on how to have a complete Excel document as HTML format does.
    Thanks a lot.
    Lina Han

    I beleive when you export Oracle reports to Excel it is the Data that is transferred along with Column Names.
    You cannot export the variables defined on the report.
    Hence you will not be able to export the Footer to excel. (Still looking into it will let you know if i find anything interesting)
    Regards,
    Bhushan Salgar

  • Database error when trying to view Crystal Report from InfoView

    I am receiving the following error when I try to view or run a Crystal Report from the InfoView.  The report is based on an SAP InfoSet.
    "Failed to load database information."
    The report data can be refreshed with no trouble from within the Crystal Reports designer on my local machine, but the error occurs after it is published to the InfoView.  The same error appears when trying to import into Excel using LiveOffice.
    Server details:
    -Edge 3.1
    -Windows 2003 64-bit
    -SAP Integration kit installed
    Local Crystal Reports machine details:
    -Windows XP
    -SAP Integration kit installed
    -Crystal Reports 2008
    My steps to troubleshoot so far:
    -Checked Database Logon details in CMC for the report.  Username and password are entered correctly.
    -Cycled all CrystalReports background services off and on again from the CMC
    -Rebooted server
    Have I missed anything?  Any help would be appreciated.

    Hi,
    do you have any connectivity from your EDGE to the SAP System ? Like can you import roles or run a WebI ?
    Regards
    -Seb.

  • How to Call Crystal Reports from Swing Application

    Hi All,
    I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
    Thanks in advance.
    Chandra

    hi
    this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
        import java.awt.*;
        import javax.swing.*;
        import com.crystaldecisions.ReportViewer.*;
        import com.crystaldecisions.reports.sdk.*;
        import com.crystaldecisions.sdk.occa.report.reportsource.*;
       public class HelloSwing
            public static void createAndShowGUI()
                try
                    //Make sure we have nice window decorations.
                    JFrame.setDefaultLookAndFeelDecorated(true);
                    //Create and set up the window.
                    JFrame frame = new JFrame("HelloWorldSwing");
                    frame.setTitle( "Testing Reports");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                    viewer.init( new String[0], null, null, null);
                  ReportClientDocument rpt = new ReportClientDocument();
                    rpt.open( "report path", 1 );
                    IReportSource rptSource = rpt.getReportSource();
                    viewer.setReportSource( rptSource );
                    frame.getContentPane().add( viewer, BorderLayout.CENTER );
                    frame.setSize( 700, 500 );
                    frame.setVisible(true);
                    viewer.start();
                catch ( Exception exception )
                    System.out.println( exception.toString() );
            public static void main(String[] args)
                javax.swing.SwingUtilities.invokeLater(new Runnable()
                    public void run()
                        createAndShowGUI();
       there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
    specify the key in the CRConfig.xml file (which also has to be imported in the package)
    u can find these jar files in the common objects folder in your program files.
    hope it helps. best of luck

  • Printing Crystal Reports from UDO form

    Dear Experts,
    I want to open a Crystal report from an addon. I've already found [the following thread|http://forums.sdn.sap.com/thread.jspa?threadID=2039424&start=0&tstart=0] and the [mentioned blog post|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/26720], and applied the solutions given there, but setting the parameters still does not work.
    The report is opened, but the report gives me the message "Input string was not in a correct format", and asks for the parameter. When I enter the parameter, the report shows correctly.
    My form is an UDO form loaded from XML, ObjectType set to my UDO. According to the latest answers, this ObjectType setting is the problem.
    My code is the following:
    Setting the form (the report is already imported into SAP, its DocCode is RCRI0002):
    AddOn.Application.LayoutKeyEvent += new SAPbouiCOM._IApplicationEvents_LayoutKeyEventEventHandler(SetPrinter);
    SAPbobsCOM.ReportTypesService rptTypeService = (SAPbobsCOM.ReportTypesService)
         AddOn.Company.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.ReportTypesService);
    SAPbobsCOM.ReportTypeParams rptParams = (SAPbobsCOM.ReportTypeParams)
         rptTypeService.GetDataInterface(SAPbobsCOM.ReportTypesServiceDataInterfaces.rtsReportTypeParams);
    rptParams.TypeCode = "RCRI";
    SAPbobsCOM.ReportType updateType = rptTypeService.GetReportType(rptParams);
    updateType.DefaultReportLayout = "RCRI0002";
    rptTypeService.UpdateReportType(updateType);
    SboForm.ReportType = "RCRI";
    the eventlistener function:
    public void SetPrinter(ref SAPbouiCOM.LayoutKeyInfo eventInfo, out bool BubbleEvent)
         BubbleEvent = true;
         if (eventInfo.ReportTemplate == "RCRI" && eventInfo.ReportCode == "RCRI0002")
              eventInfo.LayoutKey = "21"; //Set the key of the layout - hardcoded for testing
    I work on version 8.81 PL08
    Has anyone found a solution? Is there a solution on higher patch?
    Thanks
    Andrea

    OK, so we returned to this problem, and now I managed to make it work on 8.82 PL11. And now I can't remember anymore how I tried it back then. Maybe I did not use the DocKey@ parameter in the Crystal report.
    Anyhow, it looks like it works now.

  • Can't view Crystal Reports from BW

    Hi,
    I'm installing SAP Integration Kit XI 3.1 SP3 with IIS.  I am able to publish reports from BW to BOE but not able view them from BW.  I followed the documentation to use report/report_view.aspx to define the viewer application in Content Administration Workbench.  But it is giving me a "The page cannot be found" error when I try to view Crystal Reports from BW.  I tried looking for the file report/report.aspx but cannot find it.  I was able to locate the file in SAP_CrystalReport_View/report_view.aspx.  I repointed the system to this path but it still giving me the same error. 
    Anybody here encountered this before?
    Thanks,
    Elijah

    Hi Ingo,
    - has the report being saved to BW and then published to BusinessObjects enterprise ?
        Yes, the report is being published from BW to BOE successfully.
    - did you import the ABAP Transports to the BW system ?
        I imported all the transports that came with the Integration Kit.  I'm not sure if the ABAP transport is one of them.
    - has the viewing service in transaction SICF been configured ?
        Yes, the top entry in the handler list is /CRYSTAL/CL_BW_HTTP_HANDLER.
    I did notice that the BW system is on a different subdomain than the web application server.  For example,
       BW system        -  bw01.us.mydomain.com
       BOE web server -   boweb.mydomain.com
    Would that affect the single sign on?

  • Duplicate Object Name Error When Publishing Crystal Reports from BW to BOE

    Hi,
    We recently upgraded our systems (all client and server) to SP2.7 in order to solve a problem with saving Crystal Reports to BW.  Now we are experiencing a new error when trying to publish a Crystal Report from BW to BOE (either all in one step from Crystal Reports application or directly from within BW).
    Upon trying to publish a Crystal Report from BW to BOE, we get the following error:
    "An error occurred while saving and / or publishing.  The return code 1 was returned from the server.  Logon to Crystal Enterprise failed.  Unable to commit the changes to Enterprise.  Reason: Failed to commit objects to server : Duplicate object name in the same folder."
    We have repeated this issue numerous time with different reports, users and logon credentials and have verified that there are NOT any duplicate object names.
    Additionally, in some cases, the report ultimately publishes to BOE, but with the above error interruption along the way.
    Any ideas?
    Thanks,
    Josh
    Edited by: Josh Crawford on May 10, 2010 9:46 AM

    Ingo,
    Apologies for the delayed response.  We've spent a few days poking around with this issue, and had even opened a customer message for it (13641).
    In the end, it seems that the problem was somehow associated with the "Prepare this report for translation." flag in the "Save to BW Options" dialog box of Crystal Reports.  If we try to Save & Publish with the Translation flag selected, we get the duplicate entry error.  If we Save & Publish without the Translation flag selected, everything is fine.
    There are still some details we need to look into, but for the time being it looks like we don't have an issue anymore(assuming we ever did) as we're not concerned with Translation capabilities.
    If we come across the problem again, I'll post again.
    Thanks,
    Josh

  • Creating a crystal report from R/3

    Hi,
    I am new to R/3. I am trying to create a new crystal report from R/3. I already connect crystal report with R/3 using integration kit. My problem now is i not sure which field i should i take from a which table when i look in R/3.I been provided a link, http://www.sap-img.com/sap-sd/important-tables-for-sap-sd.htm where i can check all the table for SD, PM n etc. For example, i go to t.code VA03 and search for an order, i see there is so many field. How do i know which field is from which table n row. Let said i want to pull the below information to my crystal report, how do i know which table and row i should take ? (this is just an example)
    PO Number, Po Date, Material, Order quantity, pricing date, net value and overall status
    Thank you

    Moved to Integration Kit forum.
    The people in this forum will know more about the data structure than the CR Design forum which typically doesn't know much about the SAP Data sources Structure.
    Don

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Integrating Reports from SQL Server Reporting Services

    Dear Experts,
    I am given the URL to a report from SQL Server Reporting Services. The URL looks like
    [http://<report_server_host>/ReportServer/Pages/ReportViewer.aspx?/<category>/<report>&<list_of_parameter_value_pairs>]
    When this URL is executed, the user will be prompted for user name and password.
    And I am given the following requirements:
    - Integrate the report into SAP NetWeaver Portal
    - The report has to be passed parameters with values generated at runtime and which must be hidden (because it is sensitive data)
    Initially, I have been working on two options:
    1. using Application Integrator (portal application: com.sap.portal.appintegrator.sap, portal component: Generic)
    2. using URL iView
    With the Application Integrator, however, I got the following error:
    The operation you are attempting on item "/" is not allowed for this item type. (rsWrongItemType)
    I cannot find the solution to this. It looks like the URL which contain "/" after "?" is not appropriate for the Application Integrator.
    So I turn my focus away from the Application Integrator, but to using the URL iView instead. And in order to hide the parameters passed, I make the following settings in the URL iView:
    Request Method = POST
    Fetch Mode = Server-Side
    But then I got the following error:
    Failed to fetch the content. The response status was 401.
    Message:
    (I have defined an HTTP system and used it in the URL iView.)
    Does anyone know how to fix the errors (either with the Application Integrator or the URL iView)?
    Your answers will be much appreciated!
    Regards
    Sakprasat Sum

    Hi
    Was a solution for this found?
    I am trying to achieve the same thing, create an iView that links to an existing SQL Reporting Services report.
    Cheers,
    Andrew

  • Developing Crystal Report from SAP BEx query

    Hi,
    I am trying to create an crystal report from SAP BEx query( using MDX driver). I can able to connected to BEx query and got key figures and characterstics, but not able to get calculated key figures into crystal reports.
    Would likes to know how to use the calculated key figures used at BEx query level in Crystal Reports? and
    Creation of complex parametes in Crystal reports on SAP data.
    I really appreciate your quick reply.
    Thanks in advance.
    VR

    Hi,
    calculated keyfigures are shown like any other keyfigure in Crystal Reports.
    ingo

  • Crystal reports from command line

    Post Author: DrewJ
    CA Forum: General
    Hi,
    I need to run Crystal reports from the command line.
    Does anyone know how to pass parameter arguments when launching the application?
    I have tried cr32w.exe c:\reports\report.rpt arg="099909"
    (which launches the right report, but does not pass in the arg) 
    Is it possible?
    Thanks in advance,
    Drew Johnston

    Hi,
    Thanks for the reply.  The application would not be on the same server as the machine.  So if I used the command that you gave me would that actually run the report (ie refresh the data and then save the report ,as instructed in the settings, on to the network location).  Or would it just open up the report.  Also, how would I send parameters to the report, eg Dates or Status.
    This is the scenario.  At the moment a user would input data on to database via an external applicaion.  After inputting all the data, they would then have to log into Crystal Infoview.  Navigate to the report.  They would then click on the Schedule hyperlink.  They would change the parameters eg Start Date and End Date.   And then press the Schedule button.  The report would then refresh the data, and as specified in the Destination, it would write out to a network location.
    So we want the external app to write a command line prompt, so that the user did not have to log onto Crystal at all.  The application would send the relevant parameters and run the crystal report automatically without the user having to log into Crystal at all.
    Regards,
    Prakash

  • Need help in RFP - Migration Estimates for Crystal Reports from BI 3.1 to 4.1

    Hi,
    I have to migrate 100 crystal reports from BI 3.1 to 4.1. The reports vary from simple to complex in terms of complexity.
    I want to know the time estimates (no. of hours/report) for the above upgradation for a client proposal.
    What all parameters should i mention in the proposal?
    Thanks

    You don't actually have to upgrade the reports to a newer version of Crystal in order to migrate them from BO 3.1 to BI 4.1 and have them work.  BI 4.1 will work correctly with Crystal Reports that have been created in Crystal XI r2 and higher.  The inner structure of the .rpt file is essentially the same, with new things being added when new features from the newer versions are used.
    Some things to remember when migrating Crystal reports using the Upgrade Management Tool (based on my experience migrating a number of clients from 3.1 to 4.x):
    1.  If the reports were saved with a specific printer, make sure that the printer has been configured on the BI 4.1 server.  In 3.1 this was not an issue, but there's a change in printer processing in the newer versions of Windows Server where BI 4.1 will run that cause errors/warnings in the migration of these reports.
    2.  If your reports use ODBC connections, make sure that ALL of the required connections have been created prior to migration.  Even though BI 4.1 is 64-bit software, the Crystal "servers" are still 32-bit, so they require 32-bit connections.  If you're connecting to MS SQL Server, make sure you use SQL Server Native Connection 10.0 or 11.0 for these connections.
    3.  If you have Dynamic Parameters and you've had to make any changes to which DB drivers are used - even if it's in an ODBC connection that has the same name as the old system, be aware that you'll have to create new data connections that use the new ODBC connections or drivers and then point the data foundations to the new data connections - otherwise your dynamic parameters won't work.
    -Dell

Maybe you are looking for

  • Reading the data from table control and write log.

    Hi all,    In va01 trasaction i have table control 'All item'.    I want to write value of some columns,( Article no, Order, plant ) so on into ecatt Log file after saving the trasction, for all rows which is having article no.    Is there any possib

  • No Menu with Premiere Elements 12

    after install and open it up okay, there was no menu (eg file edit tool etc...). so that means it is difficult to shut down correctly and also difficult to navigate as it is better for me to have everything in the right place (eg menus) I run windows

  • Width of the blank in Fill in the blank questions

    Hi, I would want to have a fixed width for setting up the blanks...Say something like 3 and while taking the test only a size of 3 can be typed in.....

  • PDF Generation

    We have a need to populate a pdf from our business object model implemented in java. We currently use xml, xsl and fop to generate pdfs but our newest requirements include very complicated pdf's. Does anyone know of any another approach/tools that we

  • Memtest and Memory Slots

    I have been running memtest on my system as I'm fine tuning it and was experiencing tons of errors. I've been diligently reading the boards for advice and began adjusting voltage, timings etc, until I realized one thing I hadn't tried--putting my sec