DB Connect and Database Views

Hello,
I am writing a function module to access an external Oracle database that has been defined in our ABAP system using DBConnect.
I would like to use Open SQL instead of Native SQL to access the data in the remote table.  Is this possible?  I believe that in order to do this, a view of the remote table would have to be defined in the ABAP data dictionary via SE11, but I am unable to do this.
Does anyone know if this is possible, or am I required to use Native SQL when accessing an external database?
Regards,
-Matt Schababerle

Hi,
Chek out these two links.
It would be helpful:
Access external Oracle database with ABAP
external oracle database connection
Regards,
Anjali

Similar Messages

  • View on "Transparent Table and DataBase View" ????

    Hi
    I have three transparent tables and four database views in R/3.
    Is it possible to create the view on "Transparent Table and DataBase View". Please let me know
    kumar

    no it's not possible.

  • Diff  between maintence and database views

    pls  answer now,its urgent

    Hi
    Database Views
    Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.
    Database views are defined in the ABAP Dictionary. A database view is automatically created in the underlying database when it is activated.
    Application programs can access the data of a database view using the database interface. You can access the data in ABAP programs with both OPEN SQL and NATIVE SQL. However, the data is actually selected in the database. Since the join operation is executed in the database in this case, you can minimize the number of database accesses in this way. Database views implement an inner join (see Inner and Outer Join).
    If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Maintenance View:
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key  You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    If it is helpful rewards points
    Reagards
    Pratap.M

  • JDeveloper 3.0 and Database-Views

    I have started to test JDeveloper and have the first problem.
    I make extensive use of database-saved views and started with the Package Wizard to create default business-objects (view objects and view links).
    But when I select a database-view I get a save error: Entity creation failed no primary key attributes and does not support ROWID. oracle.jbo.dt.objects.Jbo.Exception
    The connection was established with jdbc.oracle.thin, the database is NT-Version 7.3.4, JDeveloper is Version 3.0 (Build 532).
    What have I done wrong or is it not possible to connect to views ???
    I hope for your help.
    Henry
    null

    Dan,
    JDeveloper 3.0 provides an 'Add-In API' and 'Custom Addins' for
    integration with third-party vendors. These were also in place
    for 2.0.
    If you go to the JDeveloper page, there are HTML documents
    available under the 2.0 Technical Information section, and also
    an online walkthrough available if you follow the 'Online Demo'
    link.
    Laura
    Dan Schroeder (guest) wrote:
    : Will JDeveloper 3.0 support source control integration? I am
    : currently MKS Source Integerty 7.5. I haven't seen any
    : references about source control within JDeveloper 3.0.482, but
    : someone told me that it may be available as an add on.
    null

  • Business Components and Database Views - Trouble Creating

    I am trying to create a business component that contains a View that I created in my database. When I get to the fnnal step of creating the business component and it begins to generate the XML and Java code, it bombs out and says that the view object does not support ROWID. I just need to select only GridControl of this view.
    Any suggestions/help would be appreciated. I could not find any info in the JDeveloper help.
    null

    Some options:
    [list]
    [*]Create the entity using the Entity Wizard instead of reverse engineering it from a table. In the entity wizard you can specify the table/view name, then indicate which attribute should function as the primary key.
    [*]Don't bother creating an entity object for this view. You can just create a view object with an "expert mode" query that selects against your database view. It does not need an entity object. Note, however, that without an associated entity you won't get "uniquing" of entity level values, so if another view object being used by the same use changes the data that this grid is showing, the updates won't be automatically synchronized if you go this route.
    [list]

  • JPA and Database Views

    hi ,
    How can i represent my DataBase View in JPA , and since each "Entity" should have an "@Id" how can i handle this on my views since some of them does not have a convenient ID field/fields , Thanks

    In this situation I created @Id for one of the columns or created @IdClass from all view fields.

  • I've gotten a Firefox update prompt twice now that I suspect could be malware. It never connects and the "view more information" link doesn't work. Can you advise?

    It's a small window labeled "Software Update" with the Firefox logo. It reads:
    It is strongly recommended that you apply this update for Firefox as soon as possible.
    The link provided reads: View more information about this update.
    The link is inactive and when I tried to update it searched and searched -- the phrase "connecting to . . ." was on-screen for long time, but nothing ever happened. I closed the window, then tried to learn more but the prompt didn't come back until today.

    You are not running the latest version of Firefox so it may be a genuine prompt. Try downloading and installing the latest version of Firefox from http://www.mozilla.com/ then see if you still get the prompt.

  • BC4J Connection and database ROLE

    Hi,
    We have an application with several root Application Modules. We need to connect using a determined database user and role (with password). The problem is that the Connection Wizard does not support this feature.
    I need to issue these commands after establishing connection:
    SET ROLE my_role_name IDENTIFIED BY my_role_password
    ALTER SESSION SET CURRENT_SCHEMA = my_schema
    What is the best way to do that? I know I can issue those commands from each AM, but I'd like to do that in one place only (i.e. the connection or something like).
    Thanks
    Lapolla

    You could derive from ApplicationModuleImpl and perform this operations in overwritten prepareSession() method.
    Markus

  • JPA and Database View.

    Hi people...
    I working with JPA and Hibernate and i have a View in my Database and i need to map this View. It's this possible? Some have an example to show me?.
    Thanks!

    I hope this link help you
    http://forums.java.net/jive/message.jspa?messageID=244187
    I�m having a similar problem, I�m developing using JPA and now I need to bring values from some views on database but I still don�t know how.I�m still Java jr and I didn�t understand clearly but I guess that the link can help you, and if it�s true please explain me.

  • File connection and database connection as a parameter

    hi
    i am using ssis 2012, now i want all my  connection ,database and file connection as a parameter.
    how to do it

    Hi coool_sweet,
    If I understand correctly, you want to use a parameter to control the connection string of flat file or database.
    If in this scenario, we can add two parameters in the package with appropriate values, like the connection string of flat file and the connection string of database. Then use an expression with the parameter value to control the ConnectionString property
    of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger. The following screenshot is for your reference:
    Besides, as Arthur said above, if you want to change the ConnectionString property of Flat File Connection Manager and the ConnectionString property of OLE DB Connection Manger via changing parameter values after deploying the package to SSISDB, there is no
    need to do this. Because we can also change the connection manager properties in the Configure dialog box as below:
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Hi,  difference between database view and elementary search help

    hi
    pl.  can any one tell me the difference between
    database view and elementary search help, 
    and  help view and elementary search help,
    and database view and help view.
    in the output i do not see any difference.
    thanx.
    rocky robo

    HI
    An entire table can be included in a database view. In this case all the fields of the included table will become fields of the view (whereby you can explicitly exclude certain fields). If new fields are included in the table or existing fields are deleted, the view is automatically adjusted to this change.
    Database view:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/36/74c0358373003ee10000009b38f839/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/36/74c0358373003ee10000009b38f839/frameset.htm</a>
    Elementary search help:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/8b/415d363640933fe10000009b38f839/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/8b/415d363640933fe10000009b38f839/frameset.htm</a>
    Help view:
    Help views are used if a view with an outer join is needed as selection method in a  search help.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/42/81c1351181b73fe10000009b38f839/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/42/81c1351181b73fe10000009b38f839/frameset.htm</a>
    Regards,
    Gunasree

  • Difference between Database view and Table

    Hi there,
    Can anyone tell me the difference between Database view and Table.
    Will the Database view query be more faster than a database table?

    Tables and database views can be defined in the ABAP Dictionary.
    These objects are created in the underlying database with this definition. Changes in the definition of a table or database view are also automatically made in the database.
    Data from several tables can be combined in a meaningful way using a view (join).
    You can also hide information that is of no interest to you (projection) or only display
    those data records that satisfy certain conditions (selection).
    Database views implement an inner join. You only get those records which have an
    entry in all the tables included in the view.
    in views db modifications are not possible
    views only contain data at run time
    when they consult the database
    in case of views the join definitions are already sstored in the database itself
    whereas join as open sql is a query to oracle  database as similar select statements
    Views are optimized by SAP and stored in the repository while Joins
    are in reports that needs to be compiled at every execution
    Reward if helps
    Regards,
    Senthil
    Message was edited by: senthil kumar

  • Z Database view is not showing all the entries?

    Hello
    Last year I have created a Z table, say, its name is Z_TABL_1, its working fine, say, there is around 1000 entries in PRD, well
    Last week I have created another 2nd Z table, its name is Z_TABLE_2, now it has 50 entries in PRD
    In both tables the key field os the same (VISITOR_NUMBER) and there is only one key field in both tables, its the same
    When creating the 2nd table I forgot to specify the CHECK table relationship in 2nd table refering 1st table, I mean, dependent table is 2nd whereas reference is 1st table
    Now, I created a database view, say, my_db_view on these 2 tables.
    When I opened this my_db_view in SE16, I expected 1000 (this 1st table count) entries, but am seeing just 50 (the 2nd table has only 50 entries) entries!!
    Pls. let me know how can I view all the 1000 entries in SE16 for my_db_view?
    Thank you

    Hi,
    in your DB view tables are joined and database views implement an inner join (you can check here: http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ecab446011d189700000e8322d00/content.htm), that's why the system extracts only 50 records.
    It's not possible to have all the 1000 records using a database view.
    Marco

  • Universes versus database views

    why would we use universes versus database views to store sql/formulas/calculations (other than the fact WEBI has to use it)? this is assuming crystal reports only

    Kevin,
    I am a big supporter of using Crystal Reports.  I've been using Crystal for a while.
    However, there is a difference between using universes and database views.  I tend to use stored procedures more than I would a database view just because it is using the compiled code.  However, if you use a database view and need to add a command, you will get a plain dialog box asking for SQL and parameters.
    If you are using a universe and add a command, you are going to get the Business Objects query panel.  With this query panel, you can add a combined query, add a sub query, look at the SQL, add fields, set whether you want to see unique values and designate how many rows are returned.
    All this can be done using SQL.  However, the difference is for those that can't access the database when they want.  They would have to have permissions (and the know how) to modify the database view as they want or create a new one.  If a universe has been set up for them, they can manipulate the universe as they want.
    If order to use a database view and add a command, you would have to know the SQL pretty well to do the same things.  Not a pretty GUI to use.
    Hope that helps.
    Glenn

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

Maybe you are looking for

  • Smart playlists no longer live update

    I wrote in about this once before but got no solution. I use a smart playlist on my ipod touch to give me only podcasts with less than 1 play, so that I only get the new ones. When I got the ipod for Christmas, and until about late January it was wor

  • JPG export preset in InDesign?

    Hi all, Is there a way to save my JPG export selections as a preset? I have to export JPGs of the same document for two different purposes and they have different export requirements. Is there a way to save my selections as a preset the same way I ca

  • FRM-40655

    I get the message frm-40655: SQL error forced rollback. What can I do to resolve this problem? And also I got the message ora-01000:maximum open cursors exceeded. How can I adjust the open cursors limit?

  • Accordion inside a scrollPane

    I need to put an accordion in a scrollPane. The only way I can figure out how to do it is to have an empty movieclip in the library, then set that as the contentPath of my scrollPane and creating an accordion inside. The problem is that if my accordi

  • Jumper settings on 250gig WD SE16?

    Greetings everyone, first, let me thank to the Apple community and all of you at this forum who are always ready to provide the helpful information. It is amazing what a well of knowledge and support this forum is. Now, to my question: Basing my deci