How to connect external database(Ex:SQL Server/Tivoli)  from ABAP Webdynpro

Hi,
Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
Please point to me some links if you have
Thanks
Praveen

Hi,
Please check out this link -
FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
Regards,
Lekha.

Similar Messages

  • How to create a database in Sql server management studio

    how to create a database in Sql server management studio

    One method is to run the SQL statement below from a SSMS query window:
    CREATE DATABASE MyDatabase;
    You can also right-click on the Databases node in SSMS Object explorer and select New Database.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How to create a database in SQL Server Express 2014 to be used with LV Database Toolkit

    I use LV Database Toolkit, which by default uses Jet database. Now I want to use SQL database with LV Database Toolkit. I have downloaded and installed "SQL Server 2014 Express with Tools" in my Labview Laptop. Now I want to create a database in SQL Server, because I think it is a requirement for creating a "udl connection file" (*.udl file). Please help me!
    Solved!
    Go to Solution.

    I made a database whose path is: C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\depot1
    I tried to make .udl connection file, but when I click on "test connection" with the provider: "OLEDB Provider for Microsoft SQL Server" I get the Error "UDL Connection File Failure" (attached below)
    When I tried to make the .udl connection file with the provider "Microsoft SQL native Client 11.0" and when I click on "Test Connection" I get the Error" UDL Native Client_1"& " UDL Native Client_2".
    Please help!
    Thanks!
    Attachments:
    UDL Connection File Failure.png ‏78 KB
    UDL with Native Client_1.png ‏702 KB
    UDL with Native Client_2.png ‏714 KB

  • How to connect musicdb to Microsoft SQL Server

    hi..
    i have tried musicdb example with mysql, but i need to connect it to SQL Server.
    i have created a similar DB in SQL SERVER, however i am not able to create a user, similar to musicdbuser and musicdbpass in SQL SERVER.
    Also in the Administrator console i followed these steps.
    1. Applications->web Applications->deployed the war file-> OK
    2.Resources->JDBC->Connection Pool->New->Name ='musicdb-jdbc-pool-SQLserver'->Resource Type='javax.sql.Datasource'->Database Vendor='Microsoft SQL SERVER'-> Next
    added properties Values
    databaseName musicdb(this is the database i created in MS SQL SERVER)
    databaseSourceName musicdb(this is the DSN name i created in control panel->ODBC connections)
    networkProtocol TCP
    user sa (this is the username that i use to start SQL SERVER)
    password syntel123$ (this is the password that i use with the above user )
    portNumber 1443
    serverName localhost
    then i click finish.
    if i say ping to this connection , i get success!!
    3. then i goto resources->jdbc->jdbc resources->new->JNDI Name="jdbc/musicdb"->pool name="musicdb-jdbc-pool-SQLserver'"->ok
    4. Then i click resources->connectors->connector connection pool->new->Name="mep/musicdb"->resource adapter="ds-jcr-connector-jaxrs"->next->finish
    5 Then i click resources->connector resources->new->JNDI name="mep/musicdb"->pool="mep/musicdb"->ok
    however when i hit the URL http://localhost:8080/musicdb/resources/albums
    i get the following error
    type : Exception report
    message
    description: The server encountered an internal error () that prevented it from fulfilling this request.
    exception: javax.servlet.ServletException: com.sun.jersey.api.container.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPool
    root cause: com.sun.jersey.api.container.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPool
    root cause: java.lang.NoClassDefFoundError: Could not initialize class com.sun.mep.ws.vtms.util.ConnectionPool

    Hi,
    I was able to create a JDBC connection pool for SQL Server successfully and will share the key steps, and was able to create a MEP user with an ECBO connection configured for the SQL Server; However, it looks like there is a "false positive" problem. Even though the user was created with the SQL Server connector whose associated JDBC connection pool passed the Ping test, doing a sync as that user changed the MySQL database album table and not the SQL Sever album table. MEP didn't give any error at all. I will bring this up with our engineers.
    Here are the steps for at least getting GF JDBC connections with SQL Server working.
    1. With MS SQL Sever 2005 Server Management Studio,
    created a 'musicdb' database, a 'musicdbuser' user with password 'musicdbpass',
    and added the 'album' table with
    name (varchar(30) primary key, not null)
    artist (varchar(30), not null)
    date_published (datetime, not null)
    rating (int, not null)
    username (varchar(30), not null)
    2. With MS SQLServer Configuration Manager, enable TCP/IP on static IP address
    and 127.0.0.1 on port 1433 and restarted the SQL Server service
    3. Downloaded Microsoft's 2.0 Driver for SQL Server 2005
    4. Copied the driver sqljdbc4.jar to GF_HOME/domains/mep/lib/ext
    5. Restarted GF
    6. Login to GF Admin Console
    7. Create Resources -> JDBC -> Connection Pool
    name: musicdb_pool_sqlserver
    resource type: javax.sql.DataSource
    datasource class: com.microsoft.sqlserver.jdbc.SQLServerDataSource
    8. Create Resources -> JDBC -> Resource
    name jdbc/musicdb_sqlserver
    9. Go back to musicdb_pool_sqlserver and click Additional Properties then add
    user: musicdbuser
    password: musicdbpass
    serverName=localhost
    portNumber=1433
    databaseName=musicdb
    10. Click General tab and click Ping. Get Success!

  • How to convert Oracle database to Sql server Database

    Hi All,
    I have one database made in the Oracle 8i, i want to convert that database to Sql Server Database,
    Can anyone please give me the step by step process to do this conversion.
    Regards
    Ramesh Jha

    Try using the DTS (data transformation services) services of SQL Server 2000
    DTS is based on an OLE DB architecture that allows you to copy and transform data from a variety of data sources. For example: Oracle directly, using native OLE DB providers.
    Alternatively, you could follow the following broad steps for data migration (assuming you are retaining the same table structures in SQL Server, and that you are talking about SQL Server 2000).
    1. Get the CREATE scripts corresponding to each Oracle table / view / index. These can be reverse engineered from the database using a tool.
    2. Map Oracle datatypes to SQL server datatypes e.g: date maps to datetime/smalldatetime, numeric maps to one of int, bigint, smallint, etc depending on the range of values in the CREATE scripts.
    3. Indexes in SQL Server are of two types: Clustered / non-clustered. There can only be one clustered index on each table.
    4. Converting procedures and triggers will have to be line by line, since SQL Server uses a proprietary T-SQL instead of ORacle's PL/SQL
    I have yet to see a really good tool to do this migration, but it is possible to write a PL/SQL procedure / Pro*C program to automate the script creation for creating tables in the SQL Server database.
    For the actual data import into SQL Server, export the Oracle data table by table into flat files, and then use the import wizard of SQL Server enterprise manager

  • How to connect java project to sql server 2008 r2 database

    i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
    suggest me the step by step procedure to establish the connection

    Hi ENG,
    To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
    here.
    After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
    Test establishing a connection with the below Java Class.
    import java.sql.*;
    public class Test {
    public static void main(String[] srg) {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
    String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
    String userName = "sa"; //user name
    String userPwd = "123456"; //password
    Connection dbConn;
    try {
    Class.forName(driverName);
    dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
    System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
    } catch (Exception e) {
    e.printStackTrace();
    A demonstration video from Youtube for you reference.
    Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
    Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Not able to connect to database(MS SQL Server 2000) through JSTL tag

    Hi,
    I just want to retrieve some data from the database through a JSP page.I am using JSTL tags the code is as shown below. Whenever i execute this code i get an error message like this
    My Code:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql_rt" %>
    <sql:setDataSource var="datasource"
    driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:mssqlserver:sqlserver://SYS57:1433;DatabaseName= sree"
         user=" "
         password=" "/>
    <sql:query var="res" dataSource="${datasource}">
    SELECT * FROM books
    </sql:query>
    <html>
      <head>
        <title>A First JSP Database</title>
      </head>
      <body>
        <table border="1">
          <tr>
            <td>id</td><td>title</td><td>price</td>
          </tr>
          <c:forEach items="${res.rows}" var="row">
          <tr>
            <td><c:out value="${row.id}" /></td>
            <td><c:out value="${row.name}" /></td>
            <td><c:out value="${row.author}" /></td>
          </tr>
          </c:forEach>
        </table>
      </body>
    </html>error is this:
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "No suitable driver"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.firstdb_jsp._jspService(org.apache.jsp.firstdb_jsp:93)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "No suitable driver"
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:308)
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:192)
         org.apache.jsp.firstdb_jsp._jspx_meth_sql_query_0(org.apache.jsp.firstdb_jsp:132)
         org.apache.jsp.firstdb_jsp._jspService(org.apache.jsp.firstdb_jsp:68)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)I am not clear with url attribute of setDatasource tag... I feel the error is because of that line only..... Kindly tell me how to specify the jdbc URL for MS SQL Server 2000 while using JSTL tags for connection.
    Thanks,
    Akshatha

    unable to rectify the error........ tried lot but all in vain...still trying........
    my current code is:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql_rt" %>
    <sql:setDataSource var="datasource" driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://SYS57:1433;databaseName=sree" user="sa"
             password="dfgdfg"/>
    <sql:query var="res" dataSource="${datasource}">
      SELECT * FROM books
    </sql:query>
    <html>
      <head>
        <title>A First JSP Database</title>
      </head>
      <body>
        <table border="1">
          <tr>
            <td>id</td><td>title</td><td>price</td>
          </tr>
          <c:forEach items="${res.rows}" var="row">
          <tr>
            <td><c:out value="${row.id}" /></td>
            <td><c:out value="${row.name}" /></td>
            <td><c:out value="${row.author}" /></td>
          </tr>
          </c:forEach>
        </table>
      </body>
    </html>Thanks,
    Akshatha

  • How to install CMS database on Sql Server

    Hi
    Now I am installing Crystal Reports Server 2008, current environment is windows server 2003 + Sql Server 2005.
    During the installing, because I want to use Sql Server 2005, so I picked "use a existing database server", however when I get into "select existing cms database" step, and selected "Sql Server(ODBC)" there is nothing show on the ODBC(DSN) list, I have already create a new ODBC on Data Sources(ODBC),  when I click "browse" I can not find any data source, so that is mean I have to install a new mysql database in my server, but I don't want to, I just want to use the Sql Server, could you tell me why or how to do it?
    Thanks in advance.

    If you select SQL Server as your CMS database make sure that the datasource you created is a Machine DSN and not a User DSN.  Make sure that you have created a blank SQL Server database and have your Machine DSN point to it.
    I hope that helps

  • How to connect external database into BI source system?

    <Moderator Message: Please search before posting. This issue has already been discussed a lot of times. Additionally you might have a look at the online help>
    Dear SDN,
    I am working on BI 7.0 system.
    Client request is to connect the external database into source system.
    External database (different server) has installed the Sybase database.
    1.Is it possible ?
    2.What is the procedure for connectivity from BI end .
    3. which server port of external database(sybase databse) need tobe open for firewall policy.
    Thanks in advance
    Ravi
    Edited by: Siegfried Szameitat on Mar 9, 2009 1:23 PM

    Hi Ravindra,
                    Check here........
    <link farm removed by moderator>
    Thanks,
    Vijay.
    Edited by: vijay m on Mar 9, 2009 5:43 PM
    Edited by: Siegfried Szameitat on Mar 9, 2009 1:23 PM

  • Can't connect Azure Database in SQL Server

    Hi,
    I completed setting up the database and server on Azure, but when i tried to connect it using SQL Server 2012. I got an error.
    TITLE: Connect to Server
    Cannot connect to tcp:*******.database.windows.net,1433.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476
    No connection could be made because the target machine actively refused it
    My IP was already added in Azure.
    I also checked that the TCP/IP was enabled on Configuration Manager.
    Any thoughts?
    Thanks!!

    Hi Aaron,
    If you are trying to manage your database through SSMS - make sure that the TCP/IP protocol is enabled.
    1) SQL server configuration manager
    2) In 'SQL server Network configuration'
    3) Enable TCP/IP
    Also try connecting your database through the web based sql azure management studio.
    http://msdn.microsoft.com/en-us/library/azure/ee336282.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/2151.azure-and-sql-database-tutorials-tutorial-2-using-sql-database.aspx
    Girish Prajwal

  • How to connect Java and Microsoft SQL Server 2000

    hi,
    could anyone please teach me how to connect Java and SQL Sever 2000?? if possible could you guys provide me with an example??? i could hardly find any relevant resources about it...
    Thanks ~!

    thanks for the information...
    by the way hv any working module on it?? i'm new to
    both Java and Microsoft SQL Server... Thanks againFirst things first... you should read this:
    http://java.sun.com/docs/books/tutorial/jdbc/
    This is microsofts official JDBC Driver: http://www.microsoft.com/sql/downloads/jdbcregister.asp
    Install it and the documentation has some usage examples

  • Index and Crawl an external database (MS SQL SERVER 2000)

    Hello everyone....
    What I need is to search with TREX some data that is in a table on an instance of a SQL Server 2000, the thing is I know how to retrieve data on code.. but I do not know how to make an index to crawl that content.
    Does anyone know how to make an index that its data source is a database?
    Thanks a lot....
    Manuel Arenas

    unable to rectify the error........ tried lot but all in vain...still trying........
    my current code is:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql_rt" %>
    <sql:setDataSource var="datasource" driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://SYS57:1433;databaseName=sree" user="sa"
             password="dfgdfg"/>
    <sql:query var="res" dataSource="${datasource}">
      SELECT * FROM books
    </sql:query>
    <html>
      <head>
        <title>A First JSP Database</title>
      </head>
      <body>
        <table border="1">
          <tr>
            <td>id</td><td>title</td><td>price</td>
          </tr>
          <c:forEach items="${res.rows}" var="row">
          <tr>
            <td><c:out value="${row.id}" /></td>
            <td><c:out value="${row.name}" /></td>
            <td><c:out value="${row.author}" /></td>
          </tr>
          </c:forEach>
        </table>
      </body>
    </html>Thanks,
    Akshatha

  • How to connect to remote MS SQL Server?

    I use:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:iweb",userid,passwd);
    to connect to my "iweb" database on MS SQL Server running locally. Works great.
    But now I want to connect to this same database that is now running on a remote MS SQL Server
    on port 1433 of a machine with IP address 123.456.789.123.
    What is the magic incantation to make this happen? I have been trying variations of:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String conString = "jdbc:odbc:DRIVER={SQL Server};SERVER=123.456.789.123:1433;"
    + "DATABASE=iweb;UID=" userid ";PWD=" passwd ";";
    Connection con = DriverManager.getConnection(conString);
    but no joy. Any help would be greatly appreciated. Surely this is a common problem
    but I'm having a heck of a time finding helpful docs that spell it out.
    -Dave Maffitt [email protected]

    Configuring a local DSN to point to the remote server is a good solution, but, I am still puzzled by something. On page 216 of Core Java 2, Volume 2, Advanced Features, there is an example of a database URL using a network address as part of the value. The example reads in part:
    For example: jdbc:odbc://whitehouse.gov:5000/CATS;PWD=Hillary
    would connect to the CATS database on port 5000 of whitehouse.gov using ODBC attribute value of PWD set to "Hillary".
    This example is what lead me to believe that I might be able to connect to a remote Data Source if I had the right syntax in the URL. My attempts at duplicating this example with my own MS SQL Server 7.0 database are failing. Have you tried this with any success?

  • How to connect external database with SAP

    Hi,
    How to get the data from an external database into SAP by directly linking the SAP Program to the external database.
    Regards
    Guhapriyan

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
    This might help,
    Regards,
    Gaurav

  • How to load data to a SQL Server 2000 from a text file ( fixed / delimited)

    I am a navie user to ODI, just installed some time back. And I wanted to load text data ina file ( fixed length/ delimited ) to SQL server 2000 database.
    Iam intrested to know the steps I need to take to achieve this. I mean for example first creating topology,next designer..
    Could you please provide some books/articles or any documents that talt about these steps clearly one-by-one.

    Hi,
    Oracle Data Integrator - Getting Started with an ETL Project
    follow this manuel step by step and you will be able to load data from file to any database...

Maybe you are looking for

  • How do I create a new Sharepoint site at Home to connect with our own Website?

    How do I connect our website with our home computer. I am not linked with a company server site - just what has been created with the website, so how do I connect to a server or that server; know the server details and how can I link my Sharepoint wi

  • Getting Error while Changing the status of Batch

    Hi , For Reverting back from Completed to WIP i am using gme_api_pub.uncertify_batch API, but getting the following error. I am passing batch_id to the API but unalbe to solve the issue. x return status: E msg count 2 is : 1 err msg 1is: No keys spec

  • IPhone 4 won't turn on. It's fairly new

    IPhone 4 fully charged apparently shut itself off in middle of the night & now it won't turn on.  How do I fix it?

  • My MBP randomly shuts down after I turn it on.

    After I turn on my macbook pro, a few minutes later it shuts itself down and restarts. This happens every time I turn it on. I've tried plugging it in because I thought it might be the battery, but the same thing happens. My MBP is a mid-2010 13 in.

  • Flash and Reader

    I have Windows XP 1. My programs (in the 'add/remove programs' area of the computer) show that I have Adobe Flash 10 ActiveX.  But the size of program is blank. Could it be that I have it downloaded and not properly installed. Also is Adobe Flash 10