Create BI Pub report using multiple Answers queries as sources

No answer to this on the BI Publisher forum. Posting here...
Is it possible to pull information from two or more separate Answers requests into the same BI Publisher report?
I'm using Word with the BI Publisher add-in. I can connect to, and retrieve data from, one of my stored Answers requests. So now I have a table of Answers-sourced results in my Word doc.
Now I'd like to get some different results, from another stored Answers query, and put those results into a second location in my Word doc.
How is this accomplished?
Thanks!

I figured it out. Although I can't DIRECTLY add more than one answers query to a Word doc strictly from within Word, if I establish the different Answers queries as different DataSets over in my BI Publisher report, then specify that the default DataSet is the Concatenated SQL Data Source, both queries appear in the "Insert" options in Word, and both can be used in the same Word doc layout template.

Similar Messages

  • Create a Webi report using QAAWS as a data source

    Hi Experts,
    I am on BO 4.1 SP 3, and using the Webi Rich Client to create a WEBi report using a QAAWS url as a data soruce.
    This is the first time I am trying this, so any tips/helpful links are welcome.
    I get the below error, when I try to map the fields. But I do not have any personal data files involved.
    Thanks,
    Vasu Natari.

    Hi Vasu,
    We can create webi report with QAAWS.When creating the report on webservices /Personal data providers we'll not get prompt/query filters option .
    Are you trying to change source ? Instead create new source and get data.

  • How to generate a single report  using multiple Databases

    Hi All
    Is it possible to create a single report using multiple databases
    I am working on Database A to generate reports usually,, but now i have a second database for which the data is coming from flat files now i have to use few tables from
    Database B to generate a single report,,,,, can any one help with the process

    Hi,
    i didn't see this properly in your post:
    but now i have a second database for which the data is coming from flat files if you have ETL then make flat files as source then create target tables in db:B itself.. .Now, import them in the rpd..
    If not, import both those tables into rpd with different connections..
    Create physical joins by selecting those tables and perform joins operations over db's in physical layer..

  • Can create Webi report using multiple universe (multiple datasource)

    Hi All,
    Can we create a Webi report from multiple universe (can say multiple dataprovider & datasource)?
    Please suggest.
    Regards,

    You can bring as many sources together into one report as you like.
    However, to use them together you must have some common dimension, such as a particular Sold To Party, Business Partner, etc. You can then use merge dimensions to develop your report but you will need to be aware that dimensions that are NOT Common to both data providers cannot be used in a table combining two data providers.
    So, if data provider one has dimensions Resort, Product and Year and a  measure object Sales Value
    while  data provider one has dimensions Resort and Year and a  measure object Cost Value, you cannot use Product in a report but you can display Resort, Year, Sales Value and Cost Value together to show you how much revenue each resort is generating each year and how much it is costing you to do so. To have product in the report table, you would need to add it to data provider two.
    Hope that clears it up for you.
    Regards,
    Mark

  • Creating a service report using SQVI

    Hi experts
    I am creating a service report using SQVI
    The report should have the following fiels
    SrvPO No | SrvPO Data | vendor | Stata  | City | Type of Srv (Ad\banner|maintnc.)  | Amount | Status(open or closed)
    I am using the following tables using table join fnc
    1. EKKO
      EBELN-PO No
    AEDAT - PO Data
    LIFNR - Vendor
    PROCSTAT - Status of PO doc
    2.LIFNR
    REGIO - State
    ORTO1 - City
    3. ESSR
    TXZ01 - Type of Service (Short text)
    4.EKPO
    NETWE - Net amount of PO
    All the tables are legally join but after executing I am not able to fetch any data or hardly one service PO.
    And the selection field will be only From Date and To date.or the Service PO No.
    Immediate response is urgent
    Regards
    Partha

    Moderator message: you said your  issue is solved but did not mark your discussion as such, please see
    How to close a discussion and why

  • 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

  • How to create a new report using MS Word add-ins?

    Hi, I am a newbie. I am using BI Publisher 10.1.3.4 and l want to create a simple report using BI Publisher from MS Word add-ins. I don't have a default template. What are the steps to create a new report from scratch. I want to create a simple report for one table contains 4 columns & 2 rows data, and then save the report under my folder.
    I am in an urgent need to learn this, any suggestions are highly appreciated.
    Thanks all.

    Thx Everyone, I figured that out. It's simple and clear to me.

  • How to create a crystal Report using C# and SQL Server

    Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
    but i got an error on the adding of server name and database portion.. thanks a lot in advance

    Hello,
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to create a single report using 5 difftent reports

    Hi Experts
    how to create a single report using 5 repors in it.
    Example
    I have to create a Survey history report using
    Reports like Surevy 1
                      Surevy 2
                      Surevy 3
                      Surevy 4
                      Surevy 5
    Please suggest me.
    Santosh

    Use Analysis Process Designer (RSANWB) to feed each of the survey BEX reports to one DSO.  Assuming each of the surveys has something in common to compare.  Could also be used as a snapshot storage for the surveys in case history needs to be compared/archived. 
    Build the Direct update DSO with the survey objects.  Add needed time characteristics and/or version control objects to the key. 
    Data sources  will be the 5 surveys. 
    Add formula to hardcode version/time for history.
    Data target is the direct update DSO.
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/49/7e960481916448b20134d471d36a6b/frameset.htm
    -SM

  • Can I create one single  crystal report using 2 bex queries

    HI all,
    I have 2 bex queries and has to develope a single crystal report .Is it possible???? If so, than how to connect two bex queries  and develope  one single crystal report.Any other option is also fine. I mean ....no need to use crystal..( I can go for one single webi..).But need to know the approach ...
    or else...can I create universe on 1 bex and other universe on other bex ..and go for one single webi report..
    Only problem is client is particular about one single report(either crystal or webi)
    if i go for webi ...I know we can use link universe option but I dont know whether it works fro OLAP environment.
    Please let me know if I can link OLAp universes and go for 1 single webi report.
    Any help is appreciated.
    Thanks in advance,
    Mahathi

    You can use either CR or WebI.
    In CR Designer create the report using the SAP toolbar (Create report from query) based on the 1st BEx query. Then use the Database expert (first entry in the Database menu) to add an additional connection to your 2nd BEx query (+Create new connection->SAP BW DX query). You can then join the results of the 2 different queries in the database expert also.. Please note that if you do NOT want to join the result sets, then it is more efficient to use subreports. Create two different CR reports, each based on one of the BEx queries and then use one of those as your main report and insert the other one into it as subreport. Once embedded you do not have to keep the separate .rpt file of your second report.
    For Webi you must build 2 universes, each based on one of your BEx queries. In your report you can add multiple queries based on different universes. You can join the results sets here by using the Merge dimensions button in the report editor area.
    Regards,
    Stratos
    PS; Keep in mind that joining a large number of rows at report level (either in CR or WebI) can cause performance problems. If this is your requirement, how many rows do you expect to get back from each individual query?

  • Reports using multiple tables (Reposting)

    After no response for two weeks I am reposting this. Can anyone please help me on this one?
    I am trying to create a report using portal that use links between multiple columns. The info I want is mainly in two tables. Some of the info in the table is numeric (Foreign Keys). I want to display them in readable format so set up joins to the respective parent tables. When I do this the result only produces 12 lines of output irrespective of the number of lines I set per page. When I show only the data from the main tables, without the joins to the other parent tables, i.e. the foreign keys as numbers I get all the rows. I have tried to create the report by using all three options given but get the same result.
    I am using 9iAS verison 1.0.2.0 and Portal version 3.0.7.
    Can someone please explain why this happens and how I can solve this problem urgently.

    Hello,
    It looks like someone answered your question in thread UIX tutorial
    I would also recommend reading the Databinding chapter and the Business Components for Java Integration chapter under UIX Developer's Guide and Reference.
    Also, you can download demos from this page:
    http://otn.oracle.com/products/ids/uix/content.html

  • Reports using multiple tables

    I am trying to create a report using portal that use links between multiple columns. The info I want is mainly in two tables. Some of the info in the table is numeric (Foreign Keys). I want to display them in readable format so set up joins to the respective parent tables. When I do this the result only produces 12 lines of output irrespective of the number of lines I set per page. When I show only the data from the main tables, without the joins to the other parent tables, i.e. the foreign keys as numbers I get all the rows. I have tried to create the report by using all three options given but get the same result.
    I am using 9iAS verison 1.0.2.0 and Portal version 3.0.7.
    Can someone please explain why this happens and how I can solve this problem urgently.

    Hi Ashok,
    Sorry for posting the solution with delay. Actually I ran into the similar situation and upon deep analysis, I could crack it., the very next day.
    This is how your write back template should be for updating on multiple tables
    <?xml version="1.0" encoding="utf-8" ?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="WRITE">
    <XML>
    <writeBack connectionPool="Oracle Data Warehouse Connection Pool">
    <insert> </insert>
    <update> UPDATE FACT SET COUNT = '@{c4}', W_UPDATE_DT = CURRENT_DATE
    WHERE EXISTS (SELECT ROW_WID FROM DIM WHERE DIM.ROW_WID = FACT.DIM_WID AND
    DIM.X = '@{c1}' AND DIM.Y= '@{c2}' AND DIM.Z = '@{c3}' ) AND EXISTS (SELECT ROW_WID FROM DT WHERE DT.ROW_WID = FACT.DT_WID AND DT.PER_NAME_YEAR = '@{c0}') </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    =====
    Using exits, will improve the performance.
    Hope it helps. If yes, pls award points. Thanks
    Regards,
    Sarat Nallapati

  • Crystal Report with multiple BEX queries

    I have a Crystal Report that uses 6 different BEX queries.  The report needs to display the results from each query, there is no need to join these queries.  The Crystal Report is using subreports and displaying the data one BEX query after another.
    The issue I have is that these BEX queries all have the same mandatory variable.  This is causing Crystal to prompt the user to enter the same variable filter once per BEX query.  
    If we change the BEX queries so only the first BEX query has a variable and use Crystal to filter the other 5, the performance is unacceptable.  My guess is the other 5 queries are experiencing client side filtering instead of the filter being passed down to BW.
    Is there a way to have multiple BW queries with the same variable and have Crystal only prompt the user to enter input one time?
    Thanks,
    Andy

    Hi Andy,
    My understanding of the issue is :
    --You have 6 Bex queries and are displying on after the other becaused you have inserted all these queries as sub report.
    --All your Bex queries are having same parameter / prompt / variable which will take user input and filter the data.
    --Now the report is prompting the user to enter prompt / variable 6 times.  You are looking for an option to proimpt only ones insted of 6 tiems.
    If I understood correctly follow the method to link sub reports to grab the parameter value form main report parameter :
    Right click on sub report go in Change Subreport Links, select main reort prompt / varieable and then select sub report prompt / parameter / variable.
    Do the same for all your sub reports.  This will eliminate asking / prompting the same parameter value several times.
    Thanks,
    Sastry

  • Creating a crystal report using excel

    I have an excel spreadsheet that I would like to access to create a crystal reports.  But it seems that I have to first save it as an access or other database file.  But this information changes frequently so I it would be more efficient to access the excel file directly.  I tried using the crystal wizard addin in excel, but then when I run the report I get the error message "Server has not yet been opened".  Any other ideas on how to create report of excel data directly?

    Hello Guys ,
    I have something similar problem ,but not exactly.
    our requirement is We are scheduling one crystal report to generate excel and sent to FTP location.This Excel file (in FTP) should be the input of new Crystal Report using ODBC (RDO) connection.
    I am able to create the ODBC connection,but that ODBC connection is not showing me the selected excel sheet in the Crystal Report ODBC Connection.I tried with Remote as well as local drive Excel also.
    I tried on different machine (thought ,it could be Driver specific),but all machines does have same issue.
    Is there any settings or driver upgrades require for CR XI R2 /2008 in order to use ODBC (RDO) for EXCEL FILES.I didnt find any comments /resolution in Google too.
    My steps -
    1) Create a sample Excel file - only few records
    2) Created a System ODBC connection pointing this excel file say "TEST1"
    3) Opened A Blank Crystal Report
    4) Create a New connection
    5) Select ODBC RDO
    6) Create new connection and selected the newly created SYSTEM DSN "TEST1"
    7) check the selected excel is displayed in ODBC RDO connection??
    If it is a Crystal Report issue or ODBC Driver issue ,please let me know if anyone have came across similar issues.
    thanks in advance.
    Nitin

  • How to create a crystal report using secured web service as a datasource?

    Hi All Expert,
    I having some challenges on how to create a report using secured web service as a datasource in crystal report designer (CR11 R3).
    Secured Web Service including the certificate trusting, token authentication, header and/or body encryption. All web services running on https protocal.
    Could you please suggest me on the solution?
    Thank you and Best Regards,
    Cherr

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

Maybe you are looking for

  • Error in START_SHDI_FIRST... RFC logon fails

    Hello All, I cannot get past a step in the enhancement package 4  installation.  The step is called:  START_SHDI_FIRST. The error says to troubleshoot by looking at 2 logs,  STARTSFI.LOG  and DEVTRACE.log.   extracted below. The problem can be descri

  • My mac hdd will not repair in recovery mode.

    This is what the repair says: Verify and Repair volume “Macintosh HD” Checking file systemChecking Journaled HFS Plus volume. Checking extents overflow file. Checking catalog file. Invalid node structure Rebuilding catalog B-tree. Invalid record coun

  • Structure of sampled sound data

    Hi, What is the structure of the byte[] that is gathered from AudioInputStream when reading a wav-file? How do I get the amplitude at one specific moment? How is the sound organized into Stereo? Regards, Pingen

  • Parsing a xml file

    i need a code for this... write a class for "myxmlparser" to parse "*.xml" fileto "*.dtd" file. sundar

  • Proxy Client response table with empty lines

    Hi, I'm consumig external webservice with ABAP (No XI scenario) and comuncation it seems correct. When I execute the client proxy from SE80 directly, I can see the XML response with table element ans its respectives contens. Unfortunately, when I cal