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 AM
Try 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
Similar Messages
-
SAP B1 Closes when Running the Crystal Report
Hi SAP Expert,
I have a problem during running the customized report i've created in Crystal. I created a stored procedure please see my code below. The Crystal Report is running during development but when i exported to SAP B1 and run the report. The SAP Business One will terminated. Any help please...
CREATE PROCEDURE [dbo].[SP_ACTUALPURCHASESV3]
-- Add the parameters for the stored procedure here
@FROM DATETIME,
@TO DATETIME
AS
BEGIN
SET NOCOUNT ON;
SET @FROM = CAST(CAST(MONTH(@FROM) AS NVARCHAR) + '/' +
CAST(DAY(@FROM) AS NVARCHAR) + '/' +
CAST(YEAR(@FROM) AS NVARCHAR) + ' 00:00:00:000' AS DATETIME)
SET @TO = CAST(CAST(MONTH(@TO) AS NVARCHAR) + '/' +
CAST(DAY(@TO) AS NVARCHAR) + '/' +
CAST(YEAR(@TO) AS NVARCHAR) + ' 23:59:59:000' AS DATETIME)
SELECT
(SELECT DocEntry FROM OPOR WHERE OPOR.DocNum = PDN1.BaseRef) as PODocentry,
PDN1.BaseRef AS PONum,
OPDN.DocEntry,
OPDN.DocNum,
OPDN.DocType,
(select ocrd.lictradnum from ocrd where ocrd.cardcode = opdn.CardCode) as LicTradNum,
OPDN.CardCode,
OPDN.CardName,
OPDN.DocDate,
CASE WHEN PDN1.WhsCode IS NULL THEN PDN1.AcctCode ELSE PDN1.WhsCode END AS WhsCode,
CASE WHEN PDN1.WhsCode IS NULL THEN (SELECT OACT.AcctName FROM OACT WHERE OACT.AcctCode = PDN1.AcctCode) ELSE (select OWHS.WhsName from OWHS where OWHS.WhsCode = PDN1.WhsCode) END AS WhsName,
CASE WHEN PDN1.ItemCode IS NULL THEN 'N/A' ELSE PDN1.ItemCode END AS ITEMCODE,
PDN1.Dscription,
PDN1.Quantity,
PDN1.unitMsr,
PDN1.Price,
PDN1.PriceBefDi,
PDN1.PriceAfVAT,
CRD4.WTCode,
OWHT.RATE,
(case when pdn1.quantity > 0 then (pdn1.Price * pdn1.Quantity) else PDN1.Price end ) * (OWHT.rate/100) as EWTVALUE
FROM OPDN JOIN PDN1 ON OPDN.DOCENTRY = PDN1.DOCENTRY left join CRD4 on OPDN.CardCode = CRD4.CardCode left join OWHT on OWHT.WTCode = CRD4.WTCode
WHERE OPDN.DocDate BETWEEN @FROM AND @TO and OPDN.CANCELED = 'N'
--WHERE OPDN.DocNum = 2542
ORDER BY OPDN.DocDate
ENDHi,
Does it means we are allowed to create stored Procedure inside the Company Database. We only use selecting and joining tables and somehow some complex sql procedures to meet our requirements.
Thanks, but my question is if there's nothing wrong with it why my SAP B1 Closes when previewing the Crystal Report. Im running on Windows 7 64-bit, i will not imagine that the capacity of memory of my Terminal Unit is not enough because my memory is 8GB. I run crystal report but it shows the record, but when running the Cystal Viewer inside SAP B1 it illegally terminated.
Thanks for clarifying the creation of Stored Procedure.
Ben -
Hello,
1) I am suddenly getting an error message ‘Load Report failed’ in a production server (where the VS2003 application is deployed) when the Crystal Report is executed. This has happened maybe because of the Windows/Crystal Report Updates!
I am able to see the same report perfectly fine in the development computer using VS 2003.
I am using the 9.1 version which is part of the Visual Studio 2003.
The event logs show 'Either the keycode library is not registered or it cannot be loaded ...EventID=10029'. See attached screen shot.
Please help?
2) Since I was getting a registration suggestion window for using Crystal Reports, I registered twice using different email address and it said that it will send me the KeyCode for the Crystal report but after successful registration I never got any keycode but just an email acknowledging the Registration.
I believe the KeyCode is required to use it in the server to execute/run a report.
Can SAP representative email the keycode to my gmail account?
My product key is:
Please help to resolve both my problems
Thanks in advance,
Sanjay ChudasamaIf I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces -
Problem passing parameter to crystal report subreport from *.aspx page
Background:
I am developing a .NET web application using Visual Studio 2005. The code behind is in VB.net. One of my asp.net pages calls a report, which is invoked when the user clicks a Print button. I have developed this report using the Crystal Reports software that is bundled with Visual Studio 2005. I am passing one parameter from the asp.net page (utilizing the VB.net code-behind on the Print button) to the Crystal report. The report consists of a main report and 5 subreports. Both the main report and the subreports use the same parameter. Both the main report and the subreports are bound to stored procedures, each of which require a parameter.
Problem:
For some reason, the parameter is not being passed from the asp.net page to the report. I am receiving the following error: "CrystalDecisions.CrystalReports.Engine.ParameterField.CurrentValueException: Missing Parameter Values." However, when I remove the subreports, the parameter gets passed, and the report is invoked with no problem.
I have read in other forums that there may be an issue with the Crystal Reports software that is causing this problem. I have downloaded and run the suggested hotfix, but the problem remains unresolved. I have tried changing the linking of my main report to the subreport, but that doesn't help either. It is possible that I am doing something wrong with the linking, as this is the first time I have developed a report with Crystal Reports. I need a workaround or definitive solution. Below is the aspx code used to call the report:
Imports System
Imports System.Collections.Specialized
Imports System.Collections.ObjectModel
Imports System.Collections
Imports System.Text
Imports System.Configuration
Imports System.Data.SqlClient
Imports System.Data
Imports System.Data.SqlClient.SqlDataAdapter
Imports System.Web.Configuration
Imports Crystaldecisions.crystalreports.engine
Imports Crystaldecisions.reportsource
Imports Crystaldecisions.shared
Partial Class OACIS_Award_or_Deny_BudgetSummary_PrintRpt
Inherits System.Web.UI.Page
Dim paramFields As ParameterFieldDefinitions
Dim paramField As ParameterFieldDefinition
Dim paramValue As ParameterValues
Dim paramDiscreteValue As New ParameterDiscreteValue
Public Shared idCase, nameRpt As String
Private PrintRpt As ReportDocument
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
idCase = Request.QueryString("id")
nameRpt = Request.QueryString("prtName")
Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration("~/")
Dim settings As AppSettingsSection = DirectCast(config.GetSection("appSettings"), AppSettingsSection)
Dim file As String = settings.File
Dim dSource, iCatalog, userIs, passUser, appString As String
dSource = Nothing
iCatalog = Nothing
userIs = Nothing
passUser = Nothing
appString = config.ConnectionStrings.ConnectionStrings("OacisConn").ToString()
Dim AppArray() As String = Split(appString, ";")
Dim arrayLgth As Integer = AppArray.Length
Dim i As Integer
For i = 0 To arrayLgth - 1
Dim pairIs() As String = Split(AppArray(i), "=")
Dim firstItem As String = pairIs(0)
Dim secondItem As String = pairIs(1)
If firstItem = "Data Source" Then : dSource = secondItem : End If
If firstItem = "Initial Catalog" Then : iCatalog = secondItem : End If
If firstItem = "UID" Then : userIs = secondItem : End If
If firstItem = "PWD" Then : passUser = secondItem : End If
Next
Dim crReportDocument As ReportDocument
Dim crExportOptions As ExportOptions
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
Dim crconnectioninfo As ConnectionInfo
Dim crDatabase As Database
Dim crtables As Tables
Dim crtable As Table
Dim crtablelogoninfo As TableLogOnInfo
Dim Fname As String
Dim Prtname As String
Dim FPath As String
Dim crSection As Section
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim subRepDoc As New ReportDocument
FPath = Server.MapPath("") + "\"
Dim rptIs As String = nameRpt
crReportDocument = New ReportDocument
Prtname = FPath
Prtname = Prtname + rptIs
crReportDocument.Load(Prtname)
Fname = "C:\WINDOWS\TEMP\" & Session.SessionID.ToString & ".pdf"
crconnectioninfo = New ConnectionInfo
crconnectioninfo.ServerName = dSource
crconnectioninfo.DatabaseName = iCatalog
crconnectioninfo.UserID = userIs
crconnectioninfo.Password = passUser
crDatabase = crReportDocument.Database
crtables = crDatabase.Tables
For Each crtable In crtables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
Response.Write(ex)
Exit Sub
End Try
Next crtable
For Each crSection In crReportDocument.ReportDefinition.Sections
For Each crReportObject In crSection.ReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
crSubreportObject = CType(crReportObject, SubreportObject)
subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
For Each crtable In subRepDoc.Database.Tables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
End Try
Next
End If
Next
Next
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = Fname
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
Dim parIDCase As ParameterValues = New ParameterValues
Dim disIDCase As ParameterDiscreteValue = New ParameterDiscreteValue
disIDCase.Value = idCase
parIDCase.Add(disIDCase)
crReportDocument.DataDefinition.ParameterFields("@ID_CASE_NMBR").ApplyCurrentValues(parIDCase)
crReportDocument.Export()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile(Fname)
Response.Flush()
Response.Close()
System.IO.File.Delete(Fname)
Catch ex As Exception
lblMessage.Visible = True
lblMessage.Text = "Error Load
" & Convert.ToString(ex)
End Try
End Sub
End Class
Your help is greatly appreciated!Thanks for your help!
I've now gotten past the "missing parameter values" error, and the report renders fine in the report viewer. However, I've encounted another problem. The data in my main report displays correctly, but the data in my subreport does not display. Of course, when I view the report in the designer, both the main report and subreport display correctly. What am I doing wrong? Below is my vb.net code:
Try
idCase = Request.QueryString("id")
nameRpt = Request.QueryString("prtName")
Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration("~/")
Dim settings As AppSettingsSection = DirectCast(config.GetSection("appSettings"), AppSettingsSection)
Dim file As String = settings.File
Dim dSource, iCatalog, userIs, passUser, appString As String
dSource = Nothing
iCatalog = Nothing
userIs = Nothing
passUser = Nothing
appString = config.ConnectionStrings.ConnectionStrings("OacisConn").ToString()
Dim AppArray() As String = Split(appString, ";")
Dim arrayLgth As Integer = AppArray.Length
Dim i As Integer
For i = 0 To arrayLgth - 1
Dim pairIs() As String = Split(AppArray(i), "=")
Dim firstItem As String = pairIs(0)
Dim secondItem As String = pairIs(1)
If firstItem = "Data Source" Then : dSource = secondItem : End If
If firstItem = "Initial Catalog" Then : iCatalog = secondItem : End If
If firstItem = "UID" Then : userIs = secondItem : End If
If firstItem = "PWD" Then : passUser = secondItem : End If
Next
Dim crReportDocument As ReportDocument
Dim crExportOptions As ExportOptions
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
Dim crconnectioninfo As ConnectionInfo
Dim crDatabase As Database
Dim crtables As Tables
Dim crtable As Table
Dim crtablelogoninfo As TableLogOnInfo
Dim Fname As String
Dim Prtname As String
Dim FPath As String
Dim crSection As Section
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim subRepDoc As New ReportDocument
FPath = Server.MapPath("") + "\"
Dim rptIs As String = nameRpt
crReportDocument = New ReportDocument
Prtname = FPath
Prtname = Prtname + rptIs
crReportDocument.Load(Prtname)
Fname = "C:\WINDOWS\TEMP\" & Session.SessionID.ToString & ".pdf"
crconnectioninfo = New ConnectionInfo
crconnectioninfo.ServerName = dSource
crconnectioninfo.DatabaseName = iCatalog
crconnectioninfo.UserID = userIs
crconnectioninfo.Password = passUser
crDatabase = crReportDocument.Database
crtables = crDatabase.Tables
For Each crtable In crtables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
Response.Write(ex)
Exit Sub
End Try
Next crtable
For Each crSection In crReportDocument.ReportDefinition.Sections
For Each crReportObject In crSection.ReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
crSubreportObject = CType(crReportObject, SubreportObject)
subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
For Each crtable In subRepDoc.Database.Tables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
End Try
Next
End If
Next
Next
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = Fname
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
crReportDocument.SetParameterValue("@ID_CASE_NMBR", idCase)
crReportDocument.SetParameterValue("@ID_CASE_NMBR", idCase, "MemberName")
crReportDocument.Export()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile(Fname)
Response.Flush()
Response.Close()
System.IO.File.Delete(Fname)
Catch ex As Exception
lblMessage.Visible = True
lblMessage.Text = "Error Load<br>" & Convert.ToString(ex)
End Try
Edited by: LaShandra Knox on Sep 17, 2008 7:59 PM -
Changing the Crystal Report dependency from 10.2 to 11.5 using config file
Hi,
We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
Then I changed the .net config files to change the dependency assembly as follows
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Now the application launched with out any issues. I thought the problem was sorted out.
But when I tried to generate the report, there comes the problem
During the report generation, I am getting the following error
Crystal Reports
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
OK
I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
Is there any way to achieve this ?
Any help is much appreciated.
Thanks
Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PMNo way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
Ludek -
Error while trying to run the Crystal Report ADD ON on SAP 8.8 Patch 12
Hello Expert,
I have installed Crystal addon version 2.0.07 on SAP 8.8 P12.While trying to start the crystal addon I am getting the following error.
"External connection to DB Failed.Please re-run the account setup with super user login."
regards,
pankajkHi Gordon,
I am unable to see the crystal manager in the menu after the installation of SAP 8.8.Only at the Tool there is Preview for th external crystal report.How to visualize the cyrstal report manager in SAP 8.8.
regards,
pankajk -
How to set database location in the crystal report X1 from the Source code.
Dear All,
I am using Crystal report X1 for report generation.Now I am setting the database location manually in the crystal report. How can I Set the database location from the Source code.
Awaiting for your reply.
Thanks in advance.
Regards,
Rahaneef THere's a routine that also searches for subreports to set the log on info. Simply remove that aprt to set the main report logon info:
IDatabaseTablePtr pTable;
//get first table
pTable = m_Report->Database->Tables->GetItem(1) ;
long lTableCount = m_Report->Database->Tables->Count;
for( long lTable=1; lTable<=lTableCount; lTable++ )
pTable = m_Report->Database->Tables->GetItem(lTable);
pTable->ConnectionProperties->DeleteAll();
pTable->ConnectionProperties->Add("DSN", "Name of your DSN");
pTable->ConnectionProperties->Add("Database", "Demo");
pTable->ConnectionProperties->Add("Password", "sa");
pTable->ConnectionProperties->Add("User ID", "1Oem2000");
// Log on the tables of the subreports.
long lSectionCount = m_Report->Sections->Count;
for( long lSection=1; lSection<=lSectionCount; lSection++ )
ISectionPtr pSection = m_Report->Sections->Item[lSection];
long lSubreportCount = pSection->ReportObjects->Count;
for( long lSubreport=1; lSubreport<=lSubreportCount; lSubreport++ )
IReportObjectPtr pSubreportObject = pSection->ReportObjects->Item[lSubreport];
CRObjectKind crObjectKind;
pSubreportObject->get_Kind(&crObjectKind);
if( crObjectKind == crSubreportObject )
ISubreportObjectPtr SubReportPtr = pSubreportObject;
IReportPtr pSubReport = SubReportPtr->OpenSubreport();
long lTableCount = pSubReport->Database->Tables->Count;
for( long lTable=1; lTable<=lTableCount; lTable++ )
pTable = m_Report->Database->Tables->GetItem(lTable);
pTable->ConnectionProperties->DeleteAll();
//pTable->ConnectionProperties->Add("DSN", "dwcb12003");
pTable->ConnectionProperties->Add("Database", "CrystalEport_DB");
pTable->ConnectionProperties->Add("Password", "sa");
pTable->ConnectionProperties->Add("User ID", "1Oem2000");
If that doesn't work you need to tell us what is the error you are getting and paste in the code you are using. -
Problem with starting Crystal Report document from SAP Gui
Dear all,
in Crystal Reports I created my first report (based on a BW query), which is executed successfully, when I run it directly from CR or from Infoview. The report is stored directly in BW and has been published successfulyl to BOE.
If I try to run it native from the SAP Gui, the following steps happen:
Internet Explorer is started with the following link:
http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4I4B2HQG8KK2ICFPONVIG5D9Q&sap_sysid=(sysid)&sap_client=010&language=EN&sap-client=010
this link is transcoded to the following:
http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/=ce_protcl)%3a//MONHAMBO020.world.mon:8080%2fSAP%2fviewreport.csp(Q&sap_sysid=BWP&sap_client=010&language=EN&sap-client=010&sap-language=EN&cmsname=MONHAMBO020.world.mon
(I already entered /CRYSTAL/CL_BW_HTTP_HANDLER handler in the ce_url service)
and afterwards I get an error 404 -> corresponding service not available
which is obvious, as a service =ce_protcl is not existing at alkl.
If I then execute my CR document again from SAPGui (without closing the IE), the standard BOE login page for the infoview is displayed, but I get an error:
Account information not recognized: The credentials passed to secSAPR3 [] are invalid. Use the following format: sid~clnt/user
I can logon with my BW credentials, and afterwards I can see my CR document.
Any idea, what went wrong?
Thanks,
AndreasDear Ingo,
the basic installation of all BOE components was done by the SAP installation service and I checked several times your blog(s) and the corresponding parts on the BOE server and in BW. From my point of view we did all necessary configuration steps on BOE and BW (/CRYSTAL/RPTADMIN) which are necessary to setup the BOE software and the connections.
I checked again the HTTP handler and it still says: /CRYSTAL/CL_BW_HTTP_HANDLER
I stopped and restarted the service, but with no effect at all -> I do not think that I need a restart of the server, right?
My user is as well existing on the BOE server and I can logon to the BOE with my SAP credentials.
I guess as well that the key to the success is the HTTP handler. The first link I provided is the link that is shown in IE, before I logged on to the BW server and I think this is correct, as the transcodification is done after(!) I logged on to the BW server.
A part of the transcodification is as well working, as I can see the replacement of my ce_server, sysid, etc. But it seems to me that the first part of the string is crap:
http://dtcmbbwp01.ctc.ch.rcc:1080/sap/bw/=ce_protcl)%3a
Any further ideas?
Thanks and best regards,
Andreas -
Problem while running the xml report in concurrent program
Hi,
In EBS r12, we have requirement to have a standard report output in excel.
I got the report's xml output to create the xml template (.RTF layout) using BI Publisher.
I created the .RTF layout and it works fine on my laptop using Bi Publisher.. the xml loads into it and i can preview xml data on layout with all format (Excel, PDF...)
I uploaded the layout to EBS, and assigned it to the standard report.
I changed standard report out put to XML
When i go to submit report request, the template is assigned with report and everything seems correct.
But after i run the report.
The report is Completed with Warning status.. and output is only XML with Error message :
This XML file does not appear to have any style information associated with it. The document tree is shown below.
The Log file says :
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 2350601 on node CLONE at 13-APR-2011 09:03:47.
Post-processing of request 2350601 failed at 13-APR-2011 09:03:48 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
------------- 2) PRINT -------------
Not printing the output of this request because post-processing failed.
Finished executing request completion options.
The manager log file of Output post processor shows as:
Template code: LATE_PAID
Template app: SQLAP
Language: en
Territory: 00
Output type: EXCEL
[9/21/11 10:59:39 AM] [UNEXPECTED] [1273372:RT4463274] java.io.FileNotFoundException: /data1/EBSR120/inst/apps/oravis_hschbscgn20076/logs/appl/conc/out/o4463274.out (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:230)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)
[9/21/11 10:59:39 AM] [1273372:RT4463274] Completed post-processing actions for request 4463274.
[9/21/11 11:33:17 AM] [OPPServiceThread0] Post-processing request 4463327.
[9/21/11 11:33:17 AM] [1273372:RT4463327] Executing post-processing actions for request 4463327.
[9/21/11 11:33:17 AM] [1273372:RT4463327] Starting XML Publisher post-processing action.
[9/21/11 11:33:17 AM] [1273372:RT4463327]I guess we should submit XML publisher request "XDOREPPB" in "After report trigger" to generate the report output. You can refer the below link for syntax for submission of the program.
Re: Excel Output appears in IE after submitting XDOREPPB from backend
This may be helpful if not please ignore it. -
Problem in Display the Crystal report using Crystal report Viewer 2008
Hi All,
I have developed crystal web project with crystal report using Eclipse IDE. when I deploy this web application using Tomcat server 6.0 in Windows xp, Windows Vista.. It is working fine..
But When I deploy it into Windows 2000 server , I am not able to see Last 2 columns of the report page in the Viewer.
But When I tried to Export as Excel, I got all the datas in the Report and also when I preview the report in Eclispe IDE using crystal viewer plugin it is working fine in Windows 2000 server also..
Thanks in Advance for your help..
Regards,
SathiyaMBPSWindows 2000 is not supported in current versions of CR. Check the platforms PDF file.
-
Crystal report- Connect from SAP gateway to RFC server failed
Hi All,
I am trying to connect to a SAP R3 system from crystal reports but it gives me below error.
Please note : Transports have been imported and also the roles CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER. My user is a member of these roles which were release along with Best practice reports v1.31
Error :
Logon failed.
Details: CMALLC : rc= 27 > Connect from SAP gateway to RFC server failed
Connect_pm GWHOST=10.10.4.63, gwserv=SAPGW30, SYSNR= 30
Location SAP-gateway on host ply.log.com/sapgw30
Error timeout during allocate
TIME ....
Release 700
Component SAP Gateway
Version 2
RC 242
Module gwr3cpic.c
LINE 1996
Detail no connect of TP sapdb30 from host 10.10.4.63 after 20 sec
Can you please help us solving this error.
Thanks
ChetanHi Stratos,
The SAP Version is ECC 6.0.
The below transports have been imported.
u2022 Open SQL Connectivity transport (K900574.r21 and R900574.r21)
u2022 Info Set Connectivity transport (K900575.r21 and R900575.r21)
u2022 Row-level Security Definition transport (K900576.r21 and R900576.r21)
u2022 Cluster Definition transport (K900585.r21 and R900585.r21)
u2022 Authentication Helpers transport (K900578.r21 and R900578.r21)
Thanks & Regards,
Chetan -
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 -
Not seeing parameter values in SBO while running a crystal report w/Zebra
I am using the crystal reports addon for SAP Business One. I created a report which prints a label (1"x3") on a zebra thermal printer. If I run the report within SAP Business One with a default printer other then the zebra printer I see the drop downs for the parameter values. However when I select the values and print it , the label does not print correctly. It appears as if crystal thinks the label is 3"x1". If I try to run the report with the zebra printer as a default printer within SAP Business One, the drop downs for selecting the parameters are gone.
If I run the report within crystal 2008 directly, I have no problems with printing the label properly as long as the Zebra Printer is not the default printer. I have updated crystal 2008 with all available service packs and updates. I have made registry entries on the server and workstations to allow more than enough values to be seen in the parameter dropdowns.
Does anyone have any idea why the report will not work when being executed within SAP Business One?Susan,
I'm not sure if the attached thread is relevant for you? I am also searching related to issues with Zebra, although mine are with PLD.
Re: Crystal Reports viewer(runtime) barcode printing problem -
Unable to view images in the crystal reports on a jsp
Hi folks,
I am unable to view any image (not even the ones like businessobjects logo) in the crystal reports fetched from the CMS. I am able to fetch the report properly. But I don;t get to see the images in the reports.
If anyone of you know how to fix it. Kindly post it. It's urgent.
PS: It would be great if you could kind of share a check list of things that need to be taken care of while viewing a crystal report with images.Hi Suresh,
Please check that you have crystalreportviewers11 (for version XI) or crystalreportviewers115 ( for version XI R2) folder in your BO installation and your web.xml has correct reference to it. You can copy this folder over in your web application and
Add an entry in web.xml as follows ( if it doesn't exist)
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>/<your application name>/crystalreportviewers115</param-value>
</context-param>
crystalreportviewers11\115 have images folder which contain all the images for Logo and toolbar. Check the images folder in viewers and make sure that they exist.
-Aasavari -
Reports based on SQL view contain no data. Reports based on tables work just fine
When we load a report into Crystal reports server that is based on a SQL view the report will run but will contain no data. A report that pulls data from SQL tables works just fine. Running the crystal report on standalone crystal reports works just fine.
I am completely lost on this one. If you have any ideas please send them my way.Are you missing an ODBC / TNS entry on your CMS (or report processing, if clustered env) server? This could definately be an issue if the report will run locally within CR client, but not when hosted on the enterprise environment. Another test would be to run the report from CR client ON the CRS / BOE server..
Maybe you are looking for
-
Quicktime : Windows Vista w/SP2 - Windows Error : Export Controller stopped
With the latest Quicktime version I am getting several errors in several applications: Windows Vista with SP2: "Export Controller was closed - Data Execution Prevention has sttoped Export Controller" After Effects CS4: "Invisible OpenGL Buffer Window
-
ITunes not recognizing Outlook
I was hoping to sync my new iPad with the contacts and calendar in my Outlook 2007. However, iTunes does not seem to be recognizing that I have Outlook installed. When I go to the Info page for my iPad in iTunes, there are no selections to select fro
-
Gurus, Any standard report to show short delivery? Example: Sales Order 100 Qty, Delivery 50 Qty. Example: Sales Order 100 Qty, Delivery 50 Qty, Pick Qty : 25 Example: Sales Order 100 Qty, Delivery 50 Qty, Pick Qty : 25, PGI Qty : 10
-
I recently purchased adobe photoshop lightroom 5 on a disk and I downloaded the software and I am not able to access Lightroom... How can I open this application and use it? Yes I do have my adobe flash updated and I have the cloud for Adobe
-
Using Virtual Key Figures/ Characteristics is possible to use in InfoSets
Hi All, Is it possible Using Virtual Key Figures/ Characteristics is possible to use in InfoSets? I have tried all the possibilities using the BADI implementation RSR_OLAP_BADI without success. The VKF / Characteristics works fine when it is being us