Regarding Crystal report parameter from and to.
hi.
I am having one requirement ie.
Normally we are giving..i.e
We are using parameter in Sap b1 like Docentry
Based on this one Docentry the data will fetch from the data base and it will shows into the sap crystal reprot
suppose Ex Docentry = 3 then it will show the data.. then
but ring now what i nee dis Docentry from and to
fromdocentry = 1
todocentry = 5
so, 1,2,3,4,5 five documents should be generate one by one in crystal report in single crystal report not 5 pdf files single pdf should have 5 doc entries
Is it possible how can i do it.
how can i do it...
Hi
I think it is not possible from Crystal Report but below discussion indicates it is possible through some Crystal Report SDK tool.
Exporting a Crystal Reports file into multiple PDF's
How to export a crystal report into several pdf files then email them to several email addresses
With Regards
Balaji Sampath
Similar Messages
-
Crystal Reports XI R2 and Delphi 7.x
Post Author: Laurent
CA Forum: Other
Hi,
i'm using Delphi 7.x and Crystal Reports XI R2 and VCL for CR XI.The Database is an Oracle 9.x or 10.x acording to our software internal version.
When i run the application i got an error 100: error loading crpe32.dll.
I look in the KB and found it is connected to a path issue or missing MFC42.dll.
I check for the last file, it exist on my machine, i edit the path, setting the CR bin folder first in the list, not helping.
Any other idea, please?
BR
LaurentPost Author: Luca Pucci
CA Forum: Other
Hi Laurent,
I've tried the solution you suggest but it seems fix the problem only partially, i still get the 'can't load library' error form time to time, expecially after I've priented many reports from my application (that's strange but that is !).
Browsing through TCrpe source files I've found that the funcion GetCommonFilesPath in the file UcrpeUtl.pas use a registry key that is not valid if you're using CR11rel2 :
regKey.OpenKey('SOFTWARE\Business Objects\Suite 11.0\Crystal Reports', False);
if you change this line in :
regKey.OpenKey('SOFTWARE\Business Objects\Suite 11.5\Crystal Reports', False);
recompile and reinstall the package and everything seems to work fine.
You don't need to have the crpe32.dll in the same folder as your executable anymore, because now your application can retrive the correct common file directory and load the dll from its standard location.
There are some other registry key that point to version 11.0, they don't seems to be important and I decided not to change them, but eventually you can decide to change them all.
Best Regards
Luca. -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Crystal Report 2008 SP3 and BO XI 3.1 conflict
Hi every body,
We have a BOE system:
BO XI 3.1
Oracle db 10g
All running successful and can create some types of WebI report.
But we also want reports with Crystal Report.
1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
We set rights for Oracle DB user again. But still error: cannot fetching.
4> We searched the solution for this problem on the internet. But not worked, no answer.
Can somebody help me bring back the BOE system state again ? pls :"<
T______THi Paul,
I hope I read your question right!
Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
Regards
Rim Geurts -
Performace Issue using Crystal Report For enterprise and BEx Queries
Hi all;
We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
|7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380| 56|ModalContext | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
java.lang.AssertionError
at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
Best Regards
AnisVenkat,
Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 > Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
K
Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM -
Crystal report viewer from portlet
Hi,
I have a problem with opening Crystal report viewer from portlet. I am using Spring portletMVC but this doesnt matter in this case. After clicking some button a controller process form in method where is access to ActionRequest, ActionResponse. But how can I "redirect" with some parameters to plain JSP page where I can write something like this:
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(rcd.getReportSource());
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
viewer.dispose();
Oh, perharps is understandable, sorry for my English and thanks for helping. Any code of link would be wonderful.I haven't worked with Crystal Reports in quite awhile, but in the past I've written code to launch Crystal Reports using OLE. If I recall correctly, there existed an ActiveX control that could be embedded into VB forms, and the like. I'm unsure, however, whether they continue to support this mechanism. Given that your requirements do not allow CLIENT_HOST or DDE, however, I am guessing that OLE automation would also be unacceptable.
Have you looked at WEB.SHOW_DOCUMENT?
Eric Adamson
Lansing, Michigan -
Having trouble opening Crystal Report files from a document library
I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
I have referenced for possible solutions:
http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
Here are the steps I have done to try to get the .rpt files to open:
Added the Crystal Report extension .rpt as a MIME type
Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
Installed the 64-bit Crystal Reports runtime
I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
Thank you,
AlexWe are having the exact same issue, has anyone resolved this yet?
-
Crystal Reports Server 2011 and BW 7 as a data source for uploaded reports.
Hello,
I am hoping someone can provide me with a clear answer for this.
Lets assume..
1. We are running crystal reports server 2011 and BW 7
2. We want to publish a report in the BI Launch pad so users can view it
3. Can we create a crystal report in the report designer with the data source as BW 7 then upload it to the reports server and have it run on-demand and Run over night?
Can anyone shed some light in this area?
kind regards
davidHi,
Crystal Reports Server is not supporting the SAP Integration Kit. You will need BusinessObjects Edge or BusinessObjects Enterprise
regards
Ingo Hilgefort -
Crystal report 8.5 and 11 compatibility with Office 2007
Hi, we are currently running Crystal report 8.5 and 11.
We are projecting to migrate to version 2007 of Office.
Is Crystal report 8.5 and 11 has been tested with office 2007?
Regards,Hi Eric,
You can download [Platform supported guide|https://websmp207.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202&].
It will help you out in better understanding of compatible environments.
Regards,
Shweta -
Crystal Report 8.5 and 9 installed on the same box
Is it possible to have Crystal Report 8 and 9 installed on the same server?
Hi Michael,
You can install Crystal Report 8.5 and 9 on same box.
However, there are chances that dll may conflict and few issues may occur.
Try to install on different harddrives.
Regards,
Shweta -
Crystal Reports functionality from Save The Cat
Sorry if I've missed this in the presentation video since I've only watched half of it, so I have no idea if this has been considered for development.
I use "Save The Cat" from Blake Snyder to storyboard my scenes with Crystal Reports - minus his structure.. and I create my own story templates and then drop the whole thing into "Final Draft".
If I had the flexibility to setup and re-use "structure" templates that would contain my scene cards with an overview of my scene cards as the structure under my script and the ability to toggle between the two...then where do I sign on the dotted line?
If you could integrate this functionality into this software - and as I say, I'm not sure if you've done this - then I'm sold. In other words, you build with the cards, and worry about the script later.
Cheers,
C.I need more info from you. I have looked for info re. Powerbuilder 11.5 here:
http://www.sybase.com/products/modelingdevelopment/powerbuilder
but I can not find any mention of Crystal Reports as it would apply to Crystal Reports being part of Powerbuilder 11.5. So, I need more explanation of this:
I'm trying to use the Crystal Reports ocx from Powerbuilder 11.5
Also, in the title of this post, you mention:
Crystal Reports RDC from Powerbuilder.
RDC and OCX are quite different technologies. It's one or the other. Thus please provide the following info:
1) Is the CR component you are using (be it an OCX or RDC) part of Powerbuilder? Or have you purchased a stand-alone version of CR and are using the component in Powerbuilder?
2) What component are you actually referencing?
3) What is the version of the Crystal Reports you are using?
Ludek -
Problem to run the Crystal report inside from SAP B1 based on SQL views.
Hello,
I have a problem to run my Crystal report inside from SAP B1 which is based on SQL views.And the SQL views are stored in a separate database in SQL server.The error which i am getting is saying the the tablename does not exist.What i need to do in order to sort this problem.
Great if somebody can help me to sort out this so that i can run my report based on SQL views stored on separate database other than SAP databases inside from SAP B1.
Edited by: rozenagrawal on Apr 19, 2011 11:51 AMTry using a SQL synonym in your company database for the views outside the company database. I don't know if SBO will let you get away with it, but its worth a shot.
If your company database is MyCompany and you have a view called MyView in Views database, assuming the view belongs to schema dbo, and you want the synonym to belong to dbo schema in your company database, run this:
Use MyCompany
go
create synonym dbo.OutsiderView for
Views.dbo.MyView
go
select * from OutsiderView
The select statement should return the contents of MyView in the Views database while you are connected to your MyCompany database.
For more info, see the Books Online for MSSQL on topic synonym.
You will need to change your CR options to include displaying synonyms along with tables, views, etc. You may also need to grant select to B1 users.
Edited by: Cindy Lange on Apr 21, 2011 4:00 PM -
Query regarding Crystal Reports Server
Hi,
I am new to Crystal Reports.
I have created a couple of .rpt files using CR2008 and I am loading these report files in my aspx pages using CrystalReportViewer control.
I am planning to host my webApp on IIS in production environment. Maximum simultaneous/concurrent connections to my reports would be 1 or 2.
My question is:
1. Do I need Crystal Reports Server in this scenario?
2. In future if the number of concurrent users to report increases then do I need to go for Crystal Reports Server? Will just buying and installing the Crystal reports server on production server work? or will I have to do some configuration or some other changes in the existing deployed reports? OR Will I have to deploy my existing reports on Crystal Report Server again?
Any help will be highly appreciated.
Thanks in advance,
ManishManish, please do not cross post:
Query regarding Crystal Reports Server
See the [Rules of Engagement|http://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for more details.
Marking this thread as answered and locking...
- Ludek -
Difference between Crystal Reports Server 2008 and Business Objects XI R2
Can anyone please help me know the difference between Crystal Reports Server 2008 and Business Objects XI R2? Both the support guides says that it supports Office 2007. I have a problem in exporting the reports to Excel 2007 .I have downloaded the trial version of Crystal Reports Server 2008 but still unable to view my complete reports in Excel 2007 through infoview because few of my report's colums are truncated and it still exports in Excel 2003.I have LiveOfficeXIR2_SP4 and Office 2007 installed. Is it so that i have to switch over to Business Objects XI R2 or any other to solve my problem instead of using Crystal Reports Server 2008 or is it the problem with the version of my Live office.Pls help me regarding this..
Babita.Babita,
request you to post the same in the BO forums for more relevant answers...
Arun -
Connecting Crystal reports with dashboards and passing parameters
Hi ,
Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
I would appreciate for this.
Thank You.Hi Ganesh,
You can refer the following links for connecting Crystal reports with dashboards:
Dashboard integration in Crystal Reports using flash variables | Clariba Blog
https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
Regards,
Renu
Maybe you are looking for
-
When I clicked to open Firefox the update bar appeared and an update loaded. Usually when this happens Firefox will open up when the update is finished. This time it did not open. when I clicked on the icon again the blue screen opened and said somet
-
Importing cross references from Word doc
I have a lengthy Word document containing many cross references that I would like to import and maintain in my InDesign document. Can this be done?
-
Condition type to be added in SIS
Dear Experts, How can I add a condition type in SIS? Customer already has info structure created. I recently created a statistical condition type in pricing procedure and the requirement is that the condition type created need to be displayed
-
Launching URL without Address bar and Menu Bar
Guys, I use the following piece of code to launch an URL from the application. I want to launch the URL without address bar & Menu bar. how this could be achieved? <af:goLink id="gl1" targetFrame="_blank" destination="/faces/com/abc/xyz/pages/page2.j
-
I have a Mac Book Air, latest update of OSX system 10.7.5. I successfully downloaded a free trial of Adobe Acrobat Pro. I've successfully installed it. But when a pop up window asks to me to accept the license agreement, nothing happens even thoug