Two problmes between  Crystal Reports 2008 and Bex Query

Hi Gurus.
I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
1)     I have defined some Parameters Fields using the follow options:
Type: String
List of Values: Dynamic
Value Options Level1:
                     Show on (Viewer) Panel :Editable
                      Prompt text: <text>
                      Sort Order: Ascending by value
                      Prompt With description Only : False
                      Optional Prompt: True
                      Allow multiple values: True
                      Allow discrete values: True
                      Allow range values: False
When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
There is any option to ability this option in the infoview.
2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
Thanks.

Hi Abhilash.
Thank you for your information.
1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
Thank you again.

Similar Messages

  • Crystal Reports 2008 and SAP BEX query.  Issue in retrieiving multiple recd

    Hi All,
    I have designed a crystal report which has BEX query as a datasource. The values from this query are placed in page header. Also two subreports are available which get data from an RFC. Main report and sub report are linked by primary key ID.
    (In the bex query one condition is implemented on a key figure)  When I run the BEX query , it retrieves single record. But when I execute the crystal report, execution says 2 records and my details section is getting repeated.
    I am unable to use filter as it is a keyfigure.
    Any suggestions or  help here is highly appreciated.
    Regards,
    Surya

    Hi,
    BEX query retrieves only one record (In the bex query one condition is implemented on a key figure) When I run the BEX query , it retrieves single record). I am puzzled on how the crystal is retrieving two records.
    Actually infocube has 2 records one with status "active" and the other with status "postponed". Some other fields also will vary.
    So, I cannot use this formula to supress.
    Regards,
    Surya.

  • Converted to Crystal Reports 2008 and now have an issue with deployment

    Post Author: lwager
    CA Forum: Deployment
    I have converted my application to Crystal reports 2008 and I have that as a prerequisite in my set up program but everytime I try to install the software package on the client's machine I get this error when it is trying to install Crystal Reports
    Verifying file integrity of C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msiWinVerifyTrust returned 0File trustedError: Setup has detected that the file 'C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msi' has changed since it was initially published.
    Does anyone know why I am getting this error?  Thanks in advance for your help.

    I'm having the same problem ! Can someone help me with this problem ????

  • How to bulid a Crystal report based on Bex query as source

    Hi,
    I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
    Thanks,

    Hi
    The Crystal Reports are integrated with BW such that the query built in BW can be used to bulit Crystal Reports on them.
    After launching the Crystal Reports, you will have and option : "Open reprt from BW" whcih will help you in opening the BW Queries and create Crystal Reports.
    Also in the Menu there is an optin SAP-->Create New Report from a Query
    Regards, Hyma
    Edited by: Hymavathi Yanamadala on Aug 13, 2009 5:52 AM

  • 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 2008 and BOXI3.1 issue

    Hi,
    Can somebody please help me finding a solution ?
    Here is the Problem:
    Environment Details DEV:
    BOXI 3.1product version 12.1.0.882
    Crystal Reports 2008
    DB2 database.
    Environment Details UAT BOX
    BOXI 3.1product version 12.2.0.290
    Crystal Reports 2008
    DB2 database.
    ISSUE Desc:
    1. I have designed a crystal reports in whih I have two parameters of type string.
    2. We are using this field to take inpuit from the user as a date field i.e. stardate and enddate in dd/mm/yyyy format (because Crystal default format is mm/dd/yyyy)
    3. converting this string in crystal to date type using Date() function.
    4. We are retrieving the records between startdate and enddate.
    5. This reports works as per our expectation in Crystal Report and on our DEV BOXI. i.e viewing and scheduling from CMC works fine.
    But doesnt on our UAT BOX.
    1. Report viewing from CMC works but when we are scheduling the reports for same date the instance success but they show report without data. There is no error while scheduling.
    2. Now, If I open the instance and try to reenter the startdate and enddate again having same date, then the instance show me the data.
    the dd/mm/yyyy format is working while viewing on UAT but mm/dd/yyyy format is working for scheduling.
    I am not able to understand why this is happening.
    Can any SAP member help me out please.
    Regards,
    Jon

    similiar problem here
    Incorrect date format in Crystal Report XI

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: Failed to Execute URL.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Crystal Reports 2008 and Sharepoint Services in 64bit

    Hi,
    I have searched and post questions about the problems with the fact that thera are no great support for 64 bit. And still no solution. Why? Why? Why?
    Now to my question. I have Crystal Reports 2008 in a Windows 2008 64 bit. Yes, I have got it running with the help of: Enable32bitAppOnWin64. But now to my problem...
    I want to run Sharepoint Services 3.0 on the same server. But read on Microsoft.com:
    The hardware and software requirements described in this article apply to both x32-bitu2013based and x64-bitu2013based systems. However, if you installed the 64-bit version of Windows Server 2008 and then modified the Enable32bitAppOnWin64 registry key so that Internet Information Server (IIS) is running in 32-bit emulation mode, you cannot install Windows SharePoint Services 3.0. To install either 32-bit or 64-bit Windows SharePoint Services 3.0 you must run IIS in 64-bit mode.
    Does this means that I cannot run my webapp and Sharepoint Services on the same machine just because you havent find any solution to the 64-bit problem? What to do???
    /R

    Raymond,
    We have 64 bit runtime for Crystal Reports Basic that comes with Visual Studio .NET 2008. The version number for CR Basic is 10.5.
    It sounds like you are out of luck if you want to use Crystal Reports XI R2 or Crystal Reports 2008 because there are no plans to release native 64 bit assemblies in those versions.

  • Error on installation (Crystal Reports 2008 and Windows 7)

    Hello,
    I'm trying to install Crystal Reports 2008 on a Windows 7 laptop.  Receiving Error 1904, Module C:\PROGRAM FILES\BUSINESS OBJECTS\BUSINESSOBJECTS  ENTERPRISE 12.0\win32_x86\ReportConvTool.dll failed to register.  This seems like a premissions error, but I have full admin rights on this system.
    We are starting training next week and I need to get the software installed.
    Any help you can provide would be great!
    Thanks!

    I have been looking and found the exact error above.
    So 2 of us have it but as yet there is not a fix.
    I understand that SP3 will help, but my problem at this second is I can not get the productr toload for the first time.
    Thus I do not think  I can apply SP3.
    Or (which is possilbe) am I wrong
    I will give it a go
    Thanks
    Edited by: Julian Gadd on Sep 21, 2010 6:34 PM
    Edited by: Julian Gadd on Sep 21, 2010 6:34 PM

  • Crystal Reports 2008 and Postscript

    Hello,
    I think I have to start a new thread for this. Originally I described the problem here:
    Printing Crystal Report to Postscript
    Now we upgraded our Crystal Reports for Visual Studio 2005 to the latest version - CR 2008 SP0. We had purchased the full version to be able to print the postscript files correctly, without any prompts for the file name, because I've read that this was a bug in the old versions, but it had been fixed. But I still cannot do this.
    I'm trying to print my reports to the postscript file:
    PrinterSettings ps = new PrinterSettings();
    ps.PrinterName = "TRADEPOSTSCRIPT";
    ps.PrintFileName = txtPath.Text.Trim() + "
    " + txtFormNo.Text.Trim() +
    ".ps";
    ps.PrintToFile = true;
    rpt.PrintOptions.CopyFrom(ps, ps.DefaultPageSettings);
    rpt.PrintToPrinter(1, true, 0, 0);
    I'm still getting prompt for the file name.
    This doesn't make any sense - the path and file name are specified in my code. The whole project will be useless for us if the users will be getting prompts.
    Could you please help me how to solve this issue?
    Thank you,
    Peter Afonin

    Hi,
    I am trying to print and specify a filename to a postscript printer as well. However, my version of crystal reports in Visual Studio 2008 does not come with this method....
    reportDocument.PrintToPrinter(printerSettings, pageSettings, True) ?  
    I have checked and there does not exist an overloaded method in the object browser for this 'PrintToPrinter' method that would accept PrinterSettings object??
    The only method I have is as below:
    ===============================
    public virtual void PrintToPrinter(int nCopies, bool collated, int startPageN, int endPageN)
        Member of CrystalDecisions.CrystalReports.Engine.ReportDocument
    Summary:
    Prints the specified pages of the report to the printer selected using the PrintOptions.PrinterName property. If no printer is selected, the default printer specified in the report will be used.
    Parameters:
    nCopies: Indicates the number of copies to print.
    collated: Indicates whether to collate the pages.
    startPageN: Indicates the first page to print.
    endPageN: Indicates the last page to print.
    ===============================
    My version is Crystal Reports Basic and is what comes with VS 2008 (not upgraded):
    From  the GAC:
    CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0
    FileVersion: 10.5.0.1943
    .NET FRAMEWORK v3.5 SP1
    Please help.
    Thanks,
    EM

  • Crystal Reports 2008 and WebElements

    Hi.
    It's possible to use "WebElements" with "Crystal Reports 2008"?
    I try to do want is in the user guide but can´t make it work.
    Even HTML Preview is not working.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Sérgio Martins

    Hi Sergio,
    In the future, we would be grateful if you could log a new post for each question. This allows us to be more efficient and help other customer who have the same question/issue easier to find the answer/solution.
    In addition, for any question related to applications, please use the Developer forums.
    I would suggest visiting our library at http://www.sdn.sap.com/irj/boc/sdklibrary and looking at the developer guide for the RAS SDK, either .net or java (I don't know which language your web application is developed in.
    You may want to use the ReportClientDocument which is part of the RAS sdk.
    The ReportClientDocument object model offers power and scalability for manipulating reports. It exposes the entire report structure in the SDK, which enables you to programmatically create, modify, and save changes to the report at run time.
    I hope this helps,
    Selenia

  • Crystal Reports 2008 and Excel data source

    I want to use a large Excel-sheet (with 139569 lines) as a data source for a report. Crystal Reports 2008 only seems to accept Excel sheets as a data source if they are stored in Excel 97-2003 format. But, then there is a limit of 65536 lines and I miss more than half of the data I need to process. Does anyone have an idea how I can solve this problem??

    Hello,
    No work around in CR when connecting to xls files. CR can only use xls files which has the 65K row limit. Our next version does support xlxs files though. Cr for VS 2010 is available, no Designer outside of the IDE though. CR 2011 is still in beta and no release data announced yet.
    For now all you can do is limit your sheets to 65k or export your XLS files to Access, must also be an MDB file type, not the new extended type. Once in an Access database now you can use it as your data sources.
    You can use a temp database so it gets destroyed each time or simple delete all records. Up to you how to manage it.
    Thank you
    Don

  • Crystal reports 2008 and outlook. corrupted encoding

    Hello everyone!
    I have a problem: when i'm creating connection from crystal reports 2008 (v1, hf16) to outlook with data source outlook or outlook/exchange, crystal report show in subjects texts with corrupted encoding.
    I have outlook 2008 and windows vista localized in russian language.
    For example, when i'm creating connection through data source based on the ВО universe - texts shows correctly.
    Have any ideas how to fix problem with outlook corrupted encoding?
    10x and sorry for my english.

    Hi,
    I would suggest to issue a message to SAP ( [http://service.sap.com/support] ) about this.
    Regards,
    Stratos

  • Unknown Database connector Error - Crystal Reports 2008 and OLE DB

    Hi,
    I want to create a report based on OLE DB provider.
    Once I Select it from the Database Expert list I get this Error: "Unknown Database Connector Error", and the list is empty.
    I am using Crystal Reports 2008 on Win XP SP2.
    SQL Server 2005 is installed on the local machine.
    If I create a UDL File and double click, I can see all OLE DB Providers on the machine.
    What am I missing ?
    Thanks,
    Yuval.

    Hi Friends,
    Thank you all for trying to help.
    - The installed MDAC version is 2.8 (It comes with XP SP2). I have tried installing it again and it says that it is already installed.
    - I am not using a bussiness view. Just the simplest blank report in CR2008. I am not able to start it using OLE DB, once I want to choose a provider - I get the error, before even entering connection details such as username and password.
    - I am able to build an ODBC report, but when trying to view it using Crystal Reports Windows Form Viewer (from within a .Net application) I get an error: "Failed to Open The Connection". It happens also with reports built on other machines using OLE DB.
    Same report works fine with the same application on different machines and I cannot figure out what is the difference.
    I think Something on my machine is not right.
    Any suggestions ?
    Thanks,
    Yuval.

Maybe you are looking for

  • Help! Need iPod GENIUS. iPods won't boot after some syncs except disk mode

    Greetings all! Long time lurker, new member! I hate this kind of first post, but I am stuck. After years of having iPods myself (mostly 2nd gen Nanos) and playing with friends' flash and drive based iPods, I bought a 5.5 gen 30GB video iPod in mid Ju

  • How to use  Javascript for anchors as I cant get it to work at all?

    I am currently trying to build my own web site using iweb 08. I am a total newby so this question is for anyone who knows about javascript, particularly Cyclosaurus. I have tried in vain to use Cyclosaurus's javascript for anchors in my FAQ's page vi

  • SAP Quickviewer query for pricing records - V12L and KONH / KONP

    Has anyone used the logical database 'V12L' for pricing queries? There seems to be an issue with this logical database with some vague warning messages.. When I tried to create a simple table join query with KONH and KONP there are again some vague e

  • After iTunes update all playlists gone

    I updated my iTunes, now all my playlists are gone and it changed it´s destination folder (It used to be my external hd now its on C). My music files are still on my external hd. I tried system restore but that didn't reset anything. How do I get my

  • Nested For Loop Trouble?

    Ok I need to have a nested for loop that asks a user to enter in a int number from 1-50. Whatever the number is, lets say 4 I need the program to count up asterisk and count down asterisks, like this. This is my code: import java.io.*; public class S