Can't Print preview draft crystal report.
Print preview draft crystal report.
Error message:
One or more fields could not be found in the result set.
Use verify database to update the report. Error in file POR20009. Rowset column could not be found.
It occurs when trying to print (or preview) a DRAFT document with the report being a Crystal report. No problems when the document is NOT a draft. This happens on both SAP 8.8 PL16 and PL17.
Updating the report and saving it again (as suggested by the error message) does not fix the problem.
The DRAFT or u201CNORMALu201D document type uses the same Crystal report. Something seems to be different when passing parameters from a Draft report?
I can preview DRAFTS and NORMAL reports from the Crystal Editoru2019s preview pane. This is only happening when launching from within SAP.
Is this a bug?
Hi Maeve,
Can you please help by posting what exactly was the solution to this issue?
Thanks in advance.
Regards,
Sanil
Similar Messages
-
Print Preview of crystal Report without add a document
Dear All,
Can i see the Print Preview of Crystal Report without add a document like PLD.
i have developed a Crystal Report through Add Command by Passing a query.
if anybody have idea on this issue please suggest me.
Thanks.
ShekhawatHi Shekhawat....
Through Query Crystal report it is not possible to view the Layout as Draft withou adding teh docs because Report fetch the details only when itys value goes to Database Table......
So suggest to use SAP standard CR and modify as you want....
Regards,
Rahul -
Print Preview using crystal report in SAP B1 slow.
Dear all,
I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
Thanks in advance
bodhi86Hello,
How do you answered to this question ?
Malika
Edited by: Malika Sanoune on May 13, 2011 1:48 PM -
Print preview using crystal report in SAP B1 is very slow.
Dear all,
I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
Thanks in advance
Kamlesh NawareHi,
Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
Thanks
Kevin
Edited by: Kevin Shah on May 27, 2011 4:21 PM -
Error print preview a crystal report
Hi,
I have an issue where i log in as a user with admin rights and try to print preview a crystal report that was created. It prompts me to log into the database, when i do this gives me a login incorrect oracle error. But when i log in as administrator i am able to do this.Hi,
Additional Info:
CR 2008 SP3 is called by an application using .net. The Application passes a couple of parameters to the CR report. I'm able to preview the report. All the reports use the same set of parameters.
Balaji K -
Print preview for crystal report
hi kings,
I have one problem . I Designed userform that form have print button when i press the print button the crystal report Open and show the data. but the report is not open when i press the button.Please any one help me out of this issue
the error Shows-Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
Dim oForm As SAPbouiCOM.Form
oForm = gonAppApplication.Forms.Item("Emr_NewNCMR")
Dim Docnum As String = ""
Docnum = oForm.Items.Item("txtDocNo").Specific.value
Dim cr As New CRAXDDRT.Report
Dim apcr As New CRAXDDRT.Application
Dim myCrystalReportViewer As CrystalActiveXReportViewerLib102.CrystalActiveXReportViewer
Dim RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
RptDoc.Load(System.Windows.Forms.Application.StartupPath & "\Ncmr.rpt")
RptDoc.SetDatabaseLogon("sa", "Sa@123", gonComCompany.Server, gonComCompany.CompanyDB)
RptDoc.SetParameterValue("@Docnum", Docnum)
myCrystalReportViewer.rptViewer.ReportSource = RptDoc
myCrystalReportViewer.rptViewer.Refresh()
myCrystalReportViewer.ShowDialog()
thanks regards
B.lakshmi NarayananTHANKS
-
Print preview using Crystal Report
Hello All,
In SBO 8.8 or in 2007 with add-on (like B1UP) it is possible to have a cystal report launched by the preview buttons. It works perfectly when the document is stored in the DB, the preview is blanked if you don't have the document validated (created in SAP).
In PLD this functionnality is available with the screen variables, is there a way to have it in crystal report?
BR
Arnaud VIVIANTHello Gordon.
Thanks for response but it doesn't answer the question.
Question is : is it possible to use the print preview functionnality in crystal without creating a document in the database (as it is possible in layout designer) ?.
I know that the preview will work when I created the document in the DB.
Regards,
Arnaud -
Can't Print Landscape from Crystal Reports Viewer XI
Post Author: conrad
CA Forum: General
Product: Crystal Reports Viewer XI, version 12.0.0.r130_v20070725 and
Crystal Reports XI, version 11.0.0.1282
Patches Applied: none
Operating System(s): XP Pro SP2
Database(s):
Error Messages: noneSteps to Reproduce:
Download and install Crystal Reports Viewer XI
Open a Crystal Report that prints landscape.
Save report with data.
Open that report with Crystal Reports Viewer XI. Report will display landscape.
Click Print..OK
Viewer will attempt to scale output to fit on portrait paper, with varying degrees of success.
Checking the properties of the report from Viewer (File...Report Properties...) shows a "Page Orientation" of "Landscape" and a message "Page Orientation and size defined by the application (no page information set by report author)."
Any ideas on how to get the report to print landscape? It prints that way from Crystal Reports XI.Hello Glenda,
as you refer to the legacy technology I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
It is monitored by qualified technicians and you will get a faster response there.
Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk -
Can we add custom print button to crystal report launched using jsp
Hi,
I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
ThanksAre you using Crystal Reports for Eclipse? If so, there is a new version out that suports Excel exporting:
/people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20 -
Print button to crystal report
Hi All,
In my business partners form i want to take related activities report.If i press print preview then basred on my coding it should go to cystal report not to sap report.can anybody suggest me some ideas about this.
thanks
shangaiHi
What version u r using?
If it is 2007 then it will take the Normal PLD only,there is no automatic diversion to Crystal report.
In 8.8 u can have both option PLD & Crystal Report to print the Doc's
Giri
U have posted two thread r it might be duplicated. so close one thread and follow the other thread.
Edited by: Giri dharan on Jan 6, 2010 12:36 PM -
Error when print out SAP Crystal Report in SAP B1
Dear all,
I have encountered the following message when I tried to print out SAP Crystal Report at client pc:
Could not load file or assembly 'CrystalDecision.Windows.Forms, Version = 12.0.2000.0, Culture=neutral, Publickey Token=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
On the other hand, there's no error when I print out the SAP Crystal Report on server.
Can anyone advice on the error message as above?
Thanks alot.Hi All,
I have SAP 2007 B,Visual Studio 2008 and Crystal report 2008 Add-on. I am facing the same problem,
"Could not load file or assembly 'CrystalDecision.Windows.form,Version=12.0.2000.0, Culture=neutral,Publickey Token =692fbea5521e1304' or one of its dependencies. The system can not find the file specified."
I have uninstalled SAP B1 and Crystal report 2008. Still I am getting the same Error message. Kindly give me your suggestions.
Regards,
Tom. -
Can't print more than 75 reports... Load report failed
Hi,
I have a problem: I can't print more than 75 reports without restarting my application.
I'm using VB, Visual Studio 2005 and Crystal Reports Developer XI Release 2.
It's a windows application.
In the following examples I'm exporting to pdf but the same hapens if I put it on a viewer.
I tried to do some tests to find out the problem. I don't have a solution yet
Test 1:
I made a cycle printing 100 times the same report. I used the code from an example that was in the BusinessObjects website and just put it into a cycle. At 75 I get the error "Load Report Failed"
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
Dim ExportFolder As String = Application.StartupPath + "\export"
If Not IO.Directory.Exists(ExportFolder) Then
IO.Directory.CreateDirectory(ExportFolder)
End If
For i As Integer = 1 To 100
Dim crReportDocument As ReportDocument
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
''The path/location where the exported file will be saved
Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
''Create an instance of the Chart report
crReportDocument = New Chart()
''Set the options for saving the exported file to disk
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = exportFilePath
crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
''Export the report
crReportDocument.Export()
Next
Test 2:
I try to insert a "crReportDocument.Dispose() after the Export. It takes more than 1 minute doing the dispose and lots of time processing the 2nd report (more than 2 minutes)
Dim ExportFolder As String = Application.StartupPath + "\export"
If Not IO.Directory.Exists(ExportFolder) Then
IO.Directory.CreateDirectory(ExportFolder)
End If
For i As Integer = 1 To 100
Dim crReportDocument As ReportDocument
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
''The path/location where the exported file will be saved
Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
''Create an instance of the Chart report
crReportDocument = New Chart()
''Set the options for saving the exported file to disk
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = exportFilePath
crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
''Export the report
crReportDocument.Export()
' Dispose
crReportDocument.Dispose()
Next
Test 3
Same as Test3 but with ReportDocument.Close() before the dispose.
Still doesn't work, Close takes too long, just like Dispose...
Test 4
I tried using a global variable with the ReportDocument.
Instead of creating new instances of the ReportDocument, I keep using the same.
It works fine if I use always the same report file, but if I try to print 2 different reports the 2nd returns the error "Load Report Failed" and takes too long loading before the error.
Well, I made some researches on internet and I foud this, but still doesn't work with me, because Dispose always takes too long...
http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/02/22/236.aspx
http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/05/23/328.aspx
http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2007/04/05/CrystalReportsMemoryLeakFixByJerryCote.aspx
Can anybody help?
Thanks
Isabel
Edited by: Isabel Cabral on Aug 12, 2008 8:12 PMAlready tried that, then I get another problem...
After exporting the first report, takes 1 or 2 minutes doing the Close and the Dispose, and after that it takes too long trying to load the next report (after 1 hour I give up!).
This is the code I'm using to do the tests:
'Create the export folder
Dim ExportFolder As String = Application.StartupPath + "\export"
If Not IO.Directory.Exists(ExportFolder) Then
IO.Directory.CreateDirectory(ExportFolder)
End If
For i As Integer = 1 To 100
Dim crReportDocument As ReportDocument
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
''The path/location where the exported file will be saved
Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
''Create an instance of the Chart report
crReportDocument = New Chart()
''Set the options for saving the exported file to disk
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = exportFilePath
crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
''Export the report
crReportDocument.Export()
'Close and dispose
crReportDocument.Close()
crReportDocument.Dispose()
Next
Thanks,
Isabel -
Need alternative for activex print control using Crystal reports 2008
I have created a .Net web application (2.0/3.5 .Net framework) with crystal reports 2008.
Reports are viewed using Crystal reports 2008 activex viewer.
On click of PRINT icon in activex viewer, activex print control download prompt will be displayed on client machine.
I need to avoid downloading of activex print control on client machine. Is there any other alternative or option to use print functionality in viewer without downloading activex print control on client machine?
Or Is there any other workaround for print functionality in Crystal reports 2008 Viewer without downloading activex print control?
Note: Activex print control download prompt will not be displayed when using Crystal reprots XI Release 2 version.
Thanks,
JagannathDoes anyone know which files need to be registered for the ActiveX print control? We occasionally have users who somehow break their Crystal ActiveX controls, and they can no longer see the print options. In Crystal 10, I was able to fix these issues by pushing a package which registered several files on the user's computer.
-
Preview a Crystal report prompted for the sa password
Dear All,
When our customer preview a Crystal report, we got a window prompted for the sa password. Even we type in a correct password, it still says wrong password.
Only two user computer have this problem.
How do I solve it?
Regards,
KarenI install Crystal Reports Designing Software on those computers which canu2019t preview reports.
Then start the Crystal Reports design software to open the problem report.
It usually asks to enter the column on the interface u201COLE DB (ADO) u2013 Connect Informationu201D.
But it gets into the interface u201COLE DB (ADO) u2013 OLE DB Supplieru201D.
I correct the setup and save the report.
The problem is solved.
I try many methods, but only this one can solve my problem.
If you have another solution, please tell me, thanks!
Regards,
Karen -
Error while previewing external crystal report in SAP B1
Hi Experts,
when i was previewing a Crystal report in sap business one i was facing an error as
no matching records found 'Queries' (OUDR) (ODBC-2028) message[131-183]Hi Megganath..
Check with this note
http://service.sap.com/sap/support/notes/1532509
1532509 - Cannot import Crystal Report template into SAP Business One
Regards
Kennedy
Maybe you are looking for
-
Reference to an object by String(ID)?
I am trying to build a glow container/manager in order to turn off and turn on appropriate component. In fact, when a specific component respond to a click, it will be glowed. But if the user click on another specific component, the previous glowed s
-
Xmlns attribute in 8.1.7
I am trying to process an XML file with the Oracle 8.1.7 PL/SQL XDK. I'm using Steve's helper programs from the XML book. The problem is that the document in question uses XML Schema. My script chokes whenever I attempt anything with this file. After
-
Critical intercompany STO issue
Hello Together, We are facing a strange issue in Intercompany STO process. Supplying plant has done the goods issue ( movt type 643 ) against STO order and sent us the delivery document. Accordingly we have changed the Import STO Po & manintained the
-
Missing plug-ins in Mainstage?
Mainstage has been an incredible tool for me because I'm able to open Channel Strip Settings saved in Logic and create the perfect patches for playing live. Unfortunately, a few plug-ins that are available in Logic Pro 8 are not found in my Mainstage
-
Hi all, Is it possible to create PO and put some kind of control that the user could only put one item on it? Kind regards Oliver F