Quantcast
Channel: SCN : All Content - SAP Crystal Reports
Viewing all 4716 articles
Browse latest View live

Design of report that has rows down and columns across

$
0
0

I am not sure how to design this report. There are 30 columns normal with rows going down but then 3 columns of data for each month indicated in a date range (up to 2 years) that a user selected and is passed into report.  These "amounts" will be summed to the level of the rest of the columns in that row including that particular date (month/year). I looked at a crosstab but I don't think it will work for that many columns going across.  I am wondering if I need to put it in a stored procedure but then from what I read SAP does not support multi valued parameters passed in to stored procedures (and this report uses the multi valued parameters).  Any suggestions please?

I have attached a sample of the output (open with Excel to get best format).  The 201504 columns (AA) to 201603 (BJ) is the date range the user entered.  I can take start date and code for 2 years (even though user did not select all those months).


BEx Hierarchies in Crystal for Enterprise

$
0
0


Hello,

I am new to Crystal Reports and created a BEx query and a prompt  in Crystal to select the node I would like to report on.

When the data is presented in Crystal the nodes as well as the cost centers are displayed.

I only want to show the cost centers in my report and not the nodes. I have tried so many things and read many articles on the hierarchies but just can't find this solution.

Any help would be appreciated.

Thanks

Bryn

Sap Crystal Dash Boards on Export no Data is found in PDF

$
0
0

Hi All,

 

I had Created some crystal Reports and embedded some dash boards in the Crystal reports

 

when i export the Crystal reports to PDF , RPT ,EXCEl

 

 

when No data Found on Export to PDF or EXCEL

 

 

 

 

Please advise

 

How to get Data on Export Options

 

 

Thanks

Krishna.

Crystal Reports Crashes when connecting to MySQL Table

$
0
0

Our organization just recently installed Crystal Reports 2013, and it has been working without issue with most of our tables. We are using MySQL databases in our environment, and one of the new tables we have created caused crystal reports to crash when its added to a report. We did have a user able to create a report against the table, but whenever they click the refresh button it will give the same error.

 

The error is "Crystal Reports has stopped working" and windows starts looking for a solution.

 

Can anyone give me any direction to where to begin to troubleshoot this issue?

Problem installing service pack for SAP Crystal Reports

$
0
0

Hi all,

 

I am trying to install a service pack for Crystal Reports and running into an issue. I downloaded a service pack SP 5 from SAP downloads page at https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/patch_download/main_public.htm

 

An installer throws an error and installation cannot continue:

A reboot request is suppressed on the local machine. Please reboot the machine in order to proceed with the installation. INS00289

 

Versions:

  • Windows 8.1. Version 6.3 (Build 9600)
  • Crystal Reports -> Help -> About: 14.0.2.364 – which corresponds to v2011 SP2

 

I found a page http://solveissue.com/note?id=1880774 and followed the instructions. The page suggests multiple reboots – they did not help, or deleting a registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

I do not have this exact registry key – mine does not have word Pending in its name. The right pane of my Regedit displays only one line that says (Default) REG_SZ  (value not set).

 

Help is needed from anyone who is experienced with SAP service pack installations!

 

Let me know if I can provide more details.

 

Thanks!

Max

-

using CR 11.5.3700.0 on windows 2008 std version and facing an issue "Failed to render the page".

$
0
0

I am using CR 11.5.3700.0 on windows 2008 std version and facing an issue  "Failed to render the page".

This isssue is coming only on those report which contains any image/ logo on it. All other reports are working fine.

If i use version 10.5.3700.0 everything works fine on that server. 

what could be the issue ?

i have given permission on temp folder to network service user

 

Kindly help to resolve this.

Crystal Reports Merge Module and PDF Export

$
0
0

Hi there! I have a question about installing my program with Crystal Reports as our reporting tool. Currently, I'm installing our program(VB.NET, .NET 4.5.2 framework, entity 6, WiX installer) and I use a merge module (CRRuntime13_0_13.msm) inside the installer to allow us to view many crystal reports inside our program. Everything seems to work fine(as far as viewing the report) when we are running the application on a deployment machine. What fails, though, is the exporting to PDF(which is a huge need for us) and maybe a few other formats. If I download and run the CrystalRuntime13_0_13.msi....it seems to work perfectly fine, export and all! Is there anyway to get this functionality with the merge module or do I have to install the runtime? Also, on a side topic...can someone explain to me if there is any difference between doing a merge module over runtime or runtime over merge module? Does it mess with any other version of crystal or anything like that?

 

