Reports 10g SDK
I need to try to create a new destination for my reports, however every link I found to the SKD is broken or redirected.
Where can I find such code and documentation ?
Tks
Tullio
Hi,
I think you can use the following link for the SDK documentation.
http://docs.oracle.com/cd/B14099_19/bi.1012/b14049/toc.htm
The following is the link for some of the existing plugins.
http://www.oracle.com/technetwork/middleware/reports/index-085705.html
Hope that helps
Regards
Similar Messages
-
Print a report in crystal Report using SDK
Hi Dear;
any body can publish a sample code how can i print a report built in crystal report using SDK?
regards;Hi Dany,
Hope the following code will help u .
before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
for this you have to decalre commantype as stored procedure.
first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
rptView.ReportSource = rptDoc
rptView.Show()
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = False
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "rptForm"
oFrm.Text = "rptForm"
oFrm.ResumeLayout(False)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
oApplication.MessageBox(ex.Message)
End Try
End Sub -
Report Engine SDK sample code questions
Hello,
I've been able to view a boxi report in an iframe via the Enterprise SDK by modifying the sample code in the HowToViewWebiReports_VB example.
I'm not totally happy with the way that's working, so I'm looking at using the Report Engine SDK, although I understand it's performance and scalability isn't quite as good as the Enterprise SDK.
I'm a VB.NET guy, not a C# guy, and I'm not clear on how the wssdk_net2.0_portal_sample_12.0_en example is supposed to work.
I don't have one and my CMS server is running Tomcat, not IIS so there's not going to be an ASP.NET web service running there.
In the dsws.config for the wssdk_net2.0_portal_sample_12.0_en example I put the name of the CMS server, but it's looking for a web service at http://cmsservername:8080/dswsbobje/services/Session, but I get a 404 when i try to hit that.
I'm not familiar with Tomcat, but in searching around on the server, I see a dswsbobje directory under the webapps in my Tomcat installation, but I don't see a services or a Session folder underneath that. In the dswsbobje folder I see the following folders:
BOAR-INF
META-INF
WEB-INF
xsd
Is there something else that needs to be installed on the Tomcat server to get the web service running?
-EricIt looks like I have something there. When I launch launch http://servername:8080/dswsbobje, I see:
Apache-AXIS
Hello! Welcome to Apache-Axis.
What do you want to do today?
Validate the local installation's configuration
see below if this does not work.
To enable the disabled features, uncomment the appropriate declarations in WEB-INF/web.xml in the webapplication and restart it.
Validating Axis
If the "happyaxis" validation page displays an exception instead of a status page, the likely cause is that you have multiple XML parsers in your classpath. Clean up your classpath by eliminating extraneous parsers.
I clicked on the "Validate" link and I see:
Axis Happiness Page
Examining webapp configuration
QaaWS Configuration
QaaWS Servlet is not valid.
ErrorServer servername not found or server may be down
See Web Application log to get more info or read QaaWS v2 documentation starting with section
Perhaps this environment needs some additional configuration? -
What are the recommended settings for businessobjects xI (version 11.5)
Are there any tips to improve performance and reliability of the Report Engine SDK?
It is very slow. We are using a Java client to interact with the dswsbobje libraries.
Calls to " reportEngine.getDocumentInformation" are not consistently working even from the same program.
We supply the prompt info parameters to generate the report.
It works for the first 3 times, then fails a couple of times, and then works again.
Sometimes a report load in 3 seconds, and other times it loads in 30 seconds or not at all.Why not open a case with SAP Support?
Sincerely,
Ted Ueda -
Report Engine SDK: CommunicationException when accessing IReportEngine members
Hello,
I have installed BOXI 3.1 SP3, including the .NET SDK, and I am trying to use the Report Engine SDK part to navigate through a WebIntelligence document (analyse its structure, etc.), via a Console App.
I built my console app targeting .NET framework 3.5, and compiled it in 32 bits mode (x86 platform). I can access the standard SDK without any problem and log in to the CMS then retrieve any InfoObject instances from my enterprise server.
My problem occurs when I try to access my BusinessObjects.ReportEngine.IReportEngine instance's members. Sample lines of code:
SessionMgr sessionManager = new SessionMgr();
EnterpriseSession session = sessionManager.Logon(login, password, cmsName, authType);
InfoStore infoStore = (InfoStore)session.GetService("InfoStore");
UserInfo userInfos = session.UserInfo;
string logonToken = session.LogonTokenMgr.CreateWCAToken("", 1, -1);
ReportEngines reportEngines = new ReportEngines(logonToken);
IReportEngine reportEngine = (IReportEngine)reportEngines.getService(ReportEngineType.WI_ReportEngine);
bool test = reportEngine.IsReady; // or any other member of reportEngine, like reportEngine.OpenDocument(...)
An exception of type 'BusinessObjects.ReportEngine.CommunicationException' occured.
Message:
The Web Intelligence server could not be reached. Contact your Business Objects administrator. (Error: RWI 00236), Session Init Failure,
Stacktrace:
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.Connect(Boolean forceNewInstance)
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub..ctor(OCCAServerConnection connection, Boolean forceNewInstance)
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerConnection.get_Stub()
à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller.SetupStub()
à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller..ctor(IServerSession session, IServerProtocol protocol, IServerConnectionInfo info)
à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId, OpenDocumentParameters parameters)
à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId)
à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.GetAnyServerInstance()
à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.get_IsReady()
What do you suggest?Hi,
Enterprise / ReportEngine SDK is not supported / tested / compatible with desktop / console apps.
Could you try the same logic with a web services sdk, as WebServices SDk is the only SDK which could be used to develop thick client apps.
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
Report Engine SDK - Rbean usage in standalone java application
Post Author: Berndb
CA Forum: JAVA
In BOXI the rebean sdk is available in the Report Engine SDK.
I remember that in the 6.5 world one could use RBEAN interface in a standalone java application.
Is this still possible in BOXI R2?
If yes can you supply a sample classpath which shows all libraries that needs to be assigned.
Thanks in advance.
berndPost Author: datahog
CA Forum: JAVA
Ted's right, but for fun, take what you need from:
<installation drive>:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\lib
and de-reference what's not needed when your project's done, but be careful.
I've actually done some standalone Swing-based webi report renderers using https://xhtmlrenderer.dev.java.net/ + docHTMLView.getStringpart + TagSoup -
Is it possible to use the JAVA Report Engine SDK to modify DESKI reports?
Post Author: Nadine
CA Forum: JAVA
Hi, is it possible to add a complex filter to a DESKI report using the JAVA report engine sdk?
In the developer tutorials for this API, I've only found references to WEBI in terms of modifying reports, though it seems to be possible to view DESKI reports with this sdk.
I am a bit confused in terms of the scope of this API and how I would use it in regard to DESKI.
Many thanks for any suggestions!
NadinePost Author: Ted Ueda
CA Forum: JAVA
Current (XI R2) version of ReportEngine API only supports refreshing/viewing functionality for Desktop Intelligence documents. Document modification/creation is only supported with Web Intelligence documents. Queries aren't modifiable for Deski using ReportEngine API - you can only do so using Desktop Intelligence Reporter SDK, which is COM based.Sincerely,Ted Ueda -
Running Reports 10g on Apps Server
We have a Windows 2003 apps server running Oracle Forms and Reports 10g.
We are having a problem running reports in Oracle 10g, and believe it to be something to do with the configuration files. Currently, we can run the test report through Enterprise Manager using both the default reports service and the one that we have created. However we are unable to run our own reports through forms.
To check that there was nothing wrong with our forms, we copied one of the reports into the â¦\forms10g\reports\samples\demo folder to see if we could run it through Enterprise Manager. However, we get the following error:
Rep-110: Unable to open file â¦â¦
Rep-1070: Error while opening or saving a document.
Rep-0110: Unable to open file â¦...
We then renamed the test.rdf file and tried to run that. Again we got the above message. Next we tried again to run test.rdf, even though this no longer existed, and the report ran. This implied that it isn't actually running the report, but has the report output stored somewhere, and it just displays this.
No matter how we try to run reports, and with which reports service, we always get the above error.
So why is it that no reports will run, not even the test one when it is renamed? Is there a configuration setting somewhere?Hi All,
Hope YOu are fine.
We have running Oracle Forms and Reports Services 10g on Windows 2000 Advanced Server.
The Application Works fine, and reports are generated successfully.
But when we access the same application by using either Linux OS (RHEL 4.0, Ubuntu 6),
The forms works fine but Linux OS could not run the report.
This seems to be a configuration problem.
Any Clues.
Thanks and Looking Forward.
Aamer Javaid
[email protected] -
Formula Columns are not working in Reports 10g
Hi,
We converted the reports developed in Reports 6i to Reports 10g. When we run the report in Reports 10g Builder everything works fine. But when we deploy the same report in Oracle Application Server and invoking the report the formula columns are not working ie., the fields/ placeholder columns which are based on the formula column are not displaying any values in the report.
Please, someone help us in this regard.
Thanks & Rgds,
M TWhat version of Reports do you use..???
Greetings... -
Image_Item not working in Reports 10g
we can't use ImageItems in our report.
we had a table with some images in a column with Datatype Longraw. Because we can't use that with Forms/reports 10g, we cahnged the Table-Column to Blob and migrated the Data with Import/Export. Within Forms we don't have any problem, we can display the old migrated pictures, we can import new images with Webutils Client_Image.Read_Image_Item and we can display those new images as well.
But now we have a problem with Reports. Our Report has an item (the new Blob_Column) in the query and that item is displayed within the report. If the Report is run for a record with a migrated Image, it works fine, but with a new Record and a new imported Image_Item, the Report fails (on the Server) with the following information in EM :
Mit Fehler beendet: REP-69: Interner Fehler REP-62203: Interner Fehler beim Lesen des Bildes - Unable to render RenderedOp for this operation..
it is a very small Report but with 2 images (both are small).
Any ideas out there ?
regards,
MarkFound the solution by myself.
The Problem isn't within Reports it is within Forms. The Image_Item has to set to FileType "BMP" instead of "JFIF".
That solved the problem. -
Report 6i and Report 10g together in a system
Hi,
Is it create any problem if I installed both Report 6i and Report 10g in
a system having 10g database.
What are possible problem that will have to face?Hi,
There won't be any issues. We are using both in our development machines. You must make sure the tnsnames.ora has correct entries.
Regards,
Manu. -
Suppressing a warning message in reports 10g
Hi All,
I am getting REP-32751: Warning: Some text segments are missing warning message when ever i open a report and also while run the report in the browser. I am not able to find the missing text segments. Is there any way to suppress this warning message in oracle reports 10g?. Please let me know.
Regards,
Prasad.probably best to post this in the reports forum
-
Please, help me with with Report Engine SDK!
I am using Report Engine SDK. This is my code:
<%@ page import="com.crystaldecisions.sdk.framework.*"%>
<%@ page import="com.crystaldecisions.sdk.exception.SDKException"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoObject"%>
<%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.*"%>
<%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat,
java.io.ByteArrayInputStream"
%>
<%@ page import="java.util.Iterator"%>
<%
// Reference to the Report Engine:
%>
<%@ page import="com.businessobjects.rebean.wi.*"%>
<%!IInfoObjects getList(IInfoStore iStore) {
IInfoObjects list = null;
String query = "SELECT SI_ID, SI_NAME, SI_PARENTID," + " SI_KIND, SI_INSTANCE, SI_DESCRIPTION FROM"
+ " CI_INFOOBJECTS";
try {
list = iStore.query(query);
} catch (SDKException sdke) {
list = null;
return list;
}%>
<%! void see_all_objects(IInfoStore iStore){
IInfoObjects webiDocs = getList(iStore);
Iterator infoObjectsIter = webiDocs.iterator();
while (infoObjectsIter.hasNext()) {
IInfoObject folder = (IInfoObject) infoObjectsIter.next();
System.out.println(folder.getID());
System.out.println(folder.getTitle());
System.out.println(folder.getDescription());
%>
<%
String CMS = request.getParameter("cms");
String userID = request.getParameter("user");
String password = request.getParameter("password");
String auth = request.getParameter("auth");
if (CMS == null)
CMS = "";
if (userID == null)
userID = "";
if (password == null)
password = "";
if (auth == null)
auth = "";
IEnterpriseSession enterpriseSession;
try {
ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = mySessionMgr.logon(userID, password, CMS, auth);
if (enterpriseSession != null) {//Create and store useful objects for the session.
session.setAttribute("EnterpriseSession", enterpriseSession);
IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
session.setAttribute("InfoStore", iStore);
//see_all_objects(iStore);
//String folderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='4.rpt'";
String folderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='5.rpt'";
IInfoObjects folders = iStore.query(folderQuery);
IInfoObject folder = (IInfoObject)folders.get(0);
//Instantiation of a Report Engine:
ILogonTokenMgr iLManager = enterpriseSession.getLogonTokenMgr();
ReportEngines repEngines = (ReportEngines) enterpriseSession.getService("ReportEngines");
ReportEngine widocRepEngine = (ReportEngine) repEngines
.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);//WI allows editing and creation
session.setAttribute("widReportEngine", widocRepEngine);
ReportEngine fcdocRepEngine = (ReportEngine) repEngines
.getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE); //FC just viewing
session.setAttribute("fcdReportEngine", fcdocRepEngine);
Opening documents:
1. Establish a BusinessObjects Enterprise session for the user
2. Get an identifier for the document
3. Retrieve the ReportEngine instance to open the document of desired type.
4. Open the document using the ReportEngine.openDocument method for Web
Intelligence or Desktop Intelligence documents.
int idReport = folder.getID();
System.out.println("Document about to be opened "+idReport);
System.out.println("Name file: "+folder.getTitle());
DocumentInstance docInstance= widocRepEngine.openDocument(idReport);
// DocumentInstance docInstance = fcdocRepEngine.openDocument(idReport);
System.out.println("Document opened");
String docToken = docInstance.getStorageToken();
//User perform actions on document
// Open the document using its repository ID
BinaryView docBinaryView = (BinaryView)docInstance.getView(OutputFormatType.PDF);
//Parameterize the response
response.setContentType("application/pdf");
response.setHeader("Content-Type", "application/pdf");
response.setDateHeader("expires", 0);
//output the binary stream via the response object
docBinaryView.getContent(response.getOutputStream());
System.out.println("Document converted");
//To view an individual report, call Report.getView
//Open the first version of the document and save.
DocumentInstance docToSave = repEngines.getDocumentFromStorageToken(docToken);
docToSave.save();
System.out.println("Document converted");
// Close of the reportEngine
repEngines.close();
response.sendRedirect("home.html");
} else
response.sendRedirect("index.jsp");
} catch (SDKException mySDKExept) {
response.sendRedirect("index.jsp");
Opening documents:
//To view an entire document, call DocumentInstance.getView
%>
Edited by: Diego XMunch on Mar 10, 2011 3:41 PMBut I have this error:
com.businessobjects.rebean.wi.ServerException: Error interno al llamar a la API 'openDocumentMDP'. (Error: ERR_WIS_30270)
at com.businessobjects.rebean.wi.occa.OccaDocumentComAdapter.checkOpenDocError(Unknown Source)
at com.businessobjects.rebean.wi.occa.OccaDocumentComAdapter.openDocument(Unknown Source)
at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.openDocument(Unknown Source)
at com.businessobjects.rebean.wi.ReportEngineImpl.openDocument(Unknown Source)
at com.businessobjects.rebean.wi.occa.WebiReportEngine.openDocument(Unknown Source)
at org.apache.jsp.login_jsp._jspService(login_jsp.java:163)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619) -
Issue with Oracle Report 10g output
I want to generate text output in Oracle Reports 10g. I am using paper layout.Length of the fields want to print is 750. Each line is broken in the output after 120 characters length apporx. Please let me know if there is any way to print complete 750 characters.
Sample output is coming as below :
T2013 56600084112345 FPWC
955 OLD WILMINGTON RD FAYETTEVILLE
CUMBERLAND NC28301 00000001CONTACT TESING 1234567890
00000001 I'
I want it to be discplayed in single line instead of breaking. -
4 PDF reports from Single report in reports 10G
Hi All,
i want to generate 4 PDF report from one oracle report in reports 10G.
from the same query i want to generate 4 PDF with different order and result set based upon the query parameter at a single time.
exp: query fetch Some eng/spanish provider and client data. requirement is i want to spilt into 4 PDF:
Provider wise Eng.
Provider wise spanish.
Client wise english.
Client wise spanish.
Can anybody please help on this?
Regards
AbhishekHi All,
i am generating 4 PDF reports from one Oracle reports in 10 G.
i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
some time it generates but some time it generate 2 or 3 out of 4.
Can you anyone help me on this issue.
Regards,
Abhishek
Edited by: user651239 on Sep 22, 2008 10:16 PM
Maybe you are looking for
-
Error message: Ipod will not update HELP!
I have reset and restored my ipod mini and I am still running into the same problem. When I attempt to add music to my ipod i get an error message and the upload stops. About 100 songs will go onto my ipod but no more than that. Im using a powerbook
-
I transferred all my music from my pc to my new mac and added new music, but when i try to sync my iPhone with the mac it doesn't sync anything new I put on it. I believe backing it up will solve it , but if I back up my iPhone will it erase what I h
-
White Screen when entering UEFI Settings
Hello All, I currently own the P7-1414 HP pavilion desktop (windows 8). I am attempting to install a graphics card and to do so was told i need to change some of the settings in the UEFI / Bios in order for it to work properly. When trying to enter t
-
Launch PowerPoint from within a Flash Document?
I am new to this and have a question. Is it possible to launch a PowerPoint file from within a Flash Document? (It can open either internally or externally) And, if so, is there a simple way to do it, or can you give me directions to the proper tutor
-
i plug my headphones in my iphone and only one headphone plays music and its not the head phones because i tried it in my ipad could it be the AUX ? and does this come under 1 year warranty ?