Deski report using sdk....?????

Hi experts,
    Is there a way to create a deski report  from a universe using sdk.... If so, please provide me some sample code...
Regards,
ksvsivam

Using the Desktop Intelligence Reporter SDK:
Set newdocument = Application.Documents.Add()
All the best..
Praveen

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

  • DESKI Report using Temp tables in MS- SQL server 2005

    Hi,
    I am trying to create a Free hand SQL DESKI report using temp tables in MS SQL Server-2005, I am using ODBC connection.
    When I run the report, I am getting the error
    u201CConnection or SQL sentence error (DA0005) No column or data to fetchu201D
    Ex:
    Select *
    into #t1
    from region
    select * from #t1
    drop table #t1
    Please help.
    Regards,
    Pratik

    Pratik, the SQL does not seem right. BTW you can only retreive data via Deski Free hand SQL. Also try to use OLE DB connection.

  • Finding PreDefined Conditions from DesKI Reports using VB BO SDK

    Hi,
    I need to collect all objects and conditions used in DesKI Report files (.rep) and document them in a excel sheet. I am able to retrieve the Object information but I am facing promblem when i try to fetch the Predefined condtions used in the report.
    I am using the below code to find the count of conditions available in a particular report.
    dp_CurrentDP.Queries.Item(1).Conditions.Count 
    It gives me this error, "cannot read queries from dataproviders". I am not able to find the cause of the problem, I am just trying with a very simple report and I can get all details from it including the SQL used (i.e, CurrentDP.SQL).. but CurrentDP.Queries.count is giving me the above error. I have put a seperate topic on this to check if anyone faced similar problem. Please guide me if you have any suggestions. Thanks

    Post Author: HaHo
    CA Forum: Other
    hi ted.
    sorry, took me a while to answer... well, you were absolute right. i made the following failure:
    ...For Each qry In dp.Queries   For Each con In qry.Conditions       For op = 1 To con.OperandCount         ' write condition to db      Next   NextNext...
    well, a predefined condition simply has no operand.. :(stupid, in deed...better this way:
    ...For Each qry In dp.Queries   For Each con In qry.Conditions       If (con.OperandCount = 0) Then         ' write predefined condition to db      End If      For op = 1 To con.OperandCount         ' write condition to db      Next   NextNext...
    thx a lot for your help, you showed me the way ;)harald.

  • List of universe for a deski report using deski report engine.

    We have some Deski reports. While running query builder , we are not able to get list of universe for those reports. (SI_UNIVERSE.SI_TOTAL is 0).
    We need to go for deski report engine approach to get the list for the same. Can someone please help me with the sample code for the same.
    Thanks,
    Abhay

    Hi Ted,
    Do you know if the ability to pull DeskI SQL will be supported through Java reportEngine in the future?  Is there a workaround aside from using COM SDK to pull this data provider information for DeskI?
    Thanks

  • Error when running report using SDK

    Hi, I am getting following error when I am running a report  in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently.
    Error in RetrieveReport: Unable to connect to cluster @hisuatcluster to retrieve updated CMS member list. Logon cannot continue.
    Anyone has seen this and any way to pin point the cause. We have used -ns and -port switch in the command line of CMS and all servers.
    Thanks,

    will try that. But we would not be leveraging cluster benefit then. What happens if that particilar CMS in cluster goes down.
    Below is the logic of SDK.
    1.     Create an EnterpriseSession by calling SessionMgr.Login(the credentials we use to connect on in the web.config file).
    2.     Get a reference to the InfoStore with EnterpriseSession.GetService(u201CInfoStoreu201D)
    3.     Get a reference to the report as an InfoObject by querying the InfoStore u2013 InfoStore.Query(u201CSELECT * FROM CI_INFOOBJECTS WHERE u2026u201D)
    4.     Get a reference to the RASReportFactory u2013 EnterpriseSession.GetService(u201Cu201D, u201CRASReportFactoryu201D)
    5.     Open the report using the InfoObject (line 3) and RASReportFactory (line 4) u2013 ReportClientDoc = ReportAppFactory.OpenDocument(InfoObject.ID, 0)
    6.     Manipulate the reportu2019s connection information.
    7.     Set the vieweru2019s report source with the report (this is commented out in the current tests) u2013 CrystalReportViewer.ReportSource = ReportClientDocument
    8.     Close the session u2013 EnterpriseSession.Logoff()

  • Error while designing Deski reports using excel 2010(xslx) as data source

    Hi All
    We are using BOXI R3.3 on Windows 2003 Server.
    When we are trying to create DESKTOP INTELLIGENCE REPORTS using EXCEL 2010(xlsx) format prompting with below error.
    "Cannot update.Database or object is read only(3207) "
    Could you please clarify whether BOXI supports MS EXCEL 2010 version(xslx) version or not?
    If not what is the work around for this?
    Regards
    bose

    Here is what Supported Platforms Guide says : Microsoft Office 2010 (starting with FP 3.4)**
    As you are on FP3.3, Office 2010 is not supported in your implementation.
    You need to either upgrade, or use pre-Office 2010 formats.

  • Getting list of reports  and related tables used in those reports using sdk

    some columns are changing in the database tables.
    we like to know how many reports are affected by that .
    please can any one help me in getting list of reports and tables associated with them using  bo sdk.
    thanks for your help in advance

    Open the report with RAS. Then with the ReportClientDocument object:
    oReportClientDocument.getDatabaseController().getDatabase().getTables() will trutns Tables collection object that contains the table information for the report. Then use get() to get Itable object.

  • How to create a grid like the sample of "profit Centre - Report" use sdk ?

    hi
    in the grid of "profit Centre - Report", it has a button,if you click it ,it can show the detaildata. it can implement many levels "Expand " and "Collaspe",but it's not implemented by group! i want to know how to implement it by ui dpi or udo .
    thanks!

    Hi,
    You need:
    - to know the relevant queries
    - to make copies (use GetAsXML) from the relevant system forms to mimick the standard functionality
    - to do it via UI API (use Grid and DataTable - then you don't need DI API at all)
    Here's some more information on DataTable / Grid:
    The UI sample no. 19 shows you how to load data into the Grid - via the DataTable...
    You can find an enhanced version of the sample (showing you how to get linked buttons, combo boxes etc) in the Education area on SAP Service Marketplace (SMP): http://service.sap.com/smb/education
    Or just try these links (need SMP user account for that...) to download the sample from the Archive of "Live Expert Sessions" (includes a few more things):
    http://service.sap.com/~sapidb/011000358700006282762006E.zip
    That's the link to the PDF for the session:
    http://service.sap.com/~sapidb/011000358700006282742006E.pdf
    ...and that's the recording:
    http://service.sap.com/~sapidb/011000358700006280182006E.wrf
    HTH,
    Frank

  • Remove Events associated on a Rescheduled Report using SDK

    Hi All,
    I have an automated SAP SDK program which reschedules the Failed BO Reports in BOXI r3  environment.
    Which works as expected by re-scheduling the failed reports.
    But few rescheduled reports which have an event associated with it are in pending status waiting for the event file.
    Is there a way through SDK , i can remove all the events associated with it for that particular instance when i reschedule the report.
    Please help me.
    Kindly let me know if,you have any questions.
    Regards,
    Jaykumar M

    Jawahar,
    Thank you,posted the same under Java SDK.Development.
    Regards,
    Jaykumar M

  • 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!
    Nadine

    Post 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

  • Webi report generation using sdk?

    hi experts,
         Can i create a webi report using SDK. if so, please give me the basic steps.....
    Regards,
    ksvsivam

    Hello ksvsivam,
    You can certainly create webi report from scratch using Report Engine SDK.
    Please go through documentation present at following url:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm  -
    >Report Engine SDK--->Developer Guides--
    >Building and Editing Data Providers 
    Regards,
    Chinmay Athavale

  • Output same Deski report as PDF and XLS

    Hello,
    will it be possible to generate (not schedule) a Deski - Report using Java SDK ?
    desired workflow:
    - generate/refresh the report to hold new data (User specific, Local specific)
    - output this report in Formats PDF and XLS
    - store the output - reports in Users inbox
    The goal is to generate the report only once and output the same twice - as pdf and as xls.
    As far as i saw in scheduling a report, it is only possible to produce one output (pdf or xls), if we need both, we have to schedule twice. And therefor we will have to generate the same report twice.
    I found somthing like
    binaryView = (BinaryView)documentInstance.getView(OutputFormatType.XLS);
    binaryView = (BinaryView)documentInstance.getView(OutputFormatType.PDF);
    in RBean for Webi - reports.
    Looking forward for any idea.
    Thanks in advance.
    Johannes
    Edited by: Johannes Kammerer on Sep 15, 2009 4:55 PM

    If you're on XI 3.x, then you can specify multi-format exports using Publications.
    Otherwise, you'd need to export to a file using REBean SDK, then Enterprise SDK to create a new InfoObject for that artifact.
    Sincerely,
    Ted Ueda

  • Export DeskI Report as excel

    Post Author: Niharika
    CA Forum: Publishing
    Hi,
    This DeskI Report uses customer based prompt.When exporting the report as excel for all customers ,it gives consolidated data of all the customers.But i need to export it in such a way that,if i am prompting the report for five different customers ,the exported excel should be in five different excel sheets.
    If any body has got any idea how to do this,please reply soon.
    I am using BO XI release2 version.
    Thanks,
    Niharika

    Hi Philipe,
    This issue has been fixed in Service Pack 4 for BOXIR2 fixes this issue.
    The related ADAPT id is ADAPT00962089.
    Could you please upgrade your client to SP4.
    Might be your server and cleint isnot on same patch level that is why you are getting this issue.
    As Shreyas already updated you to MS office 2003 SP3 is not supported with BOXIR2 this is the other reason because DAO properties of MS office 2003 SP3 is not supported with BOXIR2 and when you export the data either through infoview or through desktop intelligence clien itself local MS office comes inot picture.
    Regards,
    Sarbhjeet Kaur

  • Drill using SDK in BO6.5

    HI,
    i m able to view the report and handle prompts using webIntellingence SDK (using WIBEAN) now i have to drill the report using SDK in Business objects 6.5,
    The format of the report is .rep( Revenue.rep).
    can i use this report for drilling using SDK?or
    are only .wid reports used for drilling purpose?
    if i m using rep format then we should have thin client to perform drill operation if i m right.
    now i want to drill the report using SDK,is this possible for .rep or any other format?

    Hi Vinod,
    Drilling should be possible with full client documents as well as WebI documents.
    Unfortunately, I do not have a sample to share with you.
    However, you can refer the to XI R2 documentation for implementing Drilling:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RE_SDK/resdk_dg_doc/doc/resdk_java_CustoWebI_dg/ewucw_064.html#1061251
    Please remember that this documentation is for XI R2 and not BO 6.5.
    The most notable difference is that in BO 6.5, the full client document object uses the WIDocument from the WIBEAN SDK.
    However, the concept and most of the method calls are similar (if not the same).
    Hope this helps.
    Regards,
    Dan

Maybe you are looking for