Thanks in advance!

Josh W.

BusinessObjects Enterprise prompt appears when sending keystrokes while computer is locked

$
0
0

Apologies if there is a solution to this posted elsewhere on the forums or in documentation, but I haven't been able to find anything on this.

 

I'm using Windows 7 and Crystal Reports 2011 version 14.0.4.738 RTM.

 

The problem occurs when I try to automate my reports using programs that send keystrokes via code like Autoit. Everything runs normally both when running my reports manually and with the Autoit script, so long as the computer is logged in.

 

However, when I run the automation script while the computer is locked, instead of the prompt for parameters, it prompts me for a CMC BusinessObjects enterprise log in, defaulting to the computer name for the 'System' dropdown box, the same username I use to connect to my databases, a blank password field, and Enterprise selected for the 'Authentication' drop down.

 

I do not have/use crystal server/CMC, so I'm not sure why it is suddenly giving me a prompt for this system when the computer is locked.

 

Is there any way to disable the "Log On to BusinessObjects Enterpirse" prompt from appearing when sending keystrokes while the computer is locked?  Does anybody know what causes this?


Can't Log into BOE

$
0
0

I am trying to maintain a Crystal Reports 2011 installation. I didn't write the reports nor set up the instance. All reports and BOE are on the same machine. I can no longer log into the Business Objects Repository even though the machine name, user, password and authentication method of Enterprise have been input. The only thing that has changed is that the Win 2008 server, which resides on AWS, has been upgraded, which changed the internal address of the machine. Is that the potential problem and where would this be fixed?

Thanks

 

Mike

Crystal Report Parameter Prompts not getting drop down value for Non-Admin User

$
0
0

The Problem: When connected to a Windows 2008 server with an account which is Not in the Windows Administrators security group, and I run a Crystal Report either via the Full Version of Crystal Reports, or via the Runtime engine, the drop down values for the Parameter fields are not retrieved and displayed. If I connect to the Windows 2008 server via an account which is in the Windows Administrators security group, the drop down values for the Parameter fields are retrieved and displayed.

 

My Environment:

  o Server: Windows Server 2008 R2 Enterprise

                 Crystal Reports 2008 CR Developer (Full) SP4, Version 12.4.0.966

                 Crystal Reports Runtime engine for .NET Framework 4 (32-bit), Version 13.0.4.705

 

We cannot give our end users Admin Priv's, so I need to know what would cause Crystal Reports to fail to retrieve the drop down values for the Parameter fields? Some kind of Windows Security Setting? Something with the install of Crystal Reports? Since I see the same behavior with both the Full version of Crystal Reports and the Runtime engine, I am leaning toward this being some kind of Windows Security Setting. Any help would be appreciated.

 

 

 


Are there any isues with run CR32 for Crystal 11 on Winserver 2008 64-bit?

$
0
0

Are there any isues with run CR32 for Crystal 11 on Winserver 2008 64-bit?

 

When I try  to launch Crystal XI on winserver 64-bit, it won't launch. I get a message display as follows in the details:

 

Problem signature:

  Problem Event Name: BEX

  Application Name: crw32.exe

  Application Version: 11.0.0.1994

  Application Timestamp: 43cca59e

  Fault Module Name: StackHash_d107

  Fault Module Version: 0.0.0.0

  Fault Module Timestamp: 00000000

  Exception Offset: 7ef2f89c

  Exception Code: c0000005

  Exception Data: 00000008

  OS Version: 6.1.7601.2.1.0.16.7

  Locale ID: 1033

  Additional Information 1: d107

  Additional Information 2: d107e6d2117b11b92a0d259df072f71a

  Additional Information 3: 2b4b

  Additional Information 4: 2b4b4da3590dc4884d36e0937f44b123

Invalid export type

$
0
0

Dear All,

 

I am facing the issue with "Invalid export type" when i am trying to create a PDF by reading the elements

 

I am using the Crystal reports 2013 and  VS 2010 which is running in Windows 2008 R2 platform.

 

faollowing is the error shown :

 

System.Runtime.InteropServices.COMException{"Invalid export type."}System.Runtime.InteropServices.COMException

 

