Reporting Doc's

Hi BW Gurus,
           Can anyone send me the documents related to Reporting in BW.kindly do the needfull.My E-mail ID is <removed>
Regards,
Ch

Here you can find a lot af link:
Good Knowledge in BW Reporting
Hope it helps.
Regards

Similar Messages

  • New Parameter As Of Date (Period) In Invoice Aging Report   Doc ID:752120.1

    Hi Hussein,
    EBS R12 (12.0.6)
    Rhel 4.6
    How do I apply this kind of patch?
    Solution
    This is Enhancement Request 70091
    ADD PARAMETER TO RUN INVOICE AGING REPORT AS OF A CERTAIN DATE
    Thanks a lot

    Hi,
    Looks like the patch is not released yet. Please log a SR to confirm this with Oracle Support.
    Regards,
    Hussein

  • Financial reporting docs from web analysis

    <p>I need to open some Financial Reporting documents from within aweb analysis page.<br>I put into this page a label, with something like this as text:<br><br><a style="visited:#660000"href="http://scilla:19000/workspace/browse/get/Reports/Rete%20Commerciale/stat_generale_produttore_vista1/">Produttoretotale</<br><br>The FR document is obviosly stat_generale_produttore_vista1; itopens regularly as HTML preview, but in the toolbar there is nobutton to have a PDF preview, nor I have the possibility to printit in PDF format; if I open it from the explorer, the whole PDFstuff is regularly there.<br>How can I have PDF enabled also when passing through a web analysisdocument?</p>

    Hi ,
    For creating a WebAnalysis database connection, please make sure you do the following :
    1. Verify if you have Essbase client installed on the WebAnalysis server.
    2. Check if the path of adm drivers are mentioned in the system environment variable -> PATH entries.
    3. Try giving the Essbase server name instead of the cluster name when attempting to create a connection.
    4. The error 1003 means it doesnt seem to create a connection with the server and while attempting it fails.
    Make sure you have all the parameters mentioned correctly in the server details.
    To get detailed information on what is causing the problem, make sure you stop the WebAnalysis service and start it from console .

  • SIS Reports Doc Needed

    Hi Gurus,
                     I am in a great need of SIS reports details urgently.Can someone send me the SIS Reports details (document) to me.My email is........ [email protected]
    Thanks in advance.
    Venkat

    Hi,
    Statistic Group:
    Purpose – To capture data for Standard Reports, we require to activate Statistic Group as under:
    --> Item category (Configuration)
    --> Sales document type (Configuration)
    --> Customer (Maintain in Master data)
    --> Material (Maintain in Master data)
    When you generate statistics in the logistics information system, the system uses the combination of specified statistics groups to determine the appropriate update sequence. The update sequence in turn determines for exactly which fields the statistics are generated.
    Configuration:
    IMG --> Logistics Information System (LIS) --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Statistics Groups -->
    1. Maintain Statistics Groups for Customers
    2. Maintain Statistics Groups for Material
    3. Maintain Statistics Groups for Sales Documents
    4. Assign Statistics Groups for Each Sales Document Type
    5. Assign Statistics Groups for each Sales Document Item Type .....
    All Standard Reports which are available are as under:
    SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
    1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
    2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
    3. Sales organization -> Sales organization / Sales office / Sales employee
    4. Shipping point -> Deliveries / Returns
    5. SD documents -> Orders / Deliveries / Billing documents ...
    & so on.
    Some of the Standard reports in SD are:
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    In addition to this here is some tip
    Kindly refer to Glynn Williams page no :-418,it says that should one create a new structure and require historical data to be updated into it,refer to OSS note number 0064636.This explains the methods of procedding with statistical update.
    Summary
    Symptom
    This note describes the standard procedure for setting up the statistical data in the Logistics Information System (LIS). However, in addition to this standard procedure, you should also read the application-specific documentation which is stored for each application (Purchasing, Sales and Distribution, Production, Inventory Controlling) in Customizing. This documentation can be found as follows (starting from the top level of the Customizing tree):
    + Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Data Basis + Tools + Setup of Statistical Data + Application-specific Setup of Statistical Data
    The programs which carry out the setup in the individual applications are also called at this point in Customizing.
    Procedure for statistical data setup
    The setup reads all original documents or only the original documents required by the user (such as purchase orders, production orders, material documents, billing documents and so on), and sets up statistical data from these documents. Here, every document is updated in the LIS information structures corresponding to the update rules defined in Customizing.
    Does the statistical data setup work correctly?
    Since a setup can take a number of hours, it is best to just set up one or two (incorrect) documents at first, to check the result before a complete setup is carried out. This is carried out with the following steps:
    1. Call the setup program for a few test documents
    Call the statistical data setup for the respective application via Customizing. (Path -> see above) Enter the information structure to be set up, and, for example, '&(T' as a version. Important: the version '&(T' must not yet exist, that is, '&(T' must be empty.
    Explanation of the version: All data records of an information structure begin with a three-character version number. The current statistical data (actual data) has the version number 000. Data is selected from this version when a standard analysis is carried out. So that the actual data is not modified, the setup must be carried out into another version. The versions into which a setup is carried out must begin with '&(' - by convention.
    Enter the document numbers for which the setup is to be carried out as a test on the setup selection screen. Start the setup after this. (If there are not many documents, this can take place online).
    2. Check the result of the setup
    To display the set up documents in the standard analysis, the standard analysis must access the version '&T'. Via the menu path "System -> User profile -> User parameters", enter and save the parameter ID 'MCR' with the value 'X'. As a result, an input field appears on the standard analysis selection screen, in which a version other than '000' can be entered.
    Now call the standard analysis in question. On the selection screen (at the very bottom), overwrite the version '000' with '&(T' (if you have followed the above suggestions). The standard analysis then displays the data which was set up.
    3. The user parameter 'MCR' can be reset again.
    Standard procedure for the statistical data setup in the LIS
    The data of the actual version (000) should be replaced with the set up data when setting up a complete information structure. Two procedures (A and B) are described below. These procedures have the following advantages and disadvantages:
    Advantages of procedure A:
    It is possible to compare the old actual data with the set up data.
    Disadvantages of procedure A:
    Data is stored 1 or 2 times (3 times if the actual data is saved)
    R/3 operation must be shut down during the entire procedure
    Longer runtime than procedure B
    Advantages of procedure B:
    Data is only stored 1 or 2 times (3 times if the actual data is saved)
    R/3 operation must only be shut down during the actual setup.
    The runtime is shorter than for procedure A
    Disadvantages of procedure B:
    It is not possible to compare the old actual data with the set up data.
    Procedure A is the "normal" method", and is suitable for normal datasets. On the other hand, procedure B should be used for large datasets.
    Although the correctness of the setup should already have been checked using a few documents - as described above, it can nevertheless be a good idea to compare the entire data with the old data (or at least taking random samples) after carrying out the setup. Only procedure A offers this possibility.
    Important additional information on deleting and converting data
    Note that when Report RMCVISCP is mentioned in the following section, it should only be used in Releases < 4.X . In all release levels as of 4.X, Report RMCVISCP has been replaced by Report RMCSISCP. So use the later report, since Report RMCVISCP in Release > 4.X is also no longer supported by Support.
    Procedure A
    R/3 operation must be shut down until the following steps 2 to 5 have all been carried out. In particular, no documents may be created or modified.
    1. Delete the target version of the setup
    If the setup is to take place in version '&(N', for example, this version must be deleted using the program RMCVISCP. Enter the affected information structures and the version to be deleted on the selection screen of RMCVISCP. (In addition, the checkbox "Delete a version?" must be marked).
    The version '000' may not be chosen as a target version of the setup. This means that '000' may not be entered as the version to be deleted.
    2. Carry out the setup.
    In Customizing (see the path described under "Symptom"), call the setup corresponding to the required application. Since now, or at least a large proportion of the original documents are now to be set up, it is recommended that you schedule the setup in the background for a weekend.
    3. Check the data which was set up
    The set up data can be displayed via the standard analysis. To do this, set the MRC parameter to 'X' (see above), so that the version '&(N' can be entered on the standard analysis selection screen (if the setup was carried out in this version).
    Furthermore, you can compare version '000' (old actual data) with the newly set up data (version '&(N') via the comparison of planned and actual data in the standard analysis. (The menu path for the comparison of planned and actual data in the standard analysis is as follows: Edit -> Comparisons -> Planned/actual... )
    4. Delete version '000'
    Delete version '000' using program RMCVISCP. If there is sufficient disk space, the version '000' can of course be saved as version '&(S', for example, before carrying out the deletion. (This version must be empty or have been deleted beforehand). However, this saving is not absolutely necessary, especially since the old actual data is presumably incorrect (otherwise there would be no need to make the setup).
    5. Copy the set up data into version '000'
    Using program RMCVISCP, copy the set up version '&(N' into the target version '000'. R/3 operation can start again after this.
    6. Delete version '&(N'
    Finally, delete the version '& (N' using the program RMCVISCP.
    Procedure B:
    Within procedure B, R/3 operation need only be shut down during the following steps 4 and 5.
    1. Save the actual data
    Copy version '000' into another version, for example, '&(S'. Call program RMCVISCP for this, and enter '000' as the source version and, for example, '&(S' as the target version. The target version must be empty or have been deleted beforehand (with the program RMCVISCP).
    However, the actual data need not necessarily be saved. In particular, this is the case if the actual data contains a large number of errors. However, the saved data can be an advantage if the setup is canceled for any reason. The old actual data could then be copied back into version '000' again.
    2. Deactivate updating
    Deactivate the update in Customizing for the information structures to be set up. The Customizing path for this is as follows:
    + Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Updating + Updating Control + Activate update
    Then choose the relevant application. The affected information structures can be selected by double-clicking on the subsequent screen. Then mark the radio button "No updating" under "Updating" on the following popup.
    3. Delete version '000' (with program RMCVISCP)
    For large dataset, deleting version '000' can take several hours. However, it is important that updating of the information structure is deactivated, and thus R/3 operation can be continued as normal.
    4. Activate updating
    After deleting version '000', reactivate updating of the affected information structures (as under point 3 above).
    5. Carry out the setup
    In Customizing, call the setup corresponding to the required application. The setup must be carried out into version '000'.
    R/3 operation must be shut down during the setup. Before and after this step, R/3 operation can continue as normal.
    6. Check the set up version '000' by taking random samples
    A comparison with the old actual data is only possible if the old actual data was saved beforehand (for example, into the version '&(S'). However, the comparison is only useful if R/3 operation was stopped between saving the old actual data and the setup. Otherwise, there exists the danger that documents were created or changed in the meantime. These document changes would then only be taken into account in the set up data, not in the old actual data.
    7. Delete version '&(S' with program RMCVISCP
    The saved old actual data can than be deleted afterwards.
    Reward points if useful.
    Regards,
    Amrish Purohit

  • Graph boundaries disappear in .doc report

    Hi,
    We have observed a recurring problem when sending XY graphs on the front panel into a .doc report.
    The problem is that some of the graph boundaries disappear. The attached file shows two graphs, one good and other bad. The bad graph has its right and bottom boundary missing.
    We have also observed that this starts to happen for graphs which have been resized a few times.
    Why does this happen?
    What is the solution? At present we have cursors which get set to X-max and Y-min (for the bad graph in my attached file) before the control image is sent to word report. We send images as .PNG using "Append Control Image to Report.vi".
    We are using LV 7.1 FDS on Win2000.
    Thanks,
    Gurdas
    Message Edited by Gurdas on 07-12-2006 08:48 AM
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    LV_Problem with graph image in word report.doc ‏41 KB

    Hi again Darren,
    Pls find attached VI that replicates the error. I have NOT started from a fresh graph but simply copies the graph from an existing app with me.
    A solution to this problem will help lots.
    Thanks,
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    Graph boundaries in word report problem.vi ‏80 KB

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • Error Message: "The formula syntax is not supported by the report"

    We are using 'Development Environment: SAP Crystal Reports, version for Visual Studio 2010 u2013 Standard ' and using CrystalDecisions.CrystalReports.Engine and CrystalDecisions.ReportAppServer APIu2019s
    I am reading SQLExpressionFields from one source .rpt file & want to add it to another ReportDocument. While doing so, it gives an error " The formula syntax is not supported by the report"
    doc.ReportClientDocumentDataDefController.FormulaFieldController.Add(formualField); // formualField is SQLExpressionField from source ReportDocument
    But when I tried to Add FormulaField, it succeeds
    Please help me in knowing how to add SQlExpressionFields to ReportDocument.
    Regards,
    -atul

    Thanx Don & Ludek for the reply.
    CR provides support for addition/modification of SQLExpressions.
    CRAXDRT.Application application = new CRAXDRT.ApplicationClass();
    CRAXDRT.Report innerReport = application.OpenReport(path, CROpenReportMethod.crOpenReportByTempCopy);
    innerReport .SQLExpressionFields.Add(name, strSQLExpression)
    CRAXDRT.dll provides support for addition/modification of SQLExpression fields. But its not compatible with 64bit.
    Just curious to know, is there any future plan to provide support for add/modify SQLExpression fields?
    Thanx
    -atul
    Edited by: Atul Chivate on Aug 21, 2011 6:13 PM

  • Oracle Reports 6i with Oracle 8.1.7?

    Solaris 7 (sparc)
    Oracle RDBMS 8.1.7
    Reports 6i (release 2)
    I am trying to install Reports 6i on a machine that has Oracle RDBMS 8.1.7 installed already. The last time I tried installing to the same ORACLE_HOME it corrupted all my executables. After reading the docs again, I noticed the Reports docs say Reports requires Orcle 8.0.6. I thought it might be better to install to a new ORACLE_HOME (/u01/app/oracle/product/8.0.6), however, there is no RDBMS installed there and the installer complains.
    Could someone offer some suggestions on how it should be installed in this type of environment. What steps should be followed to allow Oracle Reports 6i to co-exist peacefully on the same machine/ORACLE_HOME as the Oracle 8.1.7 instance.
    Thanks
    Phil Bolduc
    Sierra Systems Group Inc
    Vancouver, BC Canada http://www.SierraSystems.com/
    null

    I found the answer myself in an earlier post.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports Team:
    Reports 6i will connect to Oracle8i, however you need to connect over Net8 - i.e. on the database side, you need to set up the TNS listener to accept connections, and on the Reports side (which, incidentally, needs to be installed in a separate Oracle_home) you need to configure the tnsnames.ora file to connect to the 'remote' database (since it is in a different oracle_home, to all intents and purposes it may as well be on another machine - it's all considered 'remote').
    Regards
    The Oracle Reports Team http://technet.oracle.com <HR></BLOCKQUOTE>
    null

  • Report generation toolkit does not work

    Hello,
    The report generation toolkit does not work.
    It seems to point to the 'Generate Report Data Members.ctl'.
    I suppose it has something to do with the wrong set of active X-controls ?
    I work with Win 2000 and Office XP
    How can i solve this problem ?
    Thanks in advance !
    Regards
    Christine

    Hello Julien,
    Sorry for the late answer
    I become a broken arrow, when openening the example Sample Report (Excel).vi
    Searching further for the cause of the error it brings me to the sub vi tables.
    Print screens in attachment
    Regards
    Christine
    Attachments:
    error Ni Reports.doc ‏67 KB

  • Report with grouping issue

    I have a report which have year(2008), Category(0-1,2-3, ALL), product(0,1,2,3,4..), % sales. I group by all the category elements and called it as All, I am not getting the right percentage sales for the Category ALL other wise for 0-1,2-3 i am getting it right. Please advise where i am doing it wrong. please find the blog for a screen shot of my issue.
    http://ravibiblog.blogspot.com/2012/04/report-with-grouping-issue.html
    Thanks,
    RC

    Pl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
    FARXPBSH Failing With "Program was terminated by signal 11" or "Program was terminated by signal 10"          (Doc ID 742729.1)
    Publishing RXAPPYAC: The FARXPBSH Ends With 'Signal 11' Error          (Doc ID 432797.1)
    RXi RX Reports Failing With Program Was Terminated By Signal 10 or 11 Errors After FA Rollup Patch 6          (Doc ID 737963.1)
    Program was Terminated by Signal 11 when Running Rxi Reports          (Doc ID 559425.1)
    HTH
    Srini

  • Creating a sample report using JAVA SDK

    Hi,
    I am trying to create a sample report using JAVA SDK.
    I slelect 4 "free cells" and pass 4 different strings to it.
    I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
    My issue is, Why am I not able to see the data when I run the java code.
    Please find teh code below.
    package com;
    import java.awt.Color;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import com.businessobjects.rebean.wi.BinaryView;
    import com.businessobjects.rebean.wi.DataProvider;
    import com.businessobjects.rebean.wi.DataProviders;
    import com.businessobjects.rebean.wi.DataSource;
    import com.businessobjects.rebean.wi.DataSourceObject;
    import com.businessobjects.rebean.wi.DocumentInstance;
    import com.businessobjects.rebean.wi.DocumentLocaleType;
    import com.businessobjects.rebean.wi.FontImpl;
    import com.businessobjects.rebean.wi.FreeCell;
    import com.businessobjects.rebean.wi.HTMLView;
    import com.businessobjects.rebean.wi.OutputFormatType;
    import com.businessobjects.rebean.wi.PageHeaderFooter;
    import com.businessobjects.rebean.wi.Query;
    import com.businessobjects.rebean.wi.Recordset;
    import com.businessobjects.rebean.wi.Report;
    import com.businessobjects.rebean.wi.ReportBody;
    import com.businessobjects.rebean.wi.ReportCell;
    import com.businessobjects.rebean.wi.ReportContainer;
    import com.businessobjects.rebean.wi.ReportElement;
    import com.businessobjects.rebean.wi.ReportEngine;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.CeKind;
    public class Aug7th {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String CMS = "pundl8136:6400";
              String userID = "srivas";
              String password = "morcom123";
              String auth = "secEnterprise";
              List<String> entire =new ArrayList<String>();
              List<String> country =new ArrayList<String>();
              List<String> resort =new ArrayList<String>();
              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.
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        IInfoObject infoView = null;
                        String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
                        DataProviders dps = doc.getDataProviders();
    //                     Retrieve the 1st data provider
                        DataProvider dp = dps.getItem(0);
    //                     Retrieve the universe objects
                        DataSource ds = dp.getDataSource ();
                        Query q = dp.getQuery();
                        Recordset rs = dp.getResult(0);
    //                     0: assume query has one flow
                        rs.first();
    //                     Print the column types. They can be Integer, String,
    //                     or Date.
                        for (int i = 0; i < rs.getColumnCount(); i++) {
                        Class c = rs.getColumnType(i);
                        StringBuffer sbt = new StringBuffer();
                        if ( c.equals(Integer.class) )
                        sbt.append("Integer");
                        if ( c.equals(String.class) )
                        sbt.append("String");
                        if ( c.equals(Date.class) )
                        sbt.append("Date");
                        sbt.append(";");
                        System.out.println(sbt.toString());
                        System.out.println(rs.getColumnCount());
                        while (!rs.isLast()) {
    //                          column names
                             StringBuffer sbn = new StringBuffer();
                             StringBuffer sbd = new StringBuffer();
                             for (int j = 0; j < rs.getColumnCount(); j++) {
                             sbn.append( rs.getColumnName(j).toString() );
                             sbn.append(";");
                             System.out.println("sbn "+sbn.toString());
    //                          data
                             for (int k= 0; k< rs.getColumnCount(); k++) {
                             sbd.append( rs.getCellObject(k).toString() );
                             sbd.append(";");
                             entire.add(rs.getCellObject(k).toString());
                             System.out.println("sbd "+sbd.toString());
                             rs.next();
                        System.out.println(entire.size());
                        for(int i=0;i<entire.size();i++){
                             country.add(entire.get(i));
                             i++;
                             System.out.println("entireList "+entire.get(i));
                             resort.add(entire.get(i));
                        DataSourceObject city = ds.getClasses().getChildByName("Country");
                        DataSourceObject resorts = ds.getClasses().getChildAt(1);
                        dp.runQuery();
                        ReportContainer report = doc.createReport("Resort");
                        PageHeaderFooter header = report.getPageHeader();
                        FreeCell headerCell = header.createFreeCell("Resort Report");
                        PageHeaderFooter footer = report.getPageFooter();
                        FreeCell footerCell = footer.createFreeCell("Report Ends");
                        ReportBody body =  report.createReportBody();
                        for(int k=0;k<resort.size();k++){
                        FreeCell res=body.createFreeCell(resort.get(k));
                        res.getAttachTo();
                        res.setHeight(15d);
                        res.setWidth(30d);
                        Color c = new Color(255,255,255);
                        Color c1 = new Color(255,0,0);
                        FontImpl fnt = (FontImpl)res.getFont();
                        fnt.getDecoration().setTextColor(c1);
                        res.setFont(fnt);
                        //res.deleteAttachment();
                        //res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
                        doc.applyFormat();
                        doc.refresh();
                        final String l_docToken = doc.getStorageToken();
                        final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
                        doc.saveAs("mor31",835,null,null);
                        doc.closeDocument();
                        str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
                        String token = doc1.getStorageToken();
                        DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
                        doc2.saveAs("123123", 835, null, null);
                   //     doc.refresh();
                        //doc.save();
                   enterpriseSession.logoff();
              catch(Exception e)
                   e.printStackTrace();

    duplicate post:
    Sample report using JAVA SDK

  • Problem in Crystal Report 2008 selectionFormula

    Post Author: saro_j
    CA Forum: Crystal Reports
    Hi,
    I am having a strange problem in Crystal report 2008. Earlier I was using VS 2005 Crystal report. Then we purchased Crystal report 2008.
    When I open the VS 2005 projects it asks the reports to convert into Crystal report 2008. I did that.
    Earlier I was using the following syntax for passing the date as selectionFormula
    Dim selectionFormula As String = "{tblClient.Name} = '" & ddlClient.SelectedItem.Text & "' and {TBILL_File_Format.Week Ending Date} = #" _& Convert.ToDateTime(DtCtrlProDateFrom.DateTimeValue) & "#u201D WeeklyReportByClientNameReport.DataDefinition.RecordSelectionFormula = selectionFormula
    But now when I run this same it says
    This field name is not known. Details: errorkind Error in the file rptWeeklyReport.rpt: Error in formula Record_selection: 
    u2018{tblClient.Name} = 'ABC10' and "{TBILL_File_Format.Week Ending Date} = #04/20/2008#u2019 This field name is not known. Details: errorkind
    I have no idea about this
    Even If I tried to pass as follows
    selectionFormula = "{TBILL_File_Format.Week Ending Date} = DateTime (2008, 04, 25, 00, 00, 00) and {TBILL_File_Format.Client Code} = 'ABC10' "
    I couldnu2019t see any record on the report except Grouptree of the report. If I export the report it has all the data as I expected.
    Please help me out on this regards.
    Thanks in advance
    Saravanan

    Post Author: jehanzeb
    CA Forum: Crystal Reports
    Hello,
    I use CR2008 and VS2005, it never asked me to convert the file into VS2005. What do you mean by VS 2005 asked you to convert the file? Did you make the file in CR2008 and then imported it into VS2005 as a Report Document?
    I usually create a report on CR2008 and then move that report (copy) to the same folder as VS project folder, then from there I create a new Report Doc in VS and open the file.
    As you mentioned when you export the report it works fine but when you run it it gives errors. I think it is because of the import of the report. Look at the error message as it says the field name is not known, I suspect it is not connected/imported properly.
    "This field name is not known. Details: errorkind Error in the file rptWeeklyReport.rpt: Error in formula Record_selection: 
    u2018{tblClient.Name} = 'ABC10' and "{TBILL_File_Format.Week Ending Date} = #04/20/2008#u2019 This field name is not known. Details: errorkind"
    I think it is becasue of the import of the report or could be becasue you didnt save the report with an option of "save report data". Check your report and reimport it. might fix the problem:D

  • How to configure notification emails for reports output or alerts for all users in r12

    Hi,
    I need to configure notification emails. I have provided settings in OAM-> Workflow and SMTP IP address in settings and only Outbound. I am able to test for my user ID.
    I want to know how to redirect emails or alerts for users like when a user runs a report he should get notification email in his outlook about the report output and details. In settings it only points for one replyto field. How do I mention all user ID's?
    Regards,
    Mohammed

    Hi Mohammed,
    You may check on XML bursting for XML based reports.
    In addition, also see links:
    http://oracle.anilpassi.com/email-output-of-concurrent-program-request.html
    Anil: Oracle Apps Concurrent program Output as Email
    Oracle ERP World: Email the output of a concurrent program as Attachment
    Also see:
    How to Redirect Output from Printer to Mail Message after Running Report (Doc ID 1036586.6)
    Thanks &
    Best Regards,

  • Urgent: Error while generating large report

    I'm getting below error when I executing the report for long time duration. The below report is executing only for one or two days. Please let me know how to resolve this error. This is very urgent.

    hard to say what's wrong without knowing many details
    so you can start to check
    11G Error "java.lang.reflect.InvocationTargetException" When Executing Report With Conditional Formatting (Doc ID 1553509.1)
    11G BI Publisher Error oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException When Exporting a Report (Doc ID 1548248.1)
    BI Publisher Reports Fail After Installing BI Publisher 11.1.1.5 January 2012 Update (Patch 13554951) (Doc ID 1453875.1)
    BI Publisher Consolidated Reference (Doc ID 1546377.1)

  • Script Error in BO report - XI 3.1

    Hi,
    We are using BO XI 3.1 sp3.  We have a report in which we are uisng the Fold / Unfold option in Webi. The report is folding and displaying summaries at 3 levels. Account Group -> Sub group -> Cost center. When we expand Account Group it'll have 3 or 4 sub levels, but on expanding Subgroups we'll have a number of rows, may be 100 or more. On this action we are getting a script error.
    The error msg is
    " Stop Running teh Script?
    A script on this page is causing the Internet Exploer to run slowly.
    If it continues to run your computer may become unresponsive"
    If we press NO to this message we are able to work with report, but if we press 'YES', we are not able to use fold /unfold
    Can anyone help us to find out why we are getting this error and any resolution for the same.
    Thanks,
    Sivakami

    Hi shakawat,
    I would suggest to access the same server docs through Infoview first..may be on some laptop or desktop.
    If you are able to access the same then try to access the same reports/docs through mobile and with the same credentials as you are using for infoview.
    It happened with me as well but in my case the problem was with the user access rights. Check user access rights in CMC.
    Regards,
    Ankur

Maybe you are looking for