Crystal Report 2008 - Save Report with Data
I saved a Crystal report with data in Dev Environment on BOE Server (Infoview Folder) and this is transported to Quality Environment. In the quality environment, when I try to view this report, initial screen comes up with data of Development, instead of Quality environment.
I am expecting that it will load the default data from Quality environment for the stored selection.
Is there any settings to be done in the report settings, so that i can view the saved report in Quality Environment with Quality Env data instead of Dev Env Data?
Thanks Don for the reply.
In case, If we save the report with data in Dev, we need to update DB configuration to point to Quality Env using "Use Custom databse Logon Information".
But when it gets transported to production (From Quality), it will show up Quality Envdata. So should i have to update the BOE in Q Environment, to point to Production and transport it?
Is there any automated way that the system will point to right systems appropriately based on transport landscape?
Does the functionality of "Save the report with data" used mainly for user friendliness for analysis in one environment and this functionality is not supported to move between environments?
rgds
Karthi
Similar Messages
-
Crystal Report with text(csv) data file, can we set it as input parameter?
Hi,
I am a new user of Crystal Reports 2008.
I have created a report with charts in it. The input data comes from a csv text file.
Can I set the name of this text file as an input parameter?
as I need to generate 44 similar reports with different text filenames(and data)?
Thank you.
RegardsBrian,
Thanks much.
I did exactly what you said.
Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
but I got an error saying report not found.
Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
It ended up generating the report.
Now here is what I think is happening,
1) The save data in report option seems to be still on even though I have turned it off in 2 locations
a) file -> Report Options
b) file -> Options -> Reporting tab.
2) For some reason the logoninfo is getting ignored as well.
Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
Crystal Report with text(csv) data file, can we set it as input param? C#
and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
But the link he gave me tells me to try the same thing that we have been trying..
Here is my plan,
1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
2) why is LogonInfo getting ignored.
Meanwhile any suggestions from anyone are welcome. -
Unable to save the Crystal Report with Dynamic paramters in Enterprise
Hello,
We are not able to save our Crystal Report with dynamic parameters in Enterprise, Error message as follows :
"Failed to read data from report file C:\DOCUME1\...\crw{...}.rpt. Reason : Failed to read parameter object"
CR Developer Version 12.0.0.683
help us in this regard..
thanks,
Narasimha MurtyHello,
The error message occurs because the user or group who created the LOV does not have the appropriate rights in Business View Manager.
Try this hope its helps
To resolve this issue follow the steps,
1.Log on to Business View Manager as administrator.
2.Click View > Repository Explorer.
3.Right-click Dynamic Cascading Prompts. Click Edit Rights.
4.Click the appropriate user or group receiving the error.
5.Click the Granted option for the right to View, Edit & Set Security rights.
6.Click OK. Close Business View Manager.
The user or group is now able to save a report with dynamic parameters to Enterprise.
Regards,
Vinay -
How to create a report with data using the Crystal Reports for Java SDK
Hi,
How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats. I can create my own report through the following code snippet:
ReportClientDocument boReportClientDocument = new ReportClientDocument();
boReportClientDocument.newDocument();
However, I cannot find a way to add data elements to the report without specifying an RPT file. Is this possible? I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
is there a way to do this through these packages?
com.crystaldecisions.sdk.occa.report.data
com.crystaldecisions.sdk.occa.report.definition
Am I forced to create a RPT file for the different table and column structures I have?
Thank you in advance for any insights.
Ted JenneyHi Rameez,
After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser. I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
<%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
<%
try {
ReportClientDocument rcd = new ReportClientDocument();
rcd.newDocument();
// Setup the DB connection
String database_dll = "Sqlsrv32.dll";
String db = "qa_start_2012";
String dsn = "SQL Server";
String userName = "sa";
String pwd = "sa";
// Create the DB connection
ConnectionInfo oConnectionInfo = new ConnectionInfo();
PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
// Set new table logon properties
PropertyBag oPropertyBag2 = new PropertyBag();
oPropertyBag2.put("DSN", dsn);
oPropertyBag2.put("Data Source", db);
// Set the connection info objects members
// 1. Pass the Logon Properties to the main PropertyBag
// 2. Set the Server Description to the new **System DSN**
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
oPropertyBag1.put("Database DLL", database_dll);
oConnectionInfo.setAttributes(oPropertyBag1);
oConnectionInfo.setUserName(userName);
oConnectionInfo.setPassword(pwd);
// The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
// Add a Database table
String tableName = "Building";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
catch(ReportSDKException RsdkEx) {
out.println(RsdkEx);
catch (Exception ex) {
out.println(ex);
%>
Throws the exception
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
String tableName = "Building";
String fieldname = "Building_Name";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setAlias(tableName);
oTable.setQualifiedName(tableName);
oTable.setDescription(tableName) ;
Fields fields = new Fields();
DBField field = new DBField();
field.setDescription(fieldname);
field.setHeadingText(fieldname);
field.setName(fieldname);
field.setType(FieldValueType.stringField);
field.setLength(40);
fields.add(field);
oTable.setDataFields(fields);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
This code succeeds, but it is not clear how to add that database field to a section. If I attempt to call the following:
FieldObject oFieldObject = new FieldObject();
oFieldObject.setDataSourceName(field.getFormulaForm());
oFieldObject.setFieldValueType(field.getType());
// Now add it to the section
oFieldObject.setLeft(3120);
oFieldObject.setTop(120);
oFieldObject.setWidth(1911);
oFieldObject.setHeight(226);
rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
Then I get an error (which is not unexpected)
com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
How do I add one of the table.SetDataFields() to my report to be displayed?
Are there any other pointers or suggestions you may have?
Thank you -
Crystal Report with text(csv) data file, can we set it as input param? C#
Hi,
I am new to the forums and posted a question which belonged to the .net - SAP Crystal reports group.
Can someone help me with my problem? following is the thread that I have started.
Crystal Report with text(csv) data file, can we set it as input parameter?
Thank you in advance.Looking at the original thread, you are connecting to the text file via the DAO database engine:
"I added the text file as follow, new connection -> Access/Excell (DAO) -> select the file and the database type as text"
Thus I would use the same code for changing the text file as for changing an Access database. See Kbase [1218178 - Error: "Logon failed" when connecting to Access database in .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333133373338%7D.do] for more information. If that does not work, you may want to consider connecting via ODBC or feeding the data from the text file to and ADO .NET dataset and pointing the report at the dataset.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Problem With Crystal Reports Reading Date Fields From CSV File
I have a date field in a CSV file in the format 06/28/09 17:23:55.523. When I use ODBC the configuartion picks it up a character field. I overright the recommendation type by specifing it is a date field but whne I bring the data into crystal reports the dates are blanks. Any suggestions on how to get around this problem. I need to use the date for selection records.
PhasorThe question was answered under another thread. I had to use the split commmand to get rid of the fractions of a second
-
Crystal report with filtering data.
hi, i work on an add-on for creating crystal report with SAP B1 UI. Do somebody know how to do it. if possible please provide me the reference needed, way to create the crystal report, way to connect the crystal report to database.
hope u guys can help me out. Coz i'm new to crystal report. Thanks for help...Hi hock,
It is crystal report online documentation.
<a href="http://support.businessobjects.com/documentation/default.asp">http://support.businessobjects.com/documentation/default.asp</a>
Hope it helps.
Min -
How to create user editable Crystal Report with dynamic dataset
What I would like to achieve:
A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
What I do:
CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReport.Load(TemplateFilename)
Dim Results As DataTable
DataTable is filled from a database
CrReport.SetDataSource(mResults)
CrReport.SaveAs(NewReportPath, True)
The NewReportPath is opened in the default program.
What are the problems
The report is open in preview mode (not in design).
When the field is added to the report the designer asks for XML datasource on preview.The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?
-
Business Objects Crystal Reports with Clarity - anyone on here use is?
Hi all,
we are in the process of upgrading our Clarity system to version 8.1.1 - which has gone away from Actuate to support Crystal Reports instead.
Is anyone here using Crystal Reports with Actuate already?
I was looking into upgrading from CR XI to CR 2008 - but wondered if the extra functionality is worth the upgrade cost.
They say that users can interact with the data by sorting/filtering and re-formatting without re-querying the database - and there is a parameter panel that allows new parameters to be added to the 'saved' data..
i was wondering if those features are available when it is used with Clarity..
thanks in advance,
MattHi Matthew,
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum:
That forum is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk -
Crystal Reports with Java in Unix Environment
We have Crystal Enterprise Professional Edition and Embedded Edition v10 with us.We want to use them for generating reports in our development project.
We have to generate reports as batch jobs ( scheduled jobs) for which we will have a Java Application running in Z/OS (Unix zSeries). This Java Application will connect to our database(DB2) and retrieve data which should be filled in the report design(template).
1.Can the .rpt file have the design alone(without the data from database).?
2.Can we fill the data from the database using the .rpt file in a Java Application using an API ?
3.Can we export this file(report with data) to a text file with a specific character encoding.?
All the above has to be done using a Java Application that will run in a Z/OS(Unix Environment).
4.Is Java API for the above operations available as a .jar file that can be included in our classpath in UNIX Environment ?
I request you all to help me with these queries as soon as possible.
Million Thanks in Advance.Hi,
It seems that you are having issue with Crystal reports Java SDK's.
Post your question in Java Development - Crystal Reports forum.
That forum is monitored by qualified technicians and you will get a faster response there. Also, all Java Development queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding
Amit
Edited by: Amit Singh on Dec 2, 2008 2:55 PM -
Exporting Crystal Reports with embedded Xcelsius content to PDF
Hi,
I have a crystal report with an embedded xcelsius chart. I would like to schedule this report using Crystal Server 2008, sending it monthly as a PDF file attached to an email. But after exporting the report through Crystal Server, the xceslsius content is just blank. Shouldn't this be working?What is the version of Adobe Reader? Adobe Reader 9 should be there.Also check whether you have Flash Palyer/ flash Active X control installed.
If you can view the dashboard after exporting it to PPT,it means you have Flash Player installed. You need to try with Adobe Reader 9. -
Failed to Load database information - Crystal report with XML as datasource
Hello Friends:
I am getting the attached error when i try to load the Crystal Report with XML as data source.
I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
CrystalDecisions.CrystalReports.Design.dll
CrystalDecisions.CrystalReports.Engine.dll
Please let me know what should be done in order to resolve this.
Thank you!All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
So. make sure you are on SP 9:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
Remove your reference to CrystalDecisions.CrystalReports.Design.dll
Add the following references:
CrystalDecisions.Shared
CrystalDecisions.ReportSource
CrystalDecisions.Web (if web app)
CrystalDecisions.Windows (if win app)
I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Can anyone let me know how to integrate crystal reports with bi 7?
HI all,
Can anyone pls let me know the steps involved in integrating crystal reports with bi 7?
thanks
Pooja1.install BO client tools
2. install crystal reports
3.install sap integration kit
once you install in above sequence you will be able to pull data from BW system. -
Crystal Reports with BEx Query using Custom Exit Variable
Hi,
We have BW BEx Query using Customer User Exit variable to derive the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem". (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
Crystal Reports with BEx Query using Custom Exit Variable
Thanks,
AndyHi Vibhav,
We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
We tried that "mandatory" option and did not work either.
Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
23.08.2011 - 08:20:49 CET - Info for Customer by SAP
I have raised this issue on the Idea#s Place as an enhancement request
on the below link:
https://cw.sdn.sap.com/cw/ideas/5586
This ER contains the information of including the customer exit
variables in the report without checking the #input for ready# option.
This ER can be considered for being implemented in the future
versions. You can refer to SAP Note: 1515837 - How To: Enhancement
Request Process - "Idea Place" for more information regarding the Idea
Place.
Cheers,
Andy -
Crystal Report with 2 oracle datasources (left outer join) very slow
I've made a crystal report with 2 oracle datasources (2 commands). I'm using crystal 10.
These 2 data sources are linked with a left outer join.
The report takes a while to run (more then one hour).
i can run Both query's in a couple of seconds/minutes, but it looks like crystal is runniing the second query for each record in the first query.
When i make the same report in BO. Just 2 queries with merged dimensions in the report, it is taking a couple of minutes to complete the report.
Question is if somebody knows how crystal is handling these 2 different data sources.
Is there any way to say to crystal to fetch the data of both queries and do the join after that?
At the moment it looks like that crystal is going to the other datasource for each record in the first query, which will cost a lot of time.Joris,
I've always had a bad time combining a Command with any other object. Performance seems to drop dramatically, just as you've described.
I can't tell you specifically why, it falls off so bad...
The solution I've used is to do a linked server query (at least that's what it's called in MS SQL Server) I've never used Oracle, but I'd be VERY surprised if it didn't have that same feature. This will keep 100% of the processing on the server(s) and will get your run times back to what you would expect.
HTH,
Jason
Maybe you are looking for
-
HT201493 can 2 pepole use find my friends on 2 devices with the same apple id
My wife and I are connected to the same Apple ID we would like to use Find My Friends to follow each other but only one of use shows up on the map,
-
Problem in moving oid records with ldapmodify command
According to the LDAP 3 standard, the following ldif file should enable me to move one record from one DIT to another: dn: cn=john.smith,l=new york city,st=new york,o=us changetype: modrdn newrdn: cn=john.smith deleteoldrdn: 1 newsuperior: l=niagra f
-
ISuites Listener Port, how do I change it?
I have two database listeners, one for a database I originally had on 1521. Then I installed 9iAS, it has an iSuites listener listening also on 1521, but now I am facing some connection problems. Now that the installation is done, can I change the iS
-
Are apple going to do anything with ICHAT AV3???
I think many people have had cause to search the web to find answers to why ICHAT AV3 does not work with AIM. As was the case under Panther and ICHAT. I have looked at these pages with great interest hoping to see an apple solution to these problems.
-
How do I apply the color scheme I choose or develop to a photo (in Photoshop CS5) or a Video (Premiere Pro CS5)? kdoc