This is working fine when i do the same with VS 2003 and with CR 9.0.2

 

Following is the stack trace :

 

at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()

   at Sample.clsCrystalToPDFConverter.Transfer(String inscode, String enrolment_number, String withdependent

 

I am attching the code for your reference.

 

Since i am beginer to the world of CR please help me.

 

Advance thanks.

programmatically changing the Paper Tray

$
0
0

Hi,

 

I have an HP LaserJet Enterprise M605n with 6 trays. I am trying to print a report to a specific paper tray.

 

I used the following code, without success. can somebody help me out?

 

 

 

Dim printerSettings As Printing.PrinterSettings = New Printing.PrinterSettings
printerSettings.PrinterName = "\\sshmdc\Job Manager Printer"
Dim pagSett As Printing.PageSettings = New Printing.PageSettings(printerSettings)
Dim rptClientDoc As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument = m_report.ReportClientDocument
Dim rasPROpts As CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions = New CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions()
Dim iBins As Integer = pagSett.PrinterSettings.PaperSources.Count
If iBins > 1 Then
rasPROpts.BinName = "Tray 2"
End If
rasPROpts.PrinterName = pagSett.PrinterSettings.PrinterName.ToString()
rasPROpts.JobTitle = "Reporting"
rptClientDoc.PrintOutputController.PrintReport(rasPROpts)
pagSett = Nothing
rasPROpts = Nothing

I am using SAP Crystal Reports Runtime engine for .NET Framework (32 bit) 13.0.13.1597

and SAP Crystal Reports, version for Microsoft Visual Studio 13.0.12.1494

Subreport parameter passed from main Report keeps prompting for values

$
0
0

Hi all

 

I'm facing the next problem: I need to create a report which, based on the BO User Name who executes it, makes up a list of valid values allowed for that specific user. There is a SQL Server 2008 table which stores the valid values for each user. I thought of creating a Command (SQL Query) to inquire on that table, based on the CurrentCEUserName() function. However, as far as I know, it is not possible to use variables or BO functions within the Command definition, but only Parameters.

 

The approach I followed is like this:

 

I constructed a simple report (main report) which contains a subreport in it. In the main Report, I created a Formula Field which gets the result of calling the CurrentCEUserName() function. Then, I intended to pass this value to the Subreport (which I placed in the Main Report's Report Footer)

 

 

Main Report Definition.GIF

 

Within the Subreport (Test3.rpt) I created a connection to a SQL Server 2008 DB, in order to retrieve the tables I need to display in the report. I created a  Command too (Query_Names_For_User).  This Command would filter the data which is related to the UserID I sent as parameter from within the Main Report:

 

SubReportDefinition.GIF

When the query gets executed, I'd get some data like this:

 

Command_Results.GIF

 

So, when user AFSITAdmin signs in, the Command should get the first 3 rows

In turn, I would use this data set ('Query1', 'Query2' and 'Query3') so that the user could choose one or more of these values for running the subreport.

 

Then, the Subreport's parameters would look like this:

 

SubReportParameters.GIF

The Query_Name parameter is based on the QueryDescription Command's column:

 

QueryDescCommandColumn.GIF

Then in the Select Expert Section I filter the data based on the Query_Name Parameter:

 

Select Expert.GIF

When I execute the report, it asks for the UserID parameter :

 

P_UserID Parameter.GIF

 

I think this should not happen since this parameter was passed using the User_ID Formula Field I created in the main report.


 

Anyway, if proceed and go ahead and type a valid User ID , like AFSITAdmin, then, the Command gets executed accordingly and the valid rows for that user get displayed on the Prompt so that the user can choose one or more values from the valid ones for him/her

 

QueryDescPrompt.GIF

If I select valid values then the report shows the data properly filtered:

 

ReportOutput.GIF

 

However, it is not right that the report asks for the UserID parameter since it was passed down from the Main Report into the SubReport. Besides, it would be no logical that the users were prompted to enter their own UserIDs in order to have their data available to be filtered (moreover, a user could enter other user's UserID and handle data he/she should not have access to).

 

I'm using Crystal Reports 2011, SP10, Patch1.

 

Any comment or help would be greatly appreciated

BEx Hierarchies in Crystal for Enterprise

$
0
0


Hello,

I am new to Crystal Reports and created a BEx query and a prompt  in Crystal to select the node I would like to report on.

When the data is presented in Crystal the nodes as well as the cost centers are displayed.

I only want to show the cost centers in my report and not the nodes. I have tried so many things and read many articles on the hierarchies but just can't find this solution.

Any help would be appreciated.

Thanks

Bryn


Tables with Different Data

$
0
0

I am using two flat Excel files as my database linked by the key table Code.

One table (Cost) has my costing figures and the other table (Data) is a dump from Quickbooks with my sales figures.

I need to calculate Total Cost by multiplying Quantity by Cost from the Data Excel file by the Cost in the Cost Excel file.

However, in the Code table of my Data file I have elements which are not in the Cost file, such as Credit Note, Miscelaneous, and Sales Discount.

So, when multiplying Quantity x Cost they are eliminated from the calculations.

I tried the following formula WHICH has not worked...

 

IF {Data_.Code} = "Credit Note"; "Miscelaneous"; "Sales Discount"

     THEN {Data_.Total Sale}

          ELSE {Quantity} *  {Cost}

 

Any help?

 

Thank you.

Crystal Reports stand-alone designer vs VS 2010 Version

$
0
0

We have Crystal Reports stand alone for 2013 - can it coincide with VS 2010 version of Crystal Reports on the same development machine?  To fully integrate with VS 2010 do you need to use that version of it?

 

We seem to be having issues in development mode with these 2 installed on the same machine.

Problem connecting Crystal Reports to either MS SQL Analysis Server or local cube file

$
0
0

Hello,

I am trying to use Crystal Reports to report on a cube built inMicrosoft SQL Server Analysis Services (SSAS), however Iam stuck at the very beginning, as I cannot connect to SSAS server.

 

Here is what I doinCrystal:

 

1)

OLAP Cube Report wizard -> Select Cube - > Add Server -> Server Type = Microsoft OLE DB Provider for olapservices 8.0 -> type the name of my SSAS server -> click Test Connection ->  I get the following error:

"The connection could not be established. Failed to initialize (Cannot connect to the server ‘...’. The server is either not started or too busy.) "

 

Crystal Reports and SSAS are installed on the same machine. SSAS is running which can be verified in SQL Server Management Studio and SQL Server Configuration Manager. I also restartedSSAS servicewith no luck.

Versions:

  • - Crystal Reports -> Help -> About: 14.0.2.364 – which corresponds to v2011 SP2
  • - SSAS is a part of SQL Server 2012. Help -> About: Microsoft Analysis Services Client Tools is of 11.0.2218.0 version
  • - Windows 8.1. Version 6.3 (Build 9600)

 

2)

Then I tried to open a local cube file:

OLAP Cube Report wizard -> Select Cube - > Local Cube file (.cub) -> select sample file Sales Reports.cub -> click Test Connection -> “Connected Successfully”.

However, I cannot select a cube file because OK button is grayed out.

 

3)

