API for connecting  to an external database object

Hi,
Can anyone provide me with the API for connecting to the external database table and to create , update and delete data with an Oracle external database object.
Wish you great time.
Best Regards
Sid

Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
https://developer.palm.com/
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

Similar Messages

  • Create RFC for connecting BW with external database (ORACLE)

    Hello,
    I want to connect to a seperate oracle database from SAP BW system. For that i have to create a RFC.
    I hope i have to ctrate a TCP/IP connection.
    In SM59, I can see " start on explicit host " option where i have to give the program name. I dont know which program name i have to enter or from which location in sap/OS level i can find the program name.
    Please suggest the program name or the location.
    Thanks & REgards
    Prasanth

    Hi,
    Can anybody answer to my thread?
    Regards
    Prasanth

  • Connection to an external database.

    Hi we r using native sql commands and are connecting to external database. As far as I know from the discussions here i thought that these sort of connections are maintained in the table dbcon. But i don't see any entries in that table.
    WHere as i could connect to that database succesfully and getting the records.
    The table name for the external system is NOVARTIS.TABLE_ADDRESS@ANK like this.
    Where could be that settings made.

    Try this Forum Thread:-
    1. In developer server you have to configure the tnsnames.ora. For doing this you should talk with a person who knows how to configure this file. In the register you should especify: protocol, host and port to connect to the other database system.
    2. Then, you enter a register in the DBCON table. In this entrie you especify user, password, database id (in my case I wrote ORA because i am connecting to an oracle database), and in the enviroment field you write the name or alias of the register in the tnsnames.ora
    3. In the abap program you use native sql sentences for connecting to the external database. This is an example:
    EXEC SQL.
    CONNECT TO :p_conexion AS 'C1'
    ENDEXEC.
    IF SY-SUBRC EQ 0.
    EXEC SQL.
    SET CONNECTION 'C1'
    ENDEXEC.
    EXEC SQL PERFORMING save_data.
    SELECT COD_CGE, COD_SAX, TO_CHAR(FECHA,'YYYYMMDD'),
    VALOR, HORA, TIPO, PAIS, SOCIEDAD
    INTO :wa_serv_aux
    FROM TEST_TABLE
    WHERE FECHA >= TO_DATE( :W_FEC1 , 'YYYY/MM/DD')
    AND FECHA <= TO_DATE( :W_FEC2 , 'YYYY/MM/DD')
    ENDEXEC.
    EXEC SQL.
    ROLLBACK
    ENDEXEC.
    EXEC SQL.
    DISCONNECT 'C1'
    ENDEXEC.
    In the form save_data i insert the work area into the internal table.
    And that`s all. The most important thing is to configurate the tnsnames.ora file on the server side.
    <i><b>Note:- One small suggestion, Before Posting Thread in SDN, search for the related topics in SDN forums and then post your thread, it would be helpfull for everybody.</b></i>
    Regards:-
    <b>Santosh</b>
    Message was edited by: Santosh (INDIA)

  • Connecting and Updating External Database from SAP

    Connecting and Updating External Database from SAP
    How can i connect SAP Database to External database?
    How can i update external databas from SAP withouting using BI/BW, Workflow or Net Weaver?
    If anyone know please let me inform.
    Thanks in Advance.
    Jahnavee Trivedi

    Steps
    1. Create an entry in tnsnames.ora for the remote oracle DB
    2. Test sqlplus user/pass@remote 
    3. create a synonym which points to a table at remote DB check docs.oracle.com
    4. user ABAP code execute SQL to insert data into local synonym which inturn updates the remote DB.
    I have done this in the past, it works great.
    It requries, DBA skills + ABAP programming
    -AJ

  • P6 user name is not valid for connecting to the reporting database

    No data is available because your P6 user name is not valid for connecting to the reporting database
    I am getting above error in the following environment:
    P6 running on wls instance 1.
    BI Publisger running on wls instance 2
    MS SQL server 2005
    Note that the error appears when I clink on the 'Reports' tab in P6. My admin user on P6 has access to report/analyser modules.
    To connect P6 to BI Publisher I am using 'PxRptUser' in the P6 configuration for Bi Publisher. I know as well that the WSDL URL is correct and I can test this in SoapUI tool.
    In BI publisher I have created the PMDB data source using PxRprUser, and the test of this connection works.
    (Because the report samples come with Oracle flavoured SQL that SQL server does not like, I have configured BI Publisher so I have just a single report left that sources it data from an xml file. This works in BI Publisher. It also helps me in that I do not need to add 'WHERE' clauses and parameters required for SQL server?)
    Furthermore, using a DB tool, I can connect to my SQL server using PxRPTUser.
    So why do I get the error above?
    I picked up somewhere that I should not be adding users to BI Publisher. Funny enough, testing the 'login' method the BI Publisher exposes through its WSDL (as above) I noticed I HAD to create the user PxRptUser in BI publisher application itself (on top of PxRptUser in database) for the login web service to work with PxRptUser
    That did not solve the connection between P6 and BI Publisher though. What am I missing ...
    Edited by: user3674522 on 10/11/2011 20:16

    Thought I found something but can't repliacte, som issue is still there:
    Had a look at the wls instance logs where BI publisher is running, and the error I get is:
    111111_023646955][][ERROR] javax.naming.NamingException: Unresolved naming: cn=admin, dc=user, dc=users, dc=principals at [cn=admin]
    That user, admin, is the one I have used to access P6. Why is this passed on to BI Publisher? I thought the idea was that the PxRptUser set in BI Publisher configurations in P6 would be used?
    Edited by: user3674522 on 10/11/2011 20:17

  • ABAP report  from fields connecting to an external database

    Hi All,
    The requirement is to connect some GL data with external audit data which is stored in an oracle database.  These two table data has to be merged and a report has to be generated.
    I heard we could connect to the external database from the R/3 4.7 version through DBconnect.  Has anyone come across any such requirement and done a similar report, could you give me the inputs please.
    regards
    Girish

    Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
    https://developer.palm.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How can I connect to MySQL external database

    Hello.
    I have a SAP system running in SQL Server 2003.
    I need to connect to external MySQL DB., to operate with this information in ABAP program.
    I have done the step necesary... I mean I go to DBCO transaction and configure the connection like this:
    DB CONNECTION --> AFIS
    DBMS --> MSS
    user name --> xxxxxx
    DBpass -->xxxxxx / xxxxxx
    Conn Info -->MSSQL_SERVER=192.168.1.233 MSSQL_DBNAME=alliance OBJECT_SOURCE=alliance
    I do a test program, when I do the statement CONNECT TO, sy-subrc 0 and connection = DEFAULT... I mean, with this form I cannot connect to MySQL Database...
    Can you help me to do this?? I think the problem it's the connection string in DBCO... but I'm not sure...,
    Would be possible to connect by MySQL ODBC??? I mean , installing the ODBC driver in my SAP server, and using this in ABAP Program??
    Thks.
    DATA: BEGIN OF wa,
    cod_modelo(20),
    END OF wa.
    DATA: dbs TYPE dbcon-con_name.
    DATA: con(20) TYPE c.
    DATA : ls_wa LIKE wa.
    con = 'AFIS'. "DB Connection in DBCO above
    EXEC SQL.
    CONNECT TO :con
    ENDEXEC.
    WRITE sy-subrc. ---> The result it's 4
    EXEC SQL.
    GET CONNECTION :con
    ENDEXEC.
    WRITE : con. --> The result it's DEFAULT
    EXEC SQL.
    SET CONNECTION DEFAULT
    ENDEXEC.
    write : con. --> The result it's DEFAULT

    > It's for it, that when I go to DBCO... in DBMS ---... I can select Oracle, MSSQLServer, DB2... for this Databases..., exists the library (lib_dbsl)???
    yes, for all those databases exists the database interface library.
    > In resume:
    >  IT'S NOT POSSIBLE CONNECT TO MYSQL!!! ... I cannot believe it!!!...
    Well - as far as I remember there were some times ago efforts to port SAP applications to MySQL. That would explain why there's also a file "DDLMYS.TPL" created if you execute R3ldctl during a system copy - amongst DDL files for all other databases. I believe this was at the time MySQL was promoting SAPDB/MaxDB.
    MySQL is historically not a database engine for software, that requires transactional integrity; there were extensions to support that (InnoDB or others) and there was no customer demand in getting MySQL as engine for SAP applications. And only develop an interface to be able to connect to an external MySQL engine is not worth the effort.
    However, there is hope Some BusinessObjects applications also run with and against MySQL engines, depending on how the strategy to integrate those into the SAP software stack there may (or may not) be an interface for that database in the future.
    Markus

  • Connecting AIR with external database

    Is it possible to connect AIR application to the external database in MySQL technology?

    Are you trying to connect to a MySQL database on a web server somewhere? If so, by far the easiest way to do so is to use some sort of application server layer (e.g. PHP, ColdFusion, Java) on the web server, and have the AIR application call the PHP (or whatever) code to get the data. That is the approach that all the links Greg has given you are talking about.
    Of course, in order to make that work you need to know enough PHP/Java/ColdFusion to write that middle layer. In the example you're asking about, the information it wants to know is the name of the server that the MySQL database is running on, and the MySQL username and password for the MySQL account that your PHP code is supposed to use. There are tons of resources on the web for writing PHP code that accesses MySQL, so you'll find much more and better information in other places than what you'll find in the Adobe AIR forums.
    However, maybe you want to have the MySQL server running directly on the user's computer rather than on a web server somewhere. In that case you would have a few options:
    Run a web server and application server (e.g. Apache and PHP) on the user's computer and use those to connect between the AIR application and the MySQL server.
    Write Java code to communicate between the MySQL server and the AIR app, and call that code using Merapi (http://merapiproject.net/)
    Run the MySQL server on the user's computer and call the server directly from AIR using ActionScript. While there is no built-in support for MySQL in AIR, there is a third-party (open source) library for calling MySQL directly from ActionScript available here: http://code.google.com/p/assql/. I haven't tested it so I have no idea how complete it is, but it's a solution to consider.
    However, in all three cases you're depending on some external pieces that have to be installed and loaded separate from your AIR application. (For instance, most users probably don't want a MySQL server running on their computer all the time if they aren't using your AIR app all the time -- so you'd want a way to start and stop the server, which also couldn't be done directly in AIR.) People do write applications that use external resources like this, but it's not the easiest thing to implement.
    If you're really wanting to run the database locally, the best solution (assuming it works for your needs) is to use AIR's built in local SQL database engine (based on SQLite). If you've looked at that option already, and found that it doesn't work for you, I'd be interested to know more about what you're trying to accomplish that you can't accomplish with the AIR local database.

  • Adobe needs to develop an api for communicating with HTML Overlays & Indesign Objects

    I'm a front-end developer who has been assigned the task of developing one of our client's DPS every month. While I praise Adobe for saving a dying a industry and giving non-developers simple GUI controls, they need to develop an api for communicating from HTML Overlays to Indesign MSOs and other objects.
    I've had to do some intense animations/pages; which I in turn simply developed all in HTML5 and did an overlay. The time put into those pages could have been greatly reduced if their was a proper API in place to trigger different MSO and events. Is anybody at Adobe working on this? As DPS matures, and more developers are tasked with making folios it's imperative we have a proper way way to develop.

    We had a page for embedded movies in a lightbox; the client said customers were complaining that the folios were too large and took too long to download. So we switched to youtube streaming page, but they wanted a poster and autoplay enabled. If you have ever programmed with mobile video, you'll know devices are extremely difficult to manipulate.
    I had to do an html overlay with a bunch of transparent divs for hotspots and buttons. If I could have told Indesign to move different objects layer orders or go to a different MSO it would have saved me hours.
    Doesn't DPS support localstorage? Couldn't you guys whip up a little api to trigger events via localstorage?
    Off topic, another request:
    - enable the safari webkit inspector for debugging connected ipads with folios that have html overlays; you guys don't fully support HTML5 or certain js events and it's extremely annoying and difficult to debug. 

  • API for connection count?

    Hi,
    Does WLS have an API for querying the number of connections made via EJB/JMS
    (JNDI's InitialContext)? How would it work in a cluster (will I get
    connections for that box or for the cluster)?
    Thanks,
    Assaf Pazner

    Hi,
    We believe instead of using IMPORT_COUNTREQUEST API you can use a Dataload script to key in data in Physical Inventory form.
    Basically you need to populate 4 fields in this form, i.e Physical Inventory, Date, Description & Snapshot Complete (checkbox).
    Go ahead and write a Dataload script for the same.
    Regards,
    S.P DASH

  • Is there any API for connecting web server and iphone apps

    Hi,
    I have to retrieve data from Web Server and display in my iphone apps. I want to know that is there any API through which i can connect my apps to server and get data.
    One way i know that use NSURLConnection and get XML response and prase it and use it like that.
    So anyone know this?
    Thanks.

    NSURLConnection is straightforward to use. In the mobile world, and especially if you intend to use certain google APIs, I would rather tend to use JSON instead of XML. A great JSON parser for objective-c is here: http://code.google.com/p/json-framework/
    Cheers,
    Marcelo

  • ODI substition API for connected attributes

    Hi,
    Is there an ODI substitution API which tells me which columns in source table are connected to columns of target table ?
    I have a simple interface where in Table A is populated from Table B. I want to find which are the connected columns between Table B and Table A.
    Thanks.

    Hi,
    You can get use odiRef.getSrcColList for that, it takes a couple of parameters and the 3rd one is for the source columns that are mapped:
    getSrcColList( java.lang.String pStart, java.lang.String pUnMappedPattern, java.lang.String pMappedPattern, java.lang.String pSeparator, java.lang.String pEnd)
    Something like *<%=odiRef.getSrcColList("","","[COL_NAME]",", ","")%>* should return a list of all the source column names that are mapped to target columns.
    Thanks,
    Julien

  • JDBC Connection to an external Database in NW2004s !

    Hello,
    using the J2EE Server in NW2004s i'm facing some troubles in an Servlet, wich should get the connection from the J2EE Server with an jndi lookup. The JDBC driver is deployed by our hosting partner via the Visual Administrator.
    The next step was to create an datasource in the SAP NetWeaver Administrator ( Web Fronted ) and an alias to this datasource.
    The alias is "bpitrigger".
    Finally the servlet code :
    public void init() throws ServletException {
              // TODO Auto-generated method stub
              log.info("Init Methode startet.");
              log.info("Get DB Connection with JNDI Lookup.");
              DataSource ds = null;
              String contextName = "jdbc/bpitrigger";
              log.debug("Suche in Context nach " + contextName);
              try{
                   Context cont = new InitialContext();
                   ds = (DataSource) cont.lookup(contextName);
                   Connection con = ds.getConnection();
                   this.stmt = con.createStatement();
                   this.getServletContext().setAttribute("statement", stmt);
              catch(Exception e){
                   log.error("Error on DataSource. " + e.getMessage());
              log.debug("Datasource : " + ds.toString());
    The logging of the servlet is telling me, that no object with the name bpitrigger could be found.
    My question is : how can i verify in the j2ee server, that the deployed jdbc driver is working and can be referenced over the jndi context with the alias ?

    JNDI Lookup ist working.

  • What is the driver name to be given for connecting with an MSAccess database?

    I tried the 32bitODBC test on the MSAccess database. Works fine. My loaded java program trying to connect with the database is still not working. NullPointerException runtime error.
    Maybe the driver that I've loaded is wrong viz. sun.jdbc.odbc.JdbcOdbcDriver.
    What is the correct drivername to be given in class.forname("driverName")?
    Any clues?

    what u've given as the driver name is correct. The NullPointerException comes because of problems with passing parameters from the front end to the database. It's receiving null parameter values. Check the parameters u r passing to the database. I think this will solve the problem.

  • Example needed for connecting to 3 Informix databases

    I'm attempting to connect and use 2 different informix databases within the same app.
    Connection 1 (Sql selects records where status = 'pending'
    Connection 2 (Results from connection 1 are passed to a stored procedure
    Connection 3 (Updates Database used in con1 with return values from con2
    I'm able to successfully code connection 1 but I'm totally confused on the others.
    How do you switch back and forth between each connection?
    Thanks in advance
    Steve

    all you need to do is make 2 connections:
    //setup code
    Connection conn1 = DriverManager.getConnection(url, user, pass);
    Connection conn2 = DriverManager.getConnection(url2, user2, pass2);I have made a couple of classes that can simplifiy this. e.g. the entire code consists of
    dbConnection oc = new OracleConnection();
    dbConnection pc = new PostgresqlConnection();
    oc.createConnection("prodops");
    pc.createConnection("test");I havn't made an informix class, but they are simple to do. Give me your email address if you want the classes.
    Pete

Maybe you are looking for

  • Using Hotspot to link to a word document

    Hi, I was wondering does anyone know when I use a hotspot how when somebody can click on the hotspot that a word document or one alike will open once the hot spot has been clicked on. Thanks

  • A pop up comes up for Wi-Fi, but won't go away

    Hello, I was using my phone was a personal hotspot for my laptop so I could work outside, when I got a pop-up on my screen. The pop-up won't go way, I tried clicking all buttons, and forced quit all of my applications, but nothing seems to work. Plea

  • Length for objects

    length for objects: I need to know the length for naming purposes: stored procedures, functions, packages, constraints, sequences Thank you Paola @}--->----->----------

  • Creating a simple Lexical Analyzer

    Hello, I am creating a lexical analyzer in java. I want it to recognize lexemes in the data stream and then create specific tokens for each lexeme. For example ID is a token for any identifier. NUMBER is a token for any constant number. RELOP is a to

  • Running leopard & windows

    Hey! is it possible to run snow leopard and windows simultaneously (meaning, to have them both installed on one machine)?