[BOXI3.0]JavaAPIによるWebIntelligenceレポートクエリー内SQLの取得.設定方法

WebIntelligenceレポートのクエリーの生成したSQLの取得、設定の際に使用するAPIの使用方法についてご教示いただけませんでしょうか。
SQLの取得に「SQLSelectStatement」インタフェースの「getSQL」メソッド、設定に「setSQL」メソッドを使用したいと考えております。
BOXIR2のWebサイト「Developer Library」と下記のスレッドを参考にソースを作成しましたが正しく動作しません。
スレッド:How to purge report data before deployment on target server 
作成したソースです----
package test;
import="com.crystaldecisions.sdk.framework.*;
import="com.crystaldecisions.sdk.exception.SDKException;
import="com.crystaldecisions.sdk.occa.infostore.*;
import="com.businessobjects.rebean.wi.*;
class test {
     public static void main(String[] args) {
          test t = new test();
          t.execute();
     public void execute() {
          try {
               //logon
               ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr().logon( XXXX, XXXX, XXXX, XXXX);
               System.out.println("Logon");
               //ReportEngineの取得
               ReportEngines repEngines = (ReportEngines)enterpriseSession.getService("ReportEngines");
               ReportEngine widocRepEngine = (ReportEngine)repEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
               //DocIDよりドキュメントオープン
               DocumentInstance doc = widocRepEngine.openDocument(XXXX);
               //DataProvider取得
               DataProviders dataps = doc.getDataProviders();
               DataProvider datap = dataps.getItem(0);
               SQLdataProvider sqldatap = (SQLDataProvider)datap;
               SQLContainer sqlcont = sqldatap.getSQLContainer();
               SQLNode sqlnod = (SQLNode)sqlcont.getChildAt(0);
               SQLSelectStatement sqlSelects = (SQLSelectStatement)sqlnod;
               //SQLの取得                                   
               String strsql = sqlSelects.getSQL();
               System.out.println(strsql);
               doc.closeDocument();
          catch(SDKException e)
               System.out.println("エラー発生");
※上記ソース中のログインアカウント情報、DocID情報は「X」でマスクしています。
上記では任意のWebIntelligenceドキュメントを開き、クエリーの作成したSQLを取得しようとしています。
しかし「SQLDataProvider」インタフェースの「getSQLContainer」メソッドにより「SQLContainer」インスタンスを取得する際に「ERR_WIS_30270」(参照情報が無効であるときに発生するエラーメッセージです)が発生してしまいます。
「DataProvider」インスタンスを「SQLDataProvider」にキャストし、サブインタフェースである「SQLDataProvider」クラスの「getSQLContainer()」メソッドを呼んでいるので、上記エラーメッセージの示唆するところは当然な気がしますが、正しく動作させる方法に至りませんでした。
【環境】
サーバOS:Windows Server 2003 Enterprise Edition
BOVer: BOXI3.0
インタフェース:Java
Webアプリケーションサーバ:WebLogic Server version10.0
SAPノートに関してはアカウントを所持していないので確認できていません。
SAPのサイトより提供されるPDFファイル(日本語、英語)、BOXIR2のWebサイト「Developer Library」内より情報を探していたところ、BOXIR2以降で非推奨APIに挙げられている「Query」インタフェースの「getSQL()」メソッドでの実装資料はいくつか見つかりましたが、上記APIによる実装手順を見つけるに至りませんでした。
どうぞ宜しくお願い致します。
Edited by: shinkichi ehara on Oct 22, 2008 8:17 AM

shinkichi ehara 様、
「[ 【BOXI3.0】既存webアプリケーションのカスタマイズ方法(InfoView)|【BOXI3.0】既存webアプリケーションのカスタマイズ方法(InfoView); 」への回答をご参照願います。
SCN フォーラムモデレーター

Similar Messages

  • Problem with executing SPARQL command using jdbc or jena in Java

    Hi everybody
    I am new to Oracle and SPARQL, so I'm sorry if my question is the elementry one!
    select s, p, o  from table(SEM_MATCH( '(?s ?p ?o) (?s <htt...> ?o) ', SEM_Models('OWlTEST'), null, null, null ))
    I have an SPARQL command which runs on Oracle correctly and returns 8 Rows. So far so good!
    I tried two ways to use this command in java code:
    Using java.sql.jdbc
    stmt = conn.createStatement();
    rs = stmt.executeQuery(...the whole command above ....);
    if (rs.next()){
    System.out.println(rs.getString("O"));
    Problem: resultset returns only One row, which is the first row, althogh in debug mode I can see validRow=8!!!
    Using com.hp.hpl.jena
    Model model = ModelFactory.createDefaultModel();
    String queryStr = "PREFIX : <.....> SELECT ?s ?p ?o  FROM  <...> WHERE {?s prefix:property ?o}";
    Query query = QueryFactory.create(queryStr);
    QueryExecution qexec = QueryExecutionFactory.create(query, model);
    com.hp.hpl.jena.query.ResultSet results = qexec.execSelect();
    for (;results.hasNext();) {
    Problem: it returns nothing!!
    Do you any Idea,
    Thanks in advance
    Sara

    Sara,
    I don't know about SPARQL not about jena, but for Java you need to change:
    {code}
    if (rs.next()) {..
    {code}
    to
    {code}
    while (rs.next()) {..
    {code}
    Otherwise you just fech and see only first row.
    Look at : http://www.java2s.com/Code/JavaAPI/java.sql/ResultSetnext.htm
    HTH
    Thomas

  • BOXI3.0 Universe Design using view or query in SQL

    Hi. Alias here.
    I would like to know what are the effect to the BOXI3.0 or SQL performance if:
    1. We are using view or query in creating the universe?
    2. Is it the correct way of creating the universe only from tables?
    3. If need to do combination between tables and views?
    Hope you all can reply to this matter.
    Regards,
    Alias

    Hi Alias,
    Designer has the capability to import tables and views you cna use in the design of the universe. Furthermore, you can also create a derived table in the universe - in simple terms it is much like a view, but the code is in the universe availble to the universe designer.
    With all this available to you, it is pretty much up to you how you want to tackle the design. I would say first prise is using the physical tables in the databse, then move to using a view and if there are certain restrictions on the designer, use the derived tables.
    Remeber this, at the end of the day, any SQL code generated or used is passed down to the database to be processed, may it be the query from the universe directly on the tables or by means of the views or derived tables - the database server will need to crunch through it all - and this is what will determine your performance.
    Regards
    Jacques

  • What is the difference in Webintelligence while using SAP BW or MS SQL Server

    Hi Experts,
    What is main difference in using SAP BW and MS SQL server in SAP BO while creating Reports using Web intelligence, Crystal reports. I want to know mostly on Report Level difference.

    Hi,
    I Have not used Crystal with Ms SQL server but webI i can tell .
    SAP BW is OLAP Layer .
    M S SQL Server is Database .
    You can Edit your Web Intelligence Query SQL Code in MS SQL Server .
    Not in SAP BW .
    Combined Query is Disable in SAP BW but it is available in SQL Server .
    Performance wise SAP BW Query is better because it calculates every thing in SAP BW & gives us Required Out .

  • Problem with WebIntelligence and Universe Designer Derived Table

    Hi people, i have an issue with a report in WebIntelligence that i want to build. Here it goes:
    I created a derived table that brings every material that has or not any movement. The thing is that when I build the report using other information like Material Name, for example. The report filters by the coincidence between materials in the derived table and the SAP Standard table. I tried to modify the SQL query but, Oracle does not allow it.
    So here are my questions:
    1)Is any way to do a Left outer join in order to have any single material and do not allow WebIntelligence to do Inline views?
    2)Do i have to modify the derived table? and use the standard tables?
    3)Can i work with a derived table that does not have any join with the standard tables?
    Thanks in advance,
    Reynaldo

    If I understand you correctly, it sounds like you are getting an inner join where you want an outer join? You have several options:
    1. You can do an outer join in the universe, or even embedded in your derived table (if that is what you are trying to do)
    2. You can have a derived table that is not joined with any other tables in the Universe. But you will have to merge the dimensions in the Webi report, and then be sure to put the correct dimension(s) on the report in order to reflect the outer join you want.
    I hope that helps.

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • FormatDate WebIntelligence Function Error

    Hello
    I have 2 date objects (start date and end date).
    I need to be able to replicate the DAYS360 function that is in EXCEL. I have SQL code that allows me to do this and have been able to create a number of variables in my WebIntelligence document in order to return the correct values.
    The first steps/variables to replicate the DAYS360 function that I am using are:
    Get the Day from the Start and the End Dates
    Day_Of_Start_Date: FORMATDATE(startdate; "dd")
    Day_Of_End_Date: FORMATDATE(enddate; "dd")
    Now Set these to a Maximum of 30 (since the DAYS360 function assumes no more than 30 days in a month)
    Set_Day_Of_Start_Date: If Day_Of_Start_Date = 31 Then 30 Else Day_Of_Start_Date
    Set_Day_Of_End_Date: If Day_Of_End_Date = 31 Then 30 Else Day_Of_End_Date
    Next, substract the Start Date day number from the End Date day number
    End - Start = TONUMBER(Set_Day_Of_End_Date) - TONUMBER(Set_Day_Of_Start_Date)
    Next, workout the months between the start date and the end date
    Months = MONTHSBETWEEN(Start_Date; End Date)
    Next, multiply the months value by 30
    30*Months
    Finally calculate DAYS360 as
    DAYS360 = [30*Months]+[End - Start]
    All this works perfectly well when the browser locale is English, but when the browser locale is German an error #ERROR is returned in the WebIntelligence document. I cannot understand why.
    I think that I am going to have to create the objects in the Universe rather than use variables in the WebI document. But I still want to understand why this does not work for a German Locale.
    Note that both date formats (English locale and German locale are dd/mm/yyyy)
    Please can you help.
    Thanks in advance
    Julian

    Hello
    Thank you. I have formatted the date in the first step using FormatDate(<date>; "INPUT_DATE") and this works correctly now.
    Perhaps someone could help me with another question on the same topic/document.........
    I need to calculate the Year End Date from the Start Date. For example
    Start Date = 12 Jul 2011
    End Date = 11 Jul 2012
    Year End Date = 31 Dec 2011
    I've tried a number of different ways to do this but all fail for different reasons. For example:
    ToDate("31/12/"+FormatDate(Start_Date; "yyyy"); "INPUT_DATE") works for UK but not for German locales
    ToDate("31.12."+FormatDate(Start_Date; "yyyy"); "INPUT_DATE") does not work for UK locale
    ToDate("31122011";"INPUT_DATE") returns #ERROR
    Please can you advise?
    Thanks in advance

  • Internal memory error during SQL generation. (QP0002)

    Post Author: Rajesh Kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I developed one Report in BO 5.1 version (Report size à 13 MB) and I Migrated this Report to BO XIR2,
    After I Migrated this Report to BO XI R2 this Report was worked perfectly in DESKI & also in WEBI
    But now for the past few Days (nearly 1 week) this Report is not working in WEBI, but itu2019s perfectly working in DESKI. In WEBI itu2019s showing error message à u201CInternal memory error during SQL generation. (QP0002)u201D
    Iu2019m having one PDF documentation for BO Error Messages Listing, in that Documentation I have found the below à
    Internal memory error during SQL generation. (QP0002)
    Cause This error occurs when there is no longer enough memory to generate the SQL.
    Action You should close other applications and then rerun the query.
    I tried this alsou2026.
    I closed all other applications and I Refreshed this Report, but again the same error is coming in WEBI
    Report is working in DESKI but itu2019s not working in WEBI, I donu2019t know how to rectify this problem
    Can anyone help me in this to rectify.. please
    Thanks in advance
    Rajesh Kumar

    Hi,
    I investigated further and if the previous solution doesn't help you to resolve the issue please test the below mentioned solution.
    When several contexts are possible for a query, the system tests if they produce the same set of tables. If they are identical, it is not necessary to prompt the user. It is the default behavior. But for some particular universes, the designer defines different contexts with the same tables, but with a different set of joins. This will compare the context with the joins. When this happens, InfoView fails with this error.
    Resolution
    1. Import the universe.
    2. Modify the following parameter:
    COMPARE_CONTEXTS_WITH_JOINS = No
    3. Export the universe.
    4. Open the Desktop Intelligence report in InfoView and refresh it.
    It will refresh successfully
    Regards,
    Sarbhjeet Kaur

  • SQL and a backlog report by site

    Post Author: ck1938
    CA Forum: WebIntelligence Reporting
    Hi, I had to create a backlog reprort a few months back and the only way I could get the data to organize properly was to create a sql statement that had the months predefined as below: SELECT  sum(1),  '2006-10',  SEA_ERSSQL.dbo.HD_CALL.CALL_IDFROM  SEA_ERSSQL.dbo.HD_CALLWHERE  (   substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7)  <  '2006-10'   AND   (    SEA_ERSSQL.dbo.HD_CALL.CONDITION  <>  'Closed'    OR    substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CLOSE_DATE, 120),1,7)  >=  '2006-10'   )  )GROUP BY  substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7),   SEA_ERSSQL.dbo.HD_CALL.CALL_IDUnionSELECT  sum(1),  '2006-11',  SEA_ERSSQL.dbo.HD_CALL.CALL_IDFROM  SEA_ERSSQL.dbo.HD_CALLWHERE  (   substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7)  <  '2006-11'   AND   (    SEA_ERSSQL.dbo.HD_CALL.CONDITION  <>  'Closed'    OR    substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CLOSE_DATE, 120),1,7)  >=  '2006-11'   )  )GROUP BY  substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7),   SEA_ERSSQL.dbo.HD_CALL.CALL_IDUnionSELECT  sum(1),  '2006-12',  SEA_ERSSQL.dbo.HD_CALL.CALL_IDFROM  SEA_ERSSQL.dbo.HD_CALLWHERE  (   substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7)  <  '2006-12'   AND   (    SEA_ERSSQL.dbo.HD_CALL.CONDITION  <>  'Closed'    OR    substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CLOSE_DATE, 120),1,7)  >=  '2006-12'   )  )GROUP BY  substring(CONVERT(VARCHAR,SEA_ERSSQL.dbo.HD_CALL.CREATION_TIME, 120),1,7),   SEA_ERSSQL.dbo.HD_CALL.CALL_ID
    What I'm being asked to do now is to create a backlog
    report based on sites.  We have several hundred that are grouped by a
    condition called Site ID.  I originally tried modifying the SQL dates only
    but soon realized I would need a way for the SQL to accommodate the ongoing
    changes since the person running the report could choose one site or one
    hundred and the predefined SQL would not change to allow for these
    changes.  Does anyone have any ideas on how to build a backlog report that
    would provide the same results but allow variables or allow that piece of the
    SQL to be modified?

    si,
    If you have 10 queries that each return a single value, you could combine them into one big query.
    Each of your 10 queries could be a scalar subquery.
    e.g:
    SQL> select (select 1 from dual) A,
      2         (select 2 from dual) B,
      3         (select 3 from dual) C
      4    from dual;
             A          B          C                                               
             1          2          3  Then your report or chart could run off of that query.
    Doug

  • Adapt existing QaaWS from MS SQL to Oracle DB

    Hey there,
    I have searched for an answer on the Web but cannot find one, so perhaps you can help me:
    I am adapting an existing Query as a Web Service from an MS SQL Server to an Oracle DB. After entering the default parameter value for the Query, an error message pops up:
    "A database error occured. The database error text is: (CS) "DBDriver failed to load : C:\BOE\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (The specified module could not be found.)" . (WIS 10901)"
    I checked for this file, but it is there and checked WebIntelligence to connect to the Oracle DB and that works fine.
    Do you have any suggestions/ideas?
    Thanks you in advance,
    Nils May

    Hi,
    You can try the following:
    1. First check the Universe connection and make sure it is connected to right DB. Oracle or SQL Server.
    2. Copy the existing QaaWS and again select the Universe which is connected to correct DB.
    3. If that doesn't work, create a new QaaWS.
    4. If using parameter, specify parameter and verify data.
    Hope this helps.

  • Unable to connect BO XI3.1 SP3 on linux to sql server 2008

    I am looking for some assistance with trying to connect to sql server 2008 db. We have BO XI 3.1 SP3 installed in linux environment. Was able to set up oracle and db2 variable to connect to oracle and db2 universes, after loading the db2 client and oracle 32b client. trying to connect to sql server 2008, but getting error Unable to Bind Configuration Object -(WIS 10901). Thank You.

    Hi Ravi,
    Depending on the version you may find useful some KB articles:
    [1463263 - Error: Unable to bind to Configuration object (WIS 10901) - SQL driver for UNIX server |https://service.sap.com/sap/support/notes/1463263]   (XI3.1)
    [1607125 - How to configure SQL Server connectivity for WebIntelligence from a BI4.0 unix environment? |https://service.sap.com/sap/support/notes/1607125]   (BI4.0)
    [1607125 - How to configure SQL Server connectivity for WebIntelligence from a BI4.0 unix environment? |https://service.sap.com/sap/support/notes/1607125]  (BI4.0)
    If this doesn't help can you please specify version and patch level, as well as the exact error message you get.
    Thanks and regards
    Simone

  • BOXI3.1: Error during migration -The system cannot find the path specified

    Hi,
    I'm trying to migrate my reporting server from BOXIR2 to BOXI3.1.
    I have a Java App which uses the SDK to generate reports hosted on BOE.
    I have updated the SDK and when i attempt to generate a very simple test report, i get this error:
    The system cannot find the path specified.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: The system cannot find the path specified.
    ---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    When i stepped through the codes, it occurred at this line:
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(exportOptions);
    Does anyone know the cause of the issue? Some guide on what to check will also be helpful! Thanks!

    Hi Aasavari,
    We are running BOXI3.1 SP4.
    For debugging purpose, I created a small program with your suggestion to remove exportOptions.
    My report is called "testReportName" and it is created in "CMC > Folders > testFolderName":
    IEnterpriseSession enterpriseSession;
    IInfoStore infoStore;
    IReportAppFactory rptAppFactory;
    IInfoObjects oInfoObjects;
    int reportFolderSI_ID;
    String reportFolder = "testFolderName";
    String reportName = "testReportName";
    String paramVal = "2012-01-31";
    try {
         enterpriseSession  = CrystalEnterprise.getSessionMgr().logon(boUser, boPwd, boAPSName, boAuthType);
         //Get the InfoStore service from Crystal Enterprise
         infoStore = (IInfoStore)enterpriseSession.getService("InfoStore",com.crystaldecisions.enterprise.ocaframework.ServiceNames.OCA_I_IINFO_STORE);
    } catch (SDKException e) {
         System.out.println(e.message());
    try {
         //Get the Report Application Factory service from Crystal Enterprise
         rptAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportFactory");
         String parentFolderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE " +
         "SI_PARENT_FOLDER=0 and SI_PROGID='CrystalEnterprise.Folder' and " +
         "SI_NAME= '"+reportFolder +"' ORDER BY SI_NAME";
         IInfoObjects parentFolderInfoObjects = infoStore.query(parentFolderQuery);
         reportFolderSI_ID = ((IInfoObject)parentFolderInfoObjects.get(0)).getID();
         // Retrieve the report by name and its reportFolder from Crystal Enterprise
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportFolder+"' AND SI_PARENT_FOLDER="+reportFolderSI_ID);
         oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportName+"' AND SI_PARENT_FOLDER='"+((IInfoObject)oInfoObjects.get(0)).getID()+"'");
         IInfoObject infoObject = (IInfoObject)oInfoObjects.get(0);
         //Open the report into a Report Document object
         ReportClientDocument rptDoc = rptAppFactory.openDocument(infoObject,0, Locale.ENGLISH);
         //Refresh tables
         IConnectionInfo connectionInfo;
         util.setJdbc_url(ap.getParameterString("URL"));
         util.setJdbc_driver(ap.getParameterString("driver"));
         util.setJdbc_user(ap.getParameterString("user"));
         util.setJdbc_pwd(ap.getParameterString("password"));
         util.setJdbc_database(ap.getParameterString("database"));
         connectionInfo = util.getJdbcConnectionInfo(util.getJdbcPropertyBag());
         int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
         ConnectionInfos connectionInfos = rptDoc.getDatabaseController().getConnectionInfos(null);
         for (ConnectionInfo oldConnectionInfo:((Collection<ConnectionInfo>)connectionInfos))
              rptDoc.getDatabaseController().replaceConnection(oldConnectionInfo, connectionInfo, null, replaceParams);               
         //Get Params
         Fields mainRptParameterFields = rptDoc.getDataDefController().getDataDefinition().getParameterFields();
         String params = new String();
         for(Object parameterField : mainRptParameterFields){
              String paramName = ((ParameterField)parameterField).getName();
              if(parameterField != null)
                   if(((ParameterField)parameterField).getType() == FieldValueType.dateField)
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName,java.sql.Date.valueOf(paramVal));
                   else if (((ParameterField)parameterField).getType() == FieldValueType.dateTimeField){
                        //Stored Procs uses Datetime
                        java.util.Date datetime = (Date)reportDate_df.parse(paramVal);
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("",paramName, datetime);
                   else
                        rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName, paramVal);
         ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
         rptDoc.close();
    I ran this against BOXIR2 and BOXI3.1, BOXI3.1 will still throw error at
    ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    Another question, will CI_INFOOBJECTS table be created in the DB during installation of BOXI?

  • Find out free hand sql reports

    Hi All,
    I need find out free hand sql reports we have above 3000 reports and we are using business objects 6.5.
    Could you please tell me any one how track these reports which table these informations.
    Advance Thanks.
    Regards,

    Hi Sreenivas,
    The following information might help you to retrieve the information you require.
    There is a universe available as a part of Auditor product for which you need a separate license. This product helps you to have better control of your repository usage. The universe is REP_ORA.
    You can create a very simple universe using the OBJ_M_DOCATVAR table. This is a new table in version 6.5.x. This table gives the source of each dataprovider. Full client reports can have more dataproviders, so it is a one-to-many relationship.
    If you add the OBJ_M_DOCUMENTS table to the universe and join them by doc_id (OBJ_M_DOCATVAR.M_DOC_N_ID = OBJ_M_DOCUMENTS.M_DOC_N_ID), then you will have the proper document (report) names instead of just the ID numbers.
    The OBJ_M_DOCATVAR table is updated each time a BusinessObjects (6.5.x) or a WebIntelligence (2.5) document is exported to the repository (Send to users, Send to Broadcast Server, Publish to Corporate documents).
    The basic fields you will need in the report:
    OBJ_M_DOCUMENTS.M_DOC_C_NAME: The name of the document. The name of the document is unique for each given document domain.
    OBJ_M_DOCATVAR.M_DOC_N_ID: The unique identifier of the document. This value is referenced in OBJ_M_DOCUMENTS. The properties are therefore only applied to exported documents.
    OBJ_M_DOCATVAR.M_DOCATV_C_DPNAME: The name of the Data Provider (DP) for the current document.
    OBJ_M_DOCATVAR.M_SRC_C_NAME: The name of the source. You can see it in the end-user module by opening a document and choosing to view the data manager. It can be a universe name or a connection depending on the type of Data Provider.
    Regards,
    Sarbhjeet Kaur

  • Migrating Free Hand SQL Reports

    Post Author: sureshan
    CA Forum: Migration to XI R2
    Hi Buddies,
    We are  going to work on Migration project.Totally +350 reports  from BO6.5 to BOXIR2
    Universes and BusinessObjects(Desktop Intelligence) Reports.And all of them are
    Free Hand SQL Reports.We are having Oracle10g,Windows Server2003,BusinessObjectsXIR2 SP2
    with Java ,Tomcat servers software.
    Can any body provide us what type of Basic Procedures to be followed and what type of common  errors
    will be bombed while migrating the Free Hand SQL Reports.
    Its Very Very Urgent.Because we have to give demo to our Client.
    Thanks in Advance,
    Sun

    Hi Sreenivas,
    The following information might help you to retrieve the information you require.
    There is a universe available as a part of Auditor product for which you need a separate license. This product helps you to have better control of your repository usage. The universe is REP_ORA.
    You can create a very simple universe using the OBJ_M_DOCATVAR table. This is a new table in version 6.5.x. This table gives the source of each dataprovider. Full client reports can have more dataproviders, so it is a one-to-many relationship.
    If you add the OBJ_M_DOCUMENTS table to the universe and join them by doc_id (OBJ_M_DOCATVAR.M_DOC_N_ID = OBJ_M_DOCUMENTS.M_DOC_N_ID), then you will have the proper document (report) names instead of just the ID numbers.
    The OBJ_M_DOCATVAR table is updated each time a BusinessObjects (6.5.x) or a WebIntelligence (2.5) document is exported to the repository (Send to users, Send to Broadcast Server, Publish to Corporate documents).
    The basic fields you will need in the report:
    OBJ_M_DOCUMENTS.M_DOC_C_NAME: The name of the document. The name of the document is unique for each given document domain.
    OBJ_M_DOCATVAR.M_DOC_N_ID: The unique identifier of the document. This value is referenced in OBJ_M_DOCUMENTS. The properties are therefore only applied to exported documents.
    OBJ_M_DOCATVAR.M_DOCATV_C_DPNAME: The name of the Data Provider (DP) for the current document.
    OBJ_M_DOCATVAR.M_SRC_C_NAME: The name of the source. You can see it in the end-user module by opening a document and choosing to view the data manager. It can be a universe name or a connection depending on the type of Data Provider.
    Regards,
    Sarbhjeet Kaur

  • Free Hand SQL reports

    Post Author: simarora
    CA Forum: Desktop Intelligence Reporting
    Hi All,
    Kindly let me know :
    1) While publishing free hand SQL BO full client reports to corporate documents,  need to be enter Database server name every time? Is there any setting / fix to avoid it?
    2) In BO 6.5, do we need to set any option to view full client Free SQL reports in Infoview?

    Hi Sreenivas,
    The following information might help you to retrieve the information you require.
    There is a universe available as a part of Auditor product for which you need a separate license. This product helps you to have better control of your repository usage. The universe is REP_ORA.
    You can create a very simple universe using the OBJ_M_DOCATVAR table. This is a new table in version 6.5.x. This table gives the source of each dataprovider. Full client reports can have more dataproviders, so it is a one-to-many relationship.
    If you add the OBJ_M_DOCUMENTS table to the universe and join them by doc_id (OBJ_M_DOCATVAR.M_DOC_N_ID = OBJ_M_DOCUMENTS.M_DOC_N_ID), then you will have the proper document (report) names instead of just the ID numbers.
    The OBJ_M_DOCATVAR table is updated each time a BusinessObjects (6.5.x) or a WebIntelligence (2.5) document is exported to the repository (Send to users, Send to Broadcast Server, Publish to Corporate documents).
    The basic fields you will need in the report:
    OBJ_M_DOCUMENTS.M_DOC_C_NAME: The name of the document. The name of the document is unique for each given document domain.
    OBJ_M_DOCATVAR.M_DOC_N_ID: The unique identifier of the document. This value is referenced in OBJ_M_DOCUMENTS. The properties are therefore only applied to exported documents.
    OBJ_M_DOCATVAR.M_DOCATV_C_DPNAME: The name of the Data Provider (DP) for the current document.
    OBJ_M_DOCATVAR.M_SRC_C_NAME: The name of the source. You can see it in the end-user module by opening a document and choosing to view the data manager. It can be a universe name or a connection depending on the type of Data Provider.
    Regards,
    Sarbhjeet Kaur

Maybe you are looking for

  • Do I need to use a Collection/VArray or ...?

    Hi, all. Here's what I'm trying to do on an Oracle 9i database: I've got some 4 dates coming in from a table; I need to verify that they're valid by checking them against the person's birthdate, and then use only the valid dates in my package. So the

  • Impossible to review pdf with Adobe Reader 9.0

    Hello, I'm trying to use the option in Acrobat sending pdf to review by users working with Adobe Reader but it doesn't work as described in the help. I'm sending the review with Acrobat Professional version 7.0 and the receiver with Adobe Reader 9.0.

  • GPS problem with Curve

    My GPS sometime work and sometime doesn't with my BB curve Telus told me this was a know issue that the new release 4.5 would fix this problem¸ For Now telus are at 4.3, but I see BB web site is at 4.6 Does any telus user tried that ?  Will it upgrad

  • Problem to display japanese/multi-byte character on weblogic server 9.1

    Hi experts We are running weblogic 9.1 on linux box [REHL v4] and trying to display Japanese characters embedded in some of html files, but Japanese characters are converted into a question mark [?]. The html files that contain Japanese characters ar

  • DELL XPS 6000 with Audigy2ZS..No so

    <font face="Baskerville Old Face" size="5">?I have a Dell XPS 6000 Dimension desktop. Win XP. The sound card is a (Soundblaster 2ZS.) The integrated audio onboard is?(RealtekAC 97 Audio.)?I heard the Windows Startup theme,but when I play a song in Wi