Speed Issue of Running ICP Reports
Dear HFM Professionals,
Have anyone encountered ICP Report running too slow? In our case, it took 5 to 40 min, is that normal?
Here are our specs:
CPU: E5450 3.0GHz*2
RAM: 24G
Entity Dimension involving ICP: around 135
Account Dimension involving ICP: around 250
For example: Group1(138 base members, USD)_Group2(138 base members, EUR) ICP Report (Report Currency: JPY, Account: 250 base members) can last to 40
min........
I believe there are many cases with more complex ICP Reports, so hope I can get some solutions for our case. Thanks.
You should absolutely upgrade to 9.3.1.2.00 servic pack at a minimum and Oracle recommends 9.3.1.4.00 right now.
There were a few enhancements for this specific issue done in service fixes on 9.3.1.1.00 that are included in 9.3.1.2.00.
Specifically 9.3.1.1.07 which addressed the following:
Issues:
In Intercompany Matching System Report, when running a report that requires currency translations, the report is slow, and translated values are being written to the database, unnecessarily increasing database size.
This service fix will allow currency translations for ICM System reports to be controlled by a registry setting. The following options are available:
· Use existing translation logic – Uses Sub Translate in rules, and commits changes to the database. This is the default setting, if no registry entry is specified.
· On-the-fly, use rules – Uses Sub Translate in rules, but no changes are written to the database. Parent Entities in CN status are translated.
· On-the-fly, use default translation – Only executes default translation (no Sub Translate). No changes are written to the database
Similar Messages
-
Authorization Issue while running a report
Hi Experts,
We are facing strange issue in authorizations while runnung a report. When we givel '*' company code access to the users they are able to run the report. When we give one single company code specific access to the users they get error message : No Authorization or everything filtered Out".
Please let me know how can i debug the same.
Company code specific access along with sales grp, profit ctr, sales employee are maintained in a ODS in BW.
Thanks
GauravHi,
When you use authorization relevant char in your report, you should create a variable of type authorization.
The variable input may be mandatory or optional.
By doing this, the default values will pop-up in the variable input screen when the user tries to execute the report.. It is also relevant to mention that the user cannot enter any blank values for the authorization variables unless he/she got * access for that particular character.
Also do not hardcode any values for authorization relevant char inthe report.
It will throw error No Authorization.
Guru. -
Issues in running crystal reports 2013 with SOQL as a datasource
Hi Experts,
We have some crystal reports created in CR 2008 with command as a data source and all the commands are written in SOQL pulling data from SFDC, now when I open and run those reports in crystal report designer 2013 it is giving below errors:
Failed to retrieve data from the database.
Details: 42S22:[Simba][SQLEngine] (31400) Qualified column could not be bound: c.Investor__r.Relationship_Formula__c. [Database Vendor Code: 31400 ]
Failed to retrieve data from the database.
Details: 42S22:[Simba][SQLEngine] (31400) Qualified column could not be bound: k.Account_Relationship__r.PE_Priority__c. [Database Vendor Code: 31400 ]
We are running crystal reports in both the version with system admin user who has access to all the objects in SFDC. It works well for CR 2008 but not for CR 2013, means relationship is not an issue.
We have done some analysis and found that if the field in query contains two periods (.) it is not recognising that field, if we remove that field from query, CR 2013 takes that as a valid statement.
Any help or suggestions on this issue would be a great help.
Regards,
ApoorvHi Apporv
Please check your database documentation for error 31400.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
FR Studio moving Cells Issue when running the report in Workspace
I've created a complex, multi-grid FR report. There are 8 grids and 2 database connections in the report. When I run the report in Workspace for a smaller entity/unit, the report looks fine in PDF. When I run the report for a larger entity/unit, one of the cells in the grid duplicates itself and is shifted down into a second page on its own. The cell is an account cell with a label of "Salaries and Wages." The Salaries and Wages cell shows up in the correct location, but without a number. Then, there is a second page with the "Salaries and Wages" cell and the number that is at that intersection. I believe this only happens when the report is run on larger entities/units and when I view it in PDF, which is the format the users will be viewing this report.
Also, something to note is that there is a gride to the right of this grid with the Salaries and Wages account, and I tried moving that out of the way and changing the row height and column width but none of those changes fixed the issue.
Has anyone ever encountered something like this? Any ideas or comments would be greatly appreciated!!!
Thanks,
TiffanyYes - consolidating 8 grids into 4 grids fixed the issue. I think having too many grids with multiple DB connections in each grid is too much for FR to handle. My current report has 4 grids with 2 of the grids having 2 database connections in them. The report is now working correctly.
Thanks for your efforts Celvin!
Thanks Again,
Tiffany -
Issues in running a report on an app server
Hi all,
I have a report that fails daily on one of our app servers.This report fails daily with the failure reason "Failed to open connection. D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1de458dada37ff3.rpt
Can anyone help me with this error ?
Any help is really appreciaetdHi ...I tried your approach but still my report is failing. I increased the trace level and found some error in the log file ....I'm pasting the same below..i'm not able to decipher the error ...please help !!!
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEAddParameterCurrentValue(1) out returns 1
[Tue Feb 24 02:40:31 2009] 6848 5952 (.\src\rptjob.cpp:7700): trace message: CReportPrintJob::SetPromptInfo(): bResult[true], missingPromptsArray.GetSize()[0]
[Tue Feb 24 02:40:31 2009] 6848 5952 (.\src\rptproc.cpp:1387): trace message: procReport.dll: Done applying parameters after db logons
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: Exporting whole report to xls [crxf_xls]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: CReportPrintJob::SetExportOptionsHelper() [crxf_xls]: FormatOptions: [<quote:"> <separator:,> <sameNumber:0> <sameDate:0> <nLinesPerPage:60> <bColumnHeadings:0> <bUseConstColWidth:0> <fConstColWidth:720.000000> <baseAreaType:1> <baseAreaGroupNum:1> <usebUseWorksheetFunc:1> <bUseWorksheetFunc:0> <bExportPageRange:0> <pageRangeStart:0> <pageRangeEnd:0> <usebReserved3:1> <bReserved3:1> <usebExportPageBreaks:0> <bExportPageBreaks:0> <usebCnvrtDateValToStr:0> <bCnvrtDateValToStr:0> <usebChopPageHeader:1> <bChopPageHeader:1> <usebUseFormatInDataOnly:1> <bUseFormatInDataOnly:1> <usebMaintainColumnAlignment:1> <bMaintainColumnAlignment:0> <usebExportImagesInDataOnly:1> <bExportImagesInDataOnly:0> <usebMaintainRelativeObjectPosition:1> <bMaintainRelativeObjectPosition:0> <usebShowGridlines:0> <bShowGridlines:0> <usewExportPageAreaPair:0> <wExportPageAreaPair:1> <useuserDefinedCPI:0> <userDefinedCPI:0> <usebRetainPageWidth:0> <bRetainPageWidth:1> <usebPageBreakAfterEachReportPage:0> <bPageBreakAfterEachReportPage:0> <usebUseExportOptionsInRptFile:1> <bUseExportOptionsInRptFile:0> <usebExportImages:0> <bExportImages:0> <metafileImageConversionType:100> <bitmapImageConversionType:100> <nJpegQuality:0> <usebCreateBookmarksFromGroupTree:0> <bCreateBookmarksFromGroupTree:0> <formatExportMode:100> <reportSectionsOptions:100> <groupSectionsOptions:100> <usebShowGroupOutlines:1> <bShowGroupOutlines:0>]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: CReportPrintJob::SetExportOptionsHelper() [crxf_xls]: UXFXlsOptions: [<structSize:92> <bColumnHeadings:0> <bUseConstColWidth:0> <fConstColWidth:720.000000> <bTabularFormat:0> <baseAreaType:1> <baseAreaGroupNum:1> <bUseWorksheetFunc:0> <bExportPageBreaks:0> <bCnvrtDateValToStr:0> <bReserved3:1> <bExportAllPages:1> <dwStartPageNumber32:0> <dwEndPageNumber32:0> <bExportImagesInDataOnly:0> <bUseFormatInDataOnly:1> <bMaintainColumnAlignment:0> <bMaintainRelativeObjectPosition:0> <bShowGridlines:0> <wExportPageAreaPair:3> <bShowGroupOutlines:0>]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: PEExportOptionsN: [StructSize==290, formatType==10, destinationType==0, nFormatOptionsBytes==0, nDestinationOptionsBytes==0, formatDLLName==crxf_xls, useSavedFormatOptions==0]
[Tue Feb 24 02:40:31 2009] 6848 5952 (.\src\rptproc.cpp:1435): trace message: procReport.dll: Done setting format options
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: Performance: procReport.dll [2009/02/23 21-40-31-027]: Entering ExportToFile(): CRPE calls only
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: ExportToFile(1): [destOpt->structSize == 6] and [destOpt->fileName == D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~ce1ac059426b7f7e1.xls]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEExportReportExW(1) in with parameters: viewContext[<StructSize:1750> <groupLevel:0> <groupPath:> <groupName:> <drillDownLevel:0> <reportName:> <containingPageN:0> <containingGroupLevel:0> <containingGroupPath:> <containingGroupName:> <xOffset:0> <yOffset:0>], m_exportOptions[<StructSize:290> <formatDLLName:crxf_xls> <formatType:10> <destinationDLLName:u2ddisk> <destinationType:0> <nFormatOptionsBytes:0> <nDestinationOptionsBytes:0> <unicodeFormatOptions:1> <unicodeDestinationOptions:1> <useSavedFormatOptions:0>], processingOptions.StructSize[6], processingOptions.exportInBackground[0]
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 * REQPP-PEExportReportExW-IN * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEExportReportExW() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEExportReportExW() out returns 0
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetErrorCodeAndSubstituteStrings(1) in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetErrorCodeAndSubstituteStrings(1) out returns 1 and errorInfo->lastErrorCode is 756
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetErrorTextEx(1) in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetErrorTextEx(1) out returns 1
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() out returns [1], buffer is [Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetExtendedErrorMessage() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetExtendedErrorMessage() out returns 1
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() out returns [1], buffer is [Failed to open the connection.
Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: CRPE FAILED: GetLastPEErrorInfo(1) returns crpe error code [756] with extended error string [Failed to open the connection.
Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]. Localized error string is [Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() out returns [1], buffer is [D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEGetHandleStringEx() out returns [1], buffer is []
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 [1][756] REQPP-PEExportReportExW-OUT * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: Performance: procReport.dll [2009/02/23 21-40-31-043]: Exiting ExportToFile()
[Tue Feb 24 02:40:31 2009] 6848 5952 (.\src\rptproc.cpp:1465): trace message: procReport.dll: Done exporting the job
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 * REQPP-PEClosePrintJob-IN * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEClosePrintJob(1) in
[Tue Feb 24 02:40:31 2009] 6848 1160 (.\wireobinit.cpp:188): trace message: CWireObject::TerminateStaticPropertyMap() - reference count: 3
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: ClientPing_impl::remove_session_handle
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: ClientPing_impl::remove_session_handle: 0, 618226JmTM7ipUxcXwLebg
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: ClientPing_impl::remove_session_handle:CalcuateCount: 0, 618226JmTM7ipUxcXwLebg
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: ClientPing_impl::remove_session_handle: remove: 618226JmTM7ipUxcXwLebg
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: ClientPing_impl::remove_session_handle: remove session handle (618226JmTM7ipUxcXwLebg). succeded=true
[Tue Feb 24 02:40:31 2009] 6848 1160 (.\proxy_impl.cpp:440): trace message: LOGOFF implicit session logoff: userId[12], m_uri[osca:iiop://10.98.40.152/SI_SESSIONID=618226JmTM7ipUxcXwLebg], sessionId[618226], m_sSessionHandle[618226JmTM7ipUxcXwLebg]
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: EnCOMSessionMgr::~EnCOMSessionMgr begins ...
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: EnCOMSessionMgr::~EnCOMSessionMgr: s_SingleSessionManager->getCount() = 1
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: EnCOMSessionMgr::~EnCOMSessionMgr: setting s_SingleSessionManager to NULL
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: CInfoSessionManager::~CInfoSessionManager
[Tue Feb 24 02:40:31 2009] 6848 7840 trace message: Terminating cluster refresh thread...
[Tue Feb 24 02:40:31 2009] 6848 1160 (.\wireobinit.cpp:188): trace message: CWireObject::TerminateStaticPropertyMap() - reference count: 2
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: CInfoSessionManager::~CInfoSessionManager ends.
[Tue Feb 24 02:40:31 2009] 6848 1160 trace message: EnCOMSessionMgr::~EnCOMSessionMgr ends...
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPEClosePrintJob(1) out returns 1
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 [1][0] REQPP-PEClosePrintJob-OUT * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: CReportProcessor::ProcessReportHelper() returns [false]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: *** Error processing report *** [CReportProcessor::ProcessReport() failed]
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 * REQPP-PECloseEngine-IN * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPECloseEngine() in
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: CrpeMgrPECloseEngine() out
[Tue Feb 24 02:40:31 2009] 6848 5952 REQUEST: 5952 * REQPP-PECloseEngine-OUT * 6848 5952
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: Exiting CReportProcessor::Start() with failure!
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: IJobDllRun() returns error:( CrpeMgrPEExportReportExW: Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt )
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: Error message sent in the language of the server is: [Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: FAILED: [Failed to open the connection.
D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\boprdapp06.xmradio.com.jobserver_4\~tmp1ac059426b7f200.rpt]
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: procReport.dll: IJobDllRun() failed the job [RES_FAILURE]!
[Tue Feb 24 02:40:31 2009] 6848 5952 trace message: Performance: jobserver [2009/02/23 21-40-31-090]: Finishes its SI_IJob::run() -
Issue when Run Report with Hier selection in the Portal
Hi Portal BI Experts,
we are finding a strange issue when Running the Report.
the following Variables are in the Report Selection screen :
Company code [optiona]
Prod.Variance Type [ mandatory]
Hierarchy Node Variable [optional]
TheQuery which I am Running thro Bex Analyzer with the Hier selection as below , is working fine. But
When I run thro portal with Hier selection value with 00/50/G310/702258(0CUST_SALES
It automatically display as +00/50/G310/702258(0CUST_SALES with + symbol. and thro the error:
Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
If I remove the plus symbol report runnig fine.
Your immediate help highly appreciated.
Thanks
Hema
Edited by: hemav on Mar 21, 2011 2:29 PMHi Jaya,
This is the Error message I am facing when I Execute ithe query report n the Web[Portal]
Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
ie. In the variable screen the selected hier value automaticvally display with plus symbol
Actual Hier value : 00/50/G310/702258(0CUST_SALES)
Once close the Hier selection list window , the Hier value turned to +00/50/G310/702258(0CUST_SALES)
If I give ok with this Plus symbol it throwing the above error. By removing the Plus symbol manually it is working fine.
I unable locate the settings.
that too when I run the same report in Bex Analyzer woking fine , no issues in the Hier value.
Thanks ,
Hema -
Error while running some reports
Hi All,
We are facing issues while running some reports in BI production portal and below are some error messages.
--Access Error: Aithorization Check for caller assignment to j2ee security role (service.naming:jndi_all_operations] referncing j2ee security role [SAP -J2ee -engine :administrators].
--serialization failed for object (PCD location)
--The metadata of CMD "open_Dialog_DLg_Variable" are incorrect for parameter "Target_Dialog_Ref"
Kindly help me to resolve the above issue .
Regards,
Nithyathis is something to do with the java stack (J2EE engine) and its Authorizations..
So contact Basis explaining the issue and they should be able to help you out to get the proper access. -
Query on Performance issues relating to a report
Hi Group,
I have an issue while running a report which was creating Business Partners for (both Company and the Contact person and as well as relationship b/w them).
This report was having BAPI( for creating Business Partners ) and also for creating relationships and the report was taking too much of response time.
I was thinking it to be the reason for calling BAPIs. But, I want to know from you that is that the real cause or it might be the other cause.
So please kindly let me know inputs from your side on this.
thanks in advance.
Regards,
Vishnu.Hi
I think it's always better to use the provided standard fm's and bapi's to make changes to the data in the system instead of directly placing them in the tables.
One thing you can do is try to use parallel processing. E.g 10.000 BP's should be created. In that case schedule 4 jobs to create the Bp's instead of 1 job creating the whole lot.
Kind regards, Rob Dielemans -
BEx Collapses when running a report
Hi Experts ,
I am facing an issue while running a report for a cube which has BWA index built on it. When I run the query the query designer collapses with a error message as "critical Error".
This was an existing cube we recently added a field there.The data volume is too high, so I do not want to rebuild the indexes and try. It takes 1 hour to rebuild the indexes.
Please help.
ThanksHi Vikram
Thanks..its solved my problem, Query is working fine now after running the program.
Can you please help me understand the root cause of this issue.
Hi Vitaliy,
I could not see any short dumps.Thanks for your inputs. -
All-
Do a non-admin user have any security role in Shared Services to run ICP Reports in HFM?
Thanks
ChanduHi. There is no specific role for running ICP reports.
Eric -
Load time issue for the Crystal Reports
Hello All
My reports take painstakingly longer time to load and display due to the number of records it has to display (~10000 records)
Currently i use the loop approach to provide the logon info for all the reports/subreports. This is the place where i presume it is taking time.
crTables = crReportDocument.Database.Tables
' Loop through each table in the report
For Each crTable In crTables
crLogOnInfo = crTable.LogOnInfo
' Set the connection information for the table in the report.
crLogOnInfo.ConnectionInfo.ServerName = DB_SERVER_NAME
crLogOnInfo.ConnectionInfo.DatabaseName = DB_NAME
crLogOnInfo.ConnectionInfo.UserID = DB_USER
crLogOnInfo.ConnectionInfo.Password = DB_PASSWORD
Log("set login info to main table " & crTable.Name & " location " & crTable.Location)
crTable.ApplyLogOnInfo(crLogOnInfo)
Next
Can i use the following approach instead to provide the same functionality to avoid such nasty loops??
crReportDocument.DataSourceConnections[0].SetConnection(DB_SERVER_NAME, DB_NAME, DB_USER, DB_PASSWORD);
crReportDocument.Refresh();
Thanks in advance
Srivatsa
Edited by: Srivatsa Haridas on Nov 10, 2008 11:02 AMYou need the "loop part" - at least I'd be way more comfortable if you use it. From my experience, you have a more robust app when you loop through the tables.
reason I asked about subreports; if a subreport is inthe detail section and you have a 1000 records in the detail, and the subreport runs per record, you are essentially running 1000 + 1 reports. Obviously this will take a significant amount of time. As it is even 10 to 15 subreports is quite significant as you are running the subreports plus the main report... Possibly the best way for you to compare the speed is not run the report in a CR designer.(e.g.; what I am asking is; OK, the report is slow. Compared to what?) As you are using CR 10.2, I'd recommend downloading an eval of either CR XI r2 or CR 2008 and see how the reports perform there. If the performance in the designer is slow, it will not get any faster at runtime.
The evals can be downloaded from here:
http://www.businessobjects.com/products/reporting/crystalreports/eval.asp
Also will the below line work for my subreports too ?
crReportDocument.DataSourceConnections(0).SetConnection(DB_SERVER_NAME, DB_NAME, DB_USER, DB_PASSWORD)
- it will, as long as the subreports are using the same connection type as your main report. However I really would not get hung up on loop v.s. no loop. As a matter of fact, this subreport database logon uses loop s as well and it is the recommended way of connecting the subreports:
'Log on subreport
crSubreportDocument = crReportDocument.OpenSubreport("Ron")
crConnectionInfo = New ConnectionInfo
With crConnectionInfo
.ServerName = "Rcon1"
.DatabaseName = "Northwind"
.UserID = "tech"
.Password = "tech"
End With
crDatabase = crSubreportDocument.Database
crTables = crDatabase.Tables
For Each crTable In crTables
crTableLogOnInfo = crTable.LogOnInfo
crTableLogOnInfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crTableLogOnInfo)
Next
Ludek
Regards -
Speed Issue in Report With 1130680 Records Returned
Hi
<b>Apologies to the mods if this is in the wrong section, it contains content related to Legacy SDKs (VB6/COM), newer .NET content as well as report design issue.</b>
I'm using Windows XP SP3 with the database hosted on my machine, an [email protected] with 2GB DDR2 RAM. Neither the client's pc nor their server are as powerful as mine. (It sucks, I know.)
A report has a speed issue for the end users. The query to the database (SQLS2008) takes 30 seconds and returns 1 130 680 records. And yes, this is the amount of records that need to be returned (the report is a Sales Details report for transactions from 2008/09/01 to 2009/03/31) Running the query through SQLSMS takes the same amount of time whether I execute the statement that the report sends or put the query into a stored procedure. The relevant indices are in place.
Our application is written in VB6 and uses the CR9 unmanaged runtime. I've written a small little CR application in VS2008 to see if running the report through the CR.NET runtime would make it quicker. I built the .NET app in release mode (with optimization and no debug data) and ran the exe to do the speed tests. The times taken for the report to run:<ul>
<li>VB6 app - 3:30s
<li>.NET app - 4:30s
<li>VS2008 IDE - 2:02s
</ul>
I have run the report three times for each app using my cellphone as a stopwatch and the times are reproducible to within two seconds.
I accidentally ran the report in the VS2008 IDE and it took 2:02s to run. Thinking that the loading of the DLLs in .NET was part of the problem, I added code under a button on the form with the following code:
CrystalReportsApplication1.Properties.Settings a = new CrystalReportsApplication1.Properties.Settings();
Assembly aAss = Assembly.LoadFile(a.CR01Engine);
Assembly bAss = Assembly.LoadFile(a.CR02EntFramework);
Assembly cAss = Assembly.LoadFile(a.CR03EntInfoStore);
Assembly dAss = Assembly.LoadFile(a.CR04ReportSource);
Assembly eAss = Assembly.LoadFile(a.CR05Shared);
Assembly fAss = Assembly.LoadFile(a.CR06WinForm);
to preload the assemblies. Unfortunately it made virtually no difference to the running time of the report.
Suggestion from The specified item was not found. on [this page|Speed issue - internal processing vs views;:
8. For summaries, use conditional formulas instead of running totals when possible.
I didn't know that, but we're doing that already.
I even tried using ngen in a virtual machine for the .NET app, but the time was the same. And yes, I know that ngen is only supposed to aid startup times and that it is actually recommended to let the JIT optimize on the fly instead of ngen optimize beforehand. What really struck me was that even in a VM (using Virtual PC 2007) using 512MB of RAM and only a single core the time was the same.
My questions:<ol>
<li>I thought that VS2008 shipped with CR2008 Basic, but according the the references in my project it's CR10. Would the CR2008 runtimes improve the report speed?
<li>Why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
<li>I really, really, really need the .NET runtime to outperform the COM runtimes as our purchase of CR2008 hinges on this. As you can probably guess, we're currently using ye olde CR9.2 from 2002.
<li>Why oh why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
<li>The first level of grouping is a variable which changed the grouping depending on a parameter. I changed it to a field from one of the tables and the times for the apps are:
<ul>
<li>VB6 - 2:15s
<li>.NET - 2:48s
<li>CR9.2 IDE - 2:19s
<li>VS2008 IDE - 2:34s
</ul>I may or may not be able to push it out to the client like this, I don't know. Why did the VS2008 IDE take longer this time? All I did was change the grouping-on-parameter to ordinary grouping.
<li>Why oh why oh WHY do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes? Are they just thunkers to the COM DLLs?
<li>Why does the run in the VS2008 IDE (in debug mode BTW, not release mode) run quicker than both programs?
<li><i>AndrewJ.requestACookie(Flavour.Strawberry, Flavour.Alternate.ChocChip, RequestMethod.Please); // Hey, it's 5:44PM and I want to go home for the long weekend! </i>
</ol>
Thank you and have a blessed Easter!
Edited by: AndrewJ on Apr 14, 2009 10:04 AM. Changed the CPU, I was thinking of my CPU at home.Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly.
Bottom line is CR Basic is version 10.5. CR 2008 is 12.2.x.xxxx. Install CR 2008 SP 1 to get .NET support.
And you can't compare COM to .NET, it's like comparing apples and oranges, both fruits but different flavors. -
Issue with running reports on the portal
Hello Guyz
1. I have a question regarding running reports on the portal.
2. I have standard web templates that have been installed in BI.
3. But in the portal, we are not able to run these reports.
4. Do we need to create custom I-Views or can we install them from business content?
5. Can someone explain the process to me AND also any other issues that we might have?
Thanks.Hi Srinivas,
Standard web templates doesnot get installed with attached queries.Create custom web templates in WAD and attach ur queries based on the type of display u like either tabular or graphical.In order to diplay in portal you have to attach webtemplates to iViews and then group iViews to worksets and attach to portal roles.Then add those roles to portal users.From BI Prospective u just create web-templates and give technical names to EP consultants if you have any then they can takecare of rest.If you want to call standard web template 0ANALYSIS_PATTERN from portal you need to have Business Explorer role added to ur user in EP.Using that template u can only open one query at a time and execute.Hope its clear
Chandu -
Issues running Crystal Reports (Open Doc) from IE 9 with locale not set to English
Hello Experts.
This thread is more or less a sub thread of http://scn.sap.com/thread/3541526 . We continue to experience Crystal Report failures from a location in China when our users enter report parameters and click execute. The error message we are seeing is: “logon information for this report is either incomplete or incorrect Error code:0 [CRWEB00000119]” (in Chinese).
After a fair amount of troubleshooting (see aforementioned thread) we discovered that the reports would not only run fine in Firefox, from this location, while set to a Chinese Language, but if we changed IE to US English, the reports ran from there as well.
While we have narrowed down the issue we have not been able to find a viable solution. Firefox is not ideal because it does not run many of our other application properly, including some SAP products and switching browser locale settings from user’s native languages to run a report is also not ideal. Has anyone else run into this issue in the past, if so how did you work through / around it. Any help or suggestions will be greatly appreciated.
Some environmental information
- We are currently running BOBJ 4.0 SP 4
- We have a test environment running BOBJ 4.1 SP 2 and the issue is persistent
- We run IE 9 throughout our organization as a requirement for most of our internal toolsHi Apporv
Please check your database documentation for error 31400.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Issue when running Balance sheet report on Virtual Cube (0FIGL_V10)
Hi ,
We are actually implementing new General ledger and I activated all the underlying ODS & cubes.
While running standard report(0FIGL_V10_Q0001) on 0FIGL_V10 , I am getting the following error:
Characteristic 0GLACCEXT has a constant value (F) and cannot be used.
Characteristic 0GLACCEXT Financial Statement Item not available in the Infoprovider.
FYI, The above characteristic is available in the cube and I dont know what is the fix for the same.
Can anyone please let me know if the same problem was faced and resolved.
Regards,
KumarHi Sumit,
Thanks for the response.I did following checks in RSRV yesterday before I posted this thread.
Master data checks for 0GLACCEXT went successful but when I checked my Infocube and dimension tables,its giving me the following error:
Diagnosis
There is no dimension table for dimension /BI0/D0FIGL_V102, even though the dimension is not a line-item dimension.
Procedure
Try to reactivate the InfoCube. Data that is contained in the InfoCube is not deleted.
As per the above procedure , I reactivated the cube and tried running the query but it still gives the message,0GLACCEXT characteristic cannot be used.
I can see all the dimensions in the Infocube(0FIGL_V10) coming correctly and I also can reactivate but still the error doesn't go.
I also tried installing the Cube one more time if the error was because of not installing properly and I tried running the report but still I did not get to a resolution..
I am now not sure , what to do to fix this problem.
Regards,
Kumar
Maybe you are looking for
-
XSLT mapping, how can I include a Runtime Constants in target message
Hi, I would like in my XSLT mapping, to have an attribute include the MessageID. From my understanding of the online help [http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm|http://help.sap.com/saphelp_nw04/hel
-
RWRBE60.exe error when generating a report to a file format
Hi people, I'm employed as a consultant by a major Petrochemical facility in South Africa. My problem is as follows: Our product dispatching system contains a number of reports which need to be generated to a file format (either PDF, RTF or Text). Wh
-
There really are no no more details. The only version of Firefox that I can find that is available for downloading is not compatible with MAX OS X 10.4.11 This means I am really in trouble. I sent the version I was using to the trash because I was ha
-
Count Collisions Problem in Shooting Game
Hi, I am working a simple game in which a ship fires at approaching asteroids and I am having problems with the collision between the ship and the asteroid. In the ship movieClipI have made it glow red from frame 6 to signify the first 3 collisions
-
How to Identify PERC controller Firmware in ESXi
I hope someone can help. I've searched VMWare and Google till my eyes are blurry and cannot find any KB articles that explain how to get the firmware version for the PERC controllers. The VMware KB1027206 titled "Determining Network/Storage firmwa