Use evdre to query data from a SQL View

Hi all
I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
Regards,
Byron

Byron,  perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this.  However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file.  This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level.  Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME"  If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
Also:  I interpreted the following info from Page 10 of the same doc:
In your EVDRE, set the following options:
QueryEngine: MANUAL
QueryType:  enter either NEXJ  OR TUPLE  see below:
NEXJ  - Use two-dimensional queries using the nonemptycrossjoin function
TUPLE  - Use two-dimensional queries using tuples"
And I'm assuming you'd enter a Y for the following two parameters:
QueryViewName
"..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
Option SQLOnly
"..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."

Similar Messages

  • Query data from MS SQL db through Oracle ? By using JAVA ?

    Hi folks,
    I would like to sync our one table in oracle db with table in different system, stored in MS SQL database.
    What would be the easiest option for connection from Oracle to MS SQL db to be able to query data from MS SQL through some Oracle package?
    If possible, I would like to keep all "tricky steps" within Oracle database. I heard about option with Java, but so far we have no experience with java in Oracle.
    Our database: Oracle 11g Database Standard Edition One
    Many thanks,
    Tomas

    C:\Users\tomeo>dg4pwd HELIOS
    ORACLE Gateway Password Utility
    Constructing password file for Gateway SID HELIOS
    For user account SYSTEM
    OPW-00001: Unable to open password-file (RC=0)
    C:\Users\tomeo>

  • Querying data from the maintenance view.

    Hi Experts,
    Well, i need the STEXT field value from the maintanance view V_T591A created for the standard table T591A.
    Table T591A has the field Subtype but doesn't have the field Stext, which consists the description of the subtype. The Stext field is there in the maintenance view V_T591A.
    So, if i want to query the respective description of the specific subtype, how do i get the values from the maintenance view?
    Please advice.
    Thanks in anticipation to all!
    Cheers,
    Sundar.

    Atish,
    It is not possible that way! U cannot Query directly from MV as a DB table.
    Anyways, i managed to find the answer.
    Thanks though.
    Regards,
    Sundar.

  • Using JAXR to query Data - from JUDDI

    Dear friends -
    I am beginning to work on juddi.
    I am trying to Query the registry from my code to get some data. But I am unable to do so.
    I am getting the following exception:-
    log4j:WARN No appenders could be found for logger (javax.xml.soap.MessageFactory).
    log4j:WARN Please initialize the log4j system properly.
    javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Cannot find MessageFactory implementation]
         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
         at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown Source)
         at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown Source)
         at FindBusinessInfo.main(FindBusinessInfo.java:38)
    Caused by: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Cannot find MessageFactory implementation]
         at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
         ... 4 more
    Caused by: javax.xml.soap.SOAPException: Cannot find MessageFactory implementation
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:111)
         ... 5 more
    My code is below:-
    import javax.xml.registry.*;
    import javax.xml.bind.*;
    import javax.xml.soap.*;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.*;
    public class FindBusinessInfo extends MessageFactory{
         public static void main(String[] args) {
              try {
                   Properties props = new Properties();
                   props.setProperty("javax.xml.registry.queryManagerURL",     "http://uddi.ibm.com/testregistry/inquiryapi");
                   props.setProperty("javax.xml.registry.lifeCycleManagerURL",     "https://uddi.ibm.com/testregistry/publishapi");
                   props.setProperty("com.sun.xml.registry.http.proxyHost","india.hp.com");
                   props.setProperty("com.sun.xml.registry.http.proxyPort","8080");
                   //props.setProperty("com.sun.xml.registry.https.proxyHost","myhost.mydomain");
                   //props.setProperty("com.sun.xml.registry.https.proxyPort","8080");
                   ConnectionFactory connFactory =     ConnectionFactory.newInstance();
                   connFactory.setProperties(props);
                   Connection connection = connFactory.createConnection();
                   System.out.println("connection obtained"+connection.toString());
                   RegistryService rs = connection.getRegistryService();
                   BusinessQueryManager bqm = rs.getBusinessQueryManager();
                   BusinessLifeCycleManager blcm = rs.getBusinessLifeCycleManager();
                   String qString = "j";
                   Collection findQualifiers = new ArrayList();
                   findQualifiers.add(FindQualifier.CASE_SENSITIVE_MATCH);
                   Collection namePatterns = new ArrayList();
                   namePatterns.add("%" + qString + "%");
    //               Find orgs with name containing qString
                   BulkResponse response =     bqm.findOrganizations(findQualifiers, namePatterns, null, null, null, null);
                   Collection orgs = response.getCollection();
              /*     ClassificationScheme cScheme =     bqm.findClassificationSchemeByName(null, "ntis-gov:naics");
                   Classification classification =     blcm.createClassification(cScheme,"Snack and Nonalcoholic Beverage Bars", "722213");
                   Collection classifications = new ArrayList();
                   classifications.add(classification);
    //               make JAXR request
                   BulkResponse response = bqm.findOrganizations(null,     null, classifications, null, null, null);
                   Collection orgs = response.getCollection();
                   System.out.println("orgs = "+orgs.toArray());
              } catch (JAXRException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public SOAPMessage createMessage() throws SOAPException {
              // TODO Auto-generated method stub
              return null;
         public SOAPMessage createMessage(MimeHeaders arg0, InputStream arg1) throws IOException, SOAPException {
              // TODO Auto-generated method stub
              return null;
    Please Help..
    Thanks very much!
    Vishal

    API's are Applicaiton programming interfaces which will be present in any application. These are the means for integrating the system with the rest in the landscape.
    You can find BAPI related information at
    www.sap-img.com
    www.sapgenie.com
    Regards,
    Ravi

  • Using forms6i and reading data from MS SQL server 7

    Hi!
    I have been given a new task to connect to Microsoft SQL SERVER 7 with Oracle 6/6i development with ODBC and extract specific data.
    I am realy stuck with this I hope some one will help me with this as soon as possible.
    thanka

    I did a similar thing with developer 2000 (Form 4.5) and SQL server6.5.
    There are lots of things involved and there will be issues that need to be resolved in you application but you can take one thing at a time and you should be able to do it.
    -First make sure that your SQL server is up and running.
    -Then make a client machine that connects to SQL server.
    -On the client install your Form6 or 6i.
    -Install ODBC manager on your Client Machine.
    -Get the Oracle ODBC driver for SQL server.
    -There is a document available with developer 2000 for open data source. It should be with your Form6/6i documentation. It has got a section for connection with SQL server.
    Start with this and where ever you get stuck ask away question on the forum.
    Hope this help

  • Best Practice on querying Data from Database

    Hello and I was wondering what is the preferred and best practice for querying data from an SQL database inside a JSP page. Is it using the JSTL library or another method? Thanks

    It depends on the size of the application really.
    The "correct and preferred" approach in a large MVC app would be to have a seperate class that does all the database access, retrieving the data into java objects.
    Check out [url http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html] DAO pattern
    You then "save" the data into request/session attributes, and forward to a jsp page to render the result.
    Most approaches recommend a separation between JSP (the view) and SQL code.
    The JSTL sql tags are provided more for "quick and dirty" code applicable in small applications, or for fast prototyping. That approach is not really robust for large scale applications.
    Cheers,
    evnafets

  • How to query data from Oracle, MySQL, and MSSQL?

    For an environment consisting of Oracle 11g/12c enterprise edition, MySQL 5.7 community edition, and MSSQL 2008/2012 stanard/enterprise edition, is there any major issue using DG4ODBC to query data from all 3 platforms?
    Is there other free alternatives?
    If the queried data is mostly contained in MySQL or MSSQL, will it be more efficient to query from MySQL or MSSQL?
    If yes, any suggestion of how to do it in those platforms? I know MSSQL can use linked server but it is quite slow.

    mkirtley-Oracle wrote:
    Hi Ed,
        It is semantics.  By multiple instances I mean you have the gateway installed in an ORACLE_HOME which has 1 listener. However, if you are connecting to different non-Oracle databases or different individual databases of that non-Oracle database then you need multiple gateway instances for each database being connected.  I did not mean that you need a gateway installed in a separate ORACLE_HOME for each non-Oracle database to which you are connecting.
    Each of these would have a separate instance file within that ORACLE_HOME/hs/admin directory with the connection details for the non-Oracle database to which that instance connects.. So, you would have -
    initgtw1.ora - connects to MySQL
    initgtw2.ora - connect to SQL*Server northwind database
    initgtw3.ora - connect to SQL*Server test database
    etc
    etc
    Each of these instances would have a separate entry in the gateway listener.ora.
    In MOS have a look at this note -
    How To Add A New Database or Destination To An Existing Gateway Configuration (Doc ID 1304573.1)
    Regards,
    Mike
    Ah yes, we are in agreement, it was just semantics.  Thanks.

  • Hi experts, how to use open sql to read data from one " maintenance view"?

    i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?

    Hi
    You can't use OPEN SQl statements to fetch data from maintenance view
    You have to use only Database views
    see the different types of views and the difference
    The followings are different types of views:
    - Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    - Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    - Maintenance View ( SE54 )
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Please have a look at below link. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    Reward points for useful Answers
    Regards
    Anji

  • Error while retrieving data from PL/SQL Table using SELECT st. (Urgent!!!)

    Hi Friends,
    I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
    CREATE or REPLACE PROCEDURE test_proc IS
    TYPE tP2 is TABLE of varchar2(10); --declared a collection
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    While executing the above procedure, I encountered foll. error:
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
    ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [0]
    Can anyone please help me, where the problem is??
    Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
    Thanks in advance.
    Best Regards,
    Jay Raval.

    Thanks Roger for the Update.
    It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
    Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
    I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
    Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
    If someone have any other idea on this, please do let me know.
    Thanks a lot for all help.
    Best Regards,
    Jay Raval.
    You have to define a database type...
    create type tP2 is table of varchar2(10)
    CREATE OR REPLACE PROCEDURE TEST_PROC
    IS
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    This will work.
    Roger

  • Is it possible using SQLite to collect data from an older SQL database?

    Is it possible using SQLite to collect data from an older SQL database? Where can I find a possible answer. Thanks in advance.

    There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal. 
    In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
    hth,
    ido

  • Not able insert ,query data from forms

    hi,
    I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
    should i do anything to insert record.please help

    the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
    There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
    Craig...

  • Trying to query data from a view - ORA-01882 and ORA-02063 Errors

    Hey there,
    I tried to query data from a view that was provided by a colleague. This view works fine and gives correct data using PL/SQL Developer or SQLPLUS, but in SQL Developer, I get the following error:
    ORA-01882: Time zone region not found
    ORA-02063: preceding line from SYSTOOLS
    01882.00000 - "timezone region %s not found"
    * Cause: Specified reason name was not found
    * Action: Please contact Oracle Customer Support
    Vendor Code 1882
    Where comes this error message from?! SYSTOOLS is the database link.
    Can't see an obvious reason for this error.
    OS is Windows 2000 SP4, SQL Developer is v1.1.1.25 BUILD MAIN-25.14
    Regards,
    Thomas

    From Oracle Messages 'Cause and Action'
    http://www.oracle.com/technology/products/designer/supporting_doc/des9i_90210/cmnhlp72/messages/ora_messages.htm
    ORA-01882, 00000, "timezone region %s not found"
    Cause: The specified region name was not found.
    Action: Please contact Oracle Customer Support.
    Maybe invalid region in NLS_LANG?
    "select * from v$nls_parameters"
    Starting this script in all developer program and compared result...

  • SSIS 2014 - Best way to use parameters to extract data from sources

    Hi,
    Is there any way besides SQL COMMAND FROM VARIABLE that I could use to extract data from Oracle \ SQL Server tables that filters the amount of data?
    For instance, I want to extract in all sources data beyond 2007 so I wanted to use this year as a parameter in all OLEDB sources I will be using.
    Thank you

    Hi Pedro,
    Based on my research, the Microsoft OLE DB provider for Oracle and Oracle Provider for OLEDB does not allow parameterized queries in OLE DB Source. So the best method to achieve your requirement is still using SQL COMMAND FROM VARIABLE option as Data access
    mode.
    Considering construct your query in a variable which you can include your parameter dynamically with another variable and set the variable properties "EvaluateAsExpression" to true. In the Expression Property set the value to:
     "select * from test
    where Col1='" + (DT_WSTR,100) @[User::para]  +"'"
    The following two similar threads are for your references:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/97f23ef5-35ac-466e-87d9-69edac2525f9/ssis-oledb-source-problem
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/32a70752-adab-4180-8b6d-f6100b3e356c/pass-variable-for-ole-db-source-with-connection-to-oracle
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Reading Data from a SQL table to a Logical file on R/3 appl. Server

    Hi All,
    We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
    I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
    I am new to ABAP , please let me know the steps to be done to acheive this .
    Regards
    - Ajay

    Hi,
    You can find lot of information about Datasets in SCN just SEARCH once.
    You can check the code snippet for understanding
    DATA:
    BEGIN OF fs,
      carrid TYPE s_carr_id,
      connid TYPE s_conn_id,
    END OF fs.
    DATA:
      itab    LIKE
              TABLE OF fs,
      w_file  TYPE char255 VALUE 'FILE',
      w_file2 TYPE char255 VALUE 'FILE2'.
    SELECT carrid connid FROM spfli INTO TABLE itab.
    OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                            " Server to write data
    LOOP AT itab INTO fs.
      TRANSFER fs TO w_file. "" Writing the data into the Application server file
    ENDLOOP.
    CLOSE DATASET w_file.
    OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                          " server to read data
    FREE itab.
    DO.
      READ DATASET w_file INTO fs.
      IF sy-subrc EQ 0.
        APPEND fs TO itab.
        OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
                                                           " application server
        TRANSFER fs TO w_file2.
        CLOSE DATASET w_file2.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    Regards
    Sarves

  • Use JDBC to query data for JSP Report

    Hi all,
    I met a trouble when use JDBC to query data,
    it can show data in report builder, but get error when call from url for exxample: http://localhost:8889/reports/TestJDBCReport.jsp
    found error message:
    javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source.
    REP-0069: Internal error
    JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    anyone know pls help me
    Many thanks

    As a general rule, it's a good idea to separate the
    presentation (JSP and HTML) from the business rules
    (database access). I know you didn't do that on the
    AS/400, you had display files and business logic in
    the same program (at least, we certainly do in ours),
    but it's a good policy to follow in the web world.
    That means, don't put your database access code in
    the JSP. Other than that, it depends on the data.
    If you have simple data (e.g. customer's name and
    d address) then a Java bean would suffice. If you
    have complex data (e.g. customer's payment history)
    then a bean still might suffice. You would use an
    "include" if you had some data (static or dynamic)
    that you wanted to appear in several different pages
    in the same form.Thanks, I figured putting the code in the JSP was not the best way, but I wasn't sure about the other options.

Maybe you are looking for

  • (BOXI R2):InfoView: Error: Invalid postback or callback argument

    HI I am working on Crystal report server2008 (XI R2): InfoView:  An error has occurred:Invalid postback or callback argument.     When user tries to schedule a report by changing the input parameter values. The following error is showing. I.e When us

  • How to define keys in target DSO

    hi gurus!! ..can you please extrapolate on how to define key in target DSO and transformation logic.. (please refer to below discussion from for scenario from earlier posting) thanks in advance I have data from 3 datastore objects which I need to upd

  • Question Marks and Missing pieces in XML documents

    Hi there, I am using FM 10.  I have set up a conversion table to apply DITA structure to documents, with the intent of saving them as XML docs.  Unfortunately, after I do this, the XML docs are coming out a little strange...with ? added, with text an

  • ICS and Hotmail

    Ok - I've had the same problems with ICS as everybody else here (and every other forum). Some questions were answered by people here (which I appreciate - and then I go help someone else out on other forums). [Just FYI - before someone mentions clear

  • Which nvidia driver?? [Solved]

    Hi all, I am sorry, I am not able to understand the beginners guide regarding installation of nvidia drivers. I have X and kdemod3 running with the nv driver, but it is slow. My card is: nVidia Corporation NV44A [GeForce 6200] (rev a1) On beginners g