Retrieving data from a BW Query runs endlessly in Crystal

Hi,
I have installed Crystal Reports 2008 SP2 with SAP BO Integration Kit 3.1. When I create a new file from a SAP BW 7 Query I everything works fine (field selction etc) until I run it and try to extract data from the database. I can enter the parameters and enter the login data for the BW connection. After that I can see the entry "retrieving data from the database" in the status bar and that's it. The screen kind of freezes and I don't get any result. I can wait for 2 hrs no result. In the end I cannot even get back to screen. I have to close it through taskmanager.
I have tested the query with transaction RSRT and the same parameter value I chose in Crystal reports and there I get a result. Therefore the entry values should be fine.
Did I install anything wrong, did somebody encounter this problem as well?
Thanks a lot in advance for any help provided
Kind Regards,
Melanie

Hi,
I entered the SQL statement in transaction MDXTest but it is running since 7 minutes.
>> Transaction MDXTEST has an option to generate a test sequence and is not there to test SQL statements. You need to enter a valid MDX statement.
Function module "/Crystal/MDX_GET_STREAM_INFO" not found
>> then I would suggest you make sure that all the Transports from the SAP Integration Kit have been properly imported - see the Installation Guide for the SAP Integration Kit for details.
Ingo

Similar Messages

  • Error while trying to retrieve data from BW BEx query

    The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50.
    In BEx report there is a limitation but is it also a limitation in Webi report.
    Is there any other solution for this scenario where it is possible to retrieve more than 50 Characters?
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[3OD1RJNV2ZXI7XOC4CY9VXLZI], [Measures].[3P71KBWTVNGY9JTZP9FTP6RZ4], [Measures].[3OEAEUW2WTYJRE2TOD6IOFJF4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZHOST_ID2].[LEVEL01].MEMBERS, [ZHOST_ID3].[LEVEL01].MEMBERS ), [ZHOST_ID1].[LEVEL01].MEMBERS ), [ZREVENDDT__0CALDAY].[LEVEL01].MEMBERS ) ........................................................ failed to execute with the error Invalid MDX command with UNSUPPORTED: > 50 CHARACT.. (WIS 10901)

    Hi,
    That warning / error message will be coming from the MDX interface on the BW server.  It does not originate from BOBJ.
    This question would be better asked to support component BW-BEX-OT-MDX
    Similar discussion can be found using search: Limitation of Number of Objects used in Webi with SAP BW Universe as Source
    Regards,
    Henry

  • MS SQL database needs to run mdx query to analysis services to retrieve data from a BPC 10 Netweaver cube(view only)

    We are in the process of migrating from BPC7 SP12 Microsoft sql server to BPC10 netweaver on a sql server with BW7.4 and need to integrate our home grown data warehouse which is on a Microsoft sql server.  The data warehouse currently connects to BPC7 using integration services/analysis services and runs mdx queries to analysis services to retrieve data from the BPC7 cube (view only).  Please provide documentation on how to create this same integration with our data warehouse using BPC10 netweaver on a sql server.

    When you were setting up your ODBC data source for
    the Text driver, did you click on the "Options"
    button? There's a lot of options in there that I
    didn't understand at first glance.Yes I clicked on the options button, but the only thing there is dealing with file extensions. I left it set to the default.
    I have since tried closing my connection after I insert a record, I then try executeQuery, but still no luck. Seems strange that I can write to the file but not read from it. If any thing I'd expect the opposite problem.
    I have also tried using the class "JoltReport" from the sun tutorial instead of my own with the same result.
    Message was edited by:
    Hentay

  • Query Report:To Retrieve Data from A/R Invoice and A/P Invoice

    Hii Experts,
          I am a new Sap B1 Trainee.I am facing a problem when retrieving data from A/R Invoice and A/P Invoice in order to track
    Expenditure and Revenue according to a Bussiness partner,
    I am using union to retrieve the information,but it is saying a error that  Error Converting Varchar to Numeric and also
    i would like to know how can i show the total final payment by reflecting Downpayments in A/R Invoice and A/P Invoice
    With Regards
    Cherry.

    Hii.
    My Sap B1 version is 8.8.1 and patch level is 20. Actully i need a scenario where i can able to show both Expenditure and Revenue of a particular bussiness partner and profit/loss in a single query report.
    I need some tips regarding this,When i am doing union i am getting conversion error converting varchar to numeric when i take
    Sum(Line Total) from OINV and Sum(line total) OPCH group by docdate and docentry and BP .
    and another scenario is how to deduct A/P downpayment or A/R downpayment from A/P invoices and A/R invoice to get the final Revenue and Expenditure ..
    Thanks & Regards
    Cherry

  • How do I retrieve data from time machine from an old mac (which was running 10.5) on my new iMac running mavericks?

    How do I retrieve data from time machine from an old mac (which was running 10.5) on my new iMac running mavericks?

    See B 5/6.
    Time Machine Troubleshooting

  • Is it possible to retrieve data from an Oracle db with an LDAP query?

    Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?

    if you have Oracle Internet Directory, you will retrieve with ldapsearch data, which are physically stored in the database. But to select * from emp where ename='SCOTT', it is probably not possible.
    At least I have never heard of such a product which translate ldap query in sql query. But feel free to write your own one in perl :-)

  • Query to retrieve data from action infotype based on particular actiontype

    Hi folks,
    I need some help in retrieving data from infotype 0000.
    The records for a certain employee id (10035532) for action infotype are as follows.. I trying to retireve the LOA action records
       BEGDA-ENDDA-MASSN-MASSG
    1. 04/01/2008 - 12/31/9999 - Z7(RLOA) - 02(FMLA).
    2. 03/01/2008 - 03/31/2008 - ZB - 03.
    3. 02/10/2008 - 02/29/2008 - Z2 - 05
    4. 01/20/2008 - 02/09/2008  - ZB - 07
    5  01/05/2008 - 01/19/2008  - Z5(Paid LOA) - 05(FMLA)
    I have to retrieve the Z5 record for this employee. For every Z7 there is a corresponding Z5 record that links to the LOA records, in most cases the Z5 is immediately followed by Z7 record. I am able to retrieve such records successfully. However for few employees like one here the Z5 record is the fourth or fifth record down from the Z7. How can i retrieve the record in such a case?
    Also in some cases the date ranges are missing in between, in such cases can we retirieve data succesfully? For ex:
    1. 04/01/2008 - 12/31/9999 - Z7(RLOA) - 02(FMLA).
    2. 03/01/2008 - 03/31/2008 - ZB - 03.
    3. 02/10/2008 -                   - Z2 - 05
    4. 01/20/2008 -                   - ZB - 07
    5  *01/05/2008 - 01/19/2008  - Z5(Paid LOA) - 05(FMLA)
    Need some inputs on the query here.
    Thanks in advance,
    VG

    No responses. The thread is closed.
    VG

  • Retrieve data from a large table from ORACLE 10g

    I am working with a Microsoft Visual Studio Project that requires to retrieve data from a large table from Oracle 10g database and export the data into the hard drive.
    The problem here is that I am not able to connect to the database directly because of license issue but I can use a third party API to retrieve data from the database. This API has sufficient previllege/license permission on to the database to perform retrieval of data. So, I am not able to use DTS/SSIS or other tool to import data from the database directly connecting to it.
    Here my approach is...first retrieve the data using the API into a .net DataTable and then dump the records from it into the hard drive in a specific format (might be in Excel file/ another SQL server database).
    When I try to retrieve the data from a large table having over 13 lacs records (3-4 GB) in a data table using the visual studio project, I get an Out of memory exception.
    But is there any better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?
    Any help on this problem will be highly appriciated.
    Thanks in advance...
    -Jahedur Rahman
    Edited by: Jahedur on May 16, 2010 11:42 PM

    Girish...Thanks for your reply...But I am sorry for the confusions. Let me explain that...
    1."export the data into another media into the hard drive."
    What does it mean by this line i.e. another media into hard drive???
    ANS: Sorry...I just want to write the data in a file or in a table in SQL server database.
    2."I am not able to connect to the database directly because of license issue"
    huh?? I never heard this question that a user is not able to connect the db because of license. What error / message you are getting?
    ANS: My company uses a 3rd party application that uses ORACLE 10g. And my compnay is licensed to use the 3rd party application (APP+Database is a package) and did not purchased ORACLE license to use directly. So I will not connect to the database directly.
    3.I am not sure which API is you are talking about, but i am running an application of the visual studio data grid or similar kind of controls; in which i can select (select query) as many rows as i needed; no issue.
    ANS: This API is provided by the 3rd party application vendor. I can pass a query to it and it returns a datatable.
    4."better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?"
    ANS: As I get a system error (out of memory) when I select all rows in a datatable at a time, I wanted to retrieve the data in multiple phases.
    E.g: 1 to 20,000 records in 1st phase
    20,001 to 40,000 records in 2nd phase
    40,001 to ...... records in 3nd phase
    and so on...
    Please let me know if this does not clarify your confusions... :)
    Thanks...
    -Jahedur Rahman
    Edited by: user13114507 on May 12, 2010 11:28 PM

  • Retrieving data from OBIEE server using ODBC

    Hello.
    I am having difficulty retrieving data from OBIEE 11g using the ODBC connection. My intention is to read OBIEE Server data via a SQL statement issued from an Oracle database using gateways.
    I have read and followed the material here:
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e16364/odbc_data_source.htm#CACBFCJA
    I have also tried this from Excel 2007, but have not succeeded:
    http://gerardnico.com/wiki/dat/obiee/import_data_from_obiee_to_excel
    I have setup a gateway in Oracle and a database link. Iknow it is connecting because when I change the password to something invalid, I get a message about not being able to connect due to username/password.
    I have taken a query from Answers (the advanced tab) and tried running it from Sql Developer. The nsqserver.log file ends up with the following Notification:
    [nQSError: 13013] Init block, 'DUAL Num (=3)', has more variables than the query select list.
    As an experiment, I am using the SampleApp, and have generated the following query in Answers:
    SELECT s_0, s_1, s_2, s_3 FROM (
    SELECT
    0 s_0,
    "A - Sample Sales"."Products"."P3 LOB" s_1,
    DESCRIPTOR_IDOF("A - Sample Sales"."Products"."P3 LOB") s_2,
    "A - Sample Sales"."Base Facts"."1- Revenue" s_3
    FROM "A - Sample Sales"
    ) djm ORDER BY 1, 2 ASC NULLS LAST
    Is there a way to issue this query from a database client like SQL Developer? I have setup a database link called obiee via gateways to the ODBC connection, and add @obiee after the table name in the above query, but get the nqs error above.
    Thanks for any help. I can provide addl info if such would be useful.
    Ari

    That would explain my difficulty. I went to the link:
    http://download.oracle.com/docs/cd/E14571_01/relnotes.1111/e10132/biee.htm#CHDIFHEE
    that describes the deprecated client. I am confused by the statement there:
    "one of the many widely available third-party ODBC/JDBC tools to satisfy previous NQClient functionality"
    My understanding of ODBC is not very strong, so please bear with me. The statement above is talking about a client tool, but there also needs to be an ODBC driver available for BI Server. I may be a bit confused between driver and client, and what piece nq handles. I don't understand the comment about third-party ODBC when it comes to the driver piece, as that must be coded for BI Server. When I go to create a new DSN, the only driver that makes sense for me to select is:
    Oracle BI Server 11g_OH<id>
    That all works fine to setup a DSN. But I am unable to connect from Excel, etc., using this DSN.
    Put more simply, should I be able to connect to BI Server via ODBC - not using the deprecated BI ODBC client, but using other clients? Is there ODBC connectivity at all in OBIEE 11g?
    Thanks,
    Ari

  • Duplicate the details section when I retrieve data from Delivery notes

    Hey all.
    I built a query that retrieve data from ODLN and it works fine.
    But, when I have a Delivery Notes Document that has items from some different orders (that I copy them to Delivery notes of course) it duplicate my rows in the report
    I run the query at SQL server and it's work fine (on the same document)
    Is someone knows why this is happen?

    If one of these programs will not kick the iPod out of recovery mode than you are out of luck.
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too
    Your only home is to restore from your last backup
    iOS: Back up and restore your iOS device with iCloud or iTunes       

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Failed to Retrieve Data from the database.

    getting the following error message stating that
    Failed to retrieve data from the database.
    Details:4200:[Microsoft][ODBC SQL server Driver][SQL server] Incorrect syntax near 'Category ID', [Database Vendor Code: 102],
    i am not sure why I am getting above error message when running the report.
    I have a view linked to table. The Category ID is in View that I have created.
    need your help if you know what steps I should take to reslove the issue, thanks!
    mansoor

    Hi,
    Are all your data in the View or each time you run a query it update the View? Please try to update your View then run the Report again, much better if you delete the original View and replace with a new one,
    Regards,
    CLint

  • Failed to retrieve data from the database Error

    I had some reports setup in Crystal XI based on a Sql server but recently we had an upgrade, the database has been moved to IBM Informix.
    There is a certain table that seems to be causing the problem.
    The error: 
    "Failed to retrieve data from the database
    Details: 42000:[informix][informix ODBC Driver][informix]A syntax error has occured .[Database Vendor Code:-201]".
    I run the same query in MS Access and it seems to run fine.
    I even tried to do a simple dump of the table onto Crystal but no luck.
    Any help is appreciated.
    Thanks!
    Achett13

    Hi,
    It seems your ODBC Driver is not compatible, try to download a driver which supports Informix through CR XI.  I think you may have to download Data Direct Drivers 5.1 version to access Informix data tables through CR XI.
    You can google it for Data Direct Drivers 5.1
    Thanks,
    Sastry

  • Crystal Add on Failed to retrieve data from the DB Vendor Code: 2812

    Hi everyone
    Im using Sap Business One Version 2007A SP00 PL49, SQL 2005 and Crystal Reports Basic for Sap Business One (Add on 2.0.0.7). Whenever i try to generate a report from SBO the system displays the following message "Failed to retrieve data from the database DETAILS: Database Vendor Code: 2812"
    The scenario is that, according to the Colombia's product local expert, Is not possible to create Stored Procedures, Views, Functions or anything in the customer productive database, in order to improve the performance of the query i created other DB where i created an stored procedure, after that, i called it from Crystal where it's working ok. But when i try to generate it from SBO it show the message promted.
    Someone knows what could be happening
    I'll be thankful

    Hi everyone
    My Stored Procedure contains the following code "annar.dbo.OIBT c", where Annar is the database name.
    When i execute the report in Crystal directly is working without Issues, There everything is ok, the Stored Procedure parameters, sorts, cross tab. When i try to executed it from SBO it shows the prompt error.
    The connection was OLE DB (ADO). I created an ODBC connection with the following settings
    - SQL autentication based on Id and password created by user, in this case sa
    -  "Use Identifiers between "" ANSI " and "Use Null, filled and ANSI warning " are ticked.
    - Execute character data conversion.
    Microsoft SQL Native Client Versión 09.00.1399
    Nombre del origen de datos: Bisynf
    Descripción del origen de datos: BisynfDW
    Servidor: BISYNFGER
    Usar seguridad integrada: No
    Base de datos: (Default)
    Idioma: (Default)
    Cifrado de datos: No
    Certificado de servidor de confianza: No
    Multiple Active Result Sets (MARS): No
    Realizar conversión de los datos de caracteres: Yes
    Registrar consultas de larga ejecución: No
    Estadísticas del controlador de registro: No
    Usar configuración regional: No
    Usar identificadores entrecomillados ANSI: Yes
    Usar nulos, rellenos y advertencias ANSI: Yes
    Right now with Those setting is running ok again in Crystal Reports  but when i try to execute from SBO the error has changed the error now is "connection could not be opened", Report Name in this case "Informe Stock Total" { 1D2DBDC5-41DE-43C0-A23C-391E7AEF2A37}.rpt
    Tks a lot

  • MS Access - Failed to retrieve data from the database

    Hello,
    I've developed a quite complex report (CR XI) from a SQL Server 2005 database. The report contains a number of inner and outer joins and a subreport.
    I have a duplicate copy of the database held in MS Access. If I attempt to change the datasource location to the MS Access database, I'm unable to run the report and get the following error:
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x80040e14
    Source: Microsoft JET Database Engine
    Description: Join expression not supported.
    SQL State: 3000
    Native Error: -540806602 (Database Vendor Code: -540806602)
    By changing every outer join to an inner, the report pulls in data but obviously not what is required. It seems as though it doesn't like the outer joins.......
    Would this be in some way due to limitations with the JET database engine?
    Thanks in advance,
    Dom

    Hi Aditya joshi,
    Thanks for the reply.
    Unfortunately my query doesn't contain any FULL OUTER joins, just INNER and LEFT OUTER's.
    I've enclosed a parred down version of the SQL:
    SELECT numerous fields
    FROM   (`AAL` `AAL`
              INNER JOIN
              ((((((`CQ` `CQ`
              LEFT OUTER JOIN (((`SH` `SH`
              INNER JOIN ((`PA` `PA`
              INNER JOIN `AL` `AL`
         ON `PA`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `CA` `CA`
         ON `PA`.`ArchetypeID`=`CA`.`ArchetypeCode`)
         ON `SH`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `SD` `SD`
         ON `SH`.`SurveyID`=`SD`.`SurveyID`)
              INNER JOIN `F` `F`
         ON `SH`.`FormID`=`F`.`FormID`)
         ON `CQ`.`QuestionID`=`SD`.`QuestionID`)
              LEFT OUTER JOIN `PC` `PC`
         ON (`CQ`.`QuestionID`=`PC`.`QuestionID`)
              AND (`AL`.`ProjectUPRN`=`PC`.`ProjectUPRN`))
              INNER JOIN `FI` `FI`
         ON (`CQ`.`QuestionID`=`FI`.`QuestionID`)
              AND (`F`.`FormID`=`FI`.`FormID`))
              LEFT OUTER JOIN `QG` `QG`
         ON `CQ`.`QuestionID`=`QG`.`QuestionID`)
              LEFT OUTER JOIN `CQG` `CQG`
         ON `QG`.`QuestionGroupID`=`CQG`.`QuestionGroupID`)
              LEFT OUTER JOIN (`E` `E`
              INNER JOIN `SDE` `SDE`
         ON `E`.`ElementID`=`SDE`.`ElementID`)
         ON `SD`.`SurveyDataID`=`SDE`.`SurveyDataID`)
         ON `AAL`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `A` `A`
         ON `AAL`.`AreaID`=`A`.`AreaID`
    Can you see where the problem lies?
    Many thanks,
    Dom

Maybe you are looking for

  • Website in IE looks fine, however not in firefox or safari?

    Hi I'm currently underway with a website that is looking good in ie, but horrendous in firefox and safari???? Has it something to do with the css?  When in Dreamweaver it previews well in all browsers (apart from the accordion spry panel in firefox,

  • Query UDDI Registry

    Hi, I write an application to query an uddi registry.I use too many uddi registries to query,but every time I could not get any result.I get the size of the query is 0.Here is the little part of my code; ConnectionFactory connectionFactory = Connecti

  • Connecting Oracle DB with SQL server

    I need to connect an Oracle Data Base to a SQL Server throught a BPEL process. Somebody knows about a TUTORIAL or maybe other guide.....pls this is urgent. Thanks

  • Footer sizing alters for PDF but not RTF

    Hi Just wondered if anybody has come across this issue. In word you can adjust the size and therefore the location of where the footer starts. I tried doing this and it saves fine in the template. When I preview to PDF the footer setting pulls throug

  • Security related login credentials

    Dear Experts, Right now we are sending some financial data (vendor payment data)  from R/3 to Bank using XI middleware. Here  FI User will send data from R/3 to XI and from SAP XI to bank. The FI user password can be changed by BASIS people.   Here f