Then I tried to do withoutOLAP Cube report wizard:

I started a new report -> new Connection -> select OLAP. As soon as I click + to expand OLAP node, Crystal crashes (“Crystal Reports has stoppedworking. Windows will close the program”). 

 

I also downloaded from Microsoft Analysis Services OLE DB Provider for Microsoft SQL Server 2012, and installed it – this made no difference.

 

Any light shed on this is appreciated. Thanks!

 

Max

query join 2 databases on separate servers

$
0
0

I'm using Crystal Reports 11


So I'm not sure if this possible. I have 2 databases on separate servers that I'm looking to query in a single report. There are a few things I'm not clear on.

1. Syntax for joining the servers within the query language

2. If the above is not possible, can I

3. I understand I can connect to both servers in Crystal Reports, will I need to open CR and log on to each server every time I want to run this report?

4. Do I need to use something like sp.addlinkedserver

5. Is this futile?

Keep if X.12 or X.123 leave as is, no rounding

$
0
0

Hi,

 

I have been looking around for about an hour now and can not seem to find this exact question.

 

I have data from an XML file and sometimes the Price field has two digits after the decimal and sometimes 3

so most are 1.12 but now and then some are 1.123

I need to just keep them as is however no matter what I have tried so far the data gets either rounded or truncated.

 

I have tried ToText... no help

 

 

Any Ideas?

Viewing all 4716 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>