Can I connect to SAP database directly with ODBC?

I need to read data from SAP and write them into ms sqlserver. I wrote a RFC in SAP and used VB.NET to call RFC. I wonder that the RFC efficency is very slow while reading a great lot data. RFC also cannot support complex condition string, and it cannot fetch my data flexibly.
I found that the user who was included in a user group "db<sid>adm" could connect to db2 udb with ODBC in VB6.0 or VB.NET. I also can use the SQL sentence to get data flexibly.
Please tell me whether I can use this user to read (just using select sentense) data from DB2 UDB directly, or whether I can use the newly created user to get data. Will this method cause any problem ?

> Will this method cause any problem ?
Pretty likely: yes, it will.
You may want to read this thread Retrive Data From SAP Using C Language first (and the blogs I refered to in it).
What it boils down to is: you're trying a super-low-level access to data in order to perform a high-level business data exchange.
You could as well hex-read the data files of the database or the blocks from your hard disks.
There are a bunch of options to remote access data in SAP systems and maybe your RFC can be tuned to better support your needs.
But don't move over to the 'dark side' of direct database access
regards,
Lars

Similar Messages

  • Can't connect to my database problem with listener or tnsname help urgent

    Hi here are the problems i get
    sqlplus scott/[email protected]
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 13:51:24 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Here is my config :
    ID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = CHUCKY)
    (ORACLE_HOME = /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1)
    (SID_NAME = CHUCKY)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    # tnsnames.ora Network Configuration File: /home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1//network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    CHUCKY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CHUCKY)
    (INSTANCE_NAME = CHUCKY)
    (GLOBAL_NAME = CHUCKY)
    (HS = OK)
    I can't figure out what's wrong I have created database with dbca script giving
    sid=chucky
    globaldb name = chucky.rss-global.com
    I don't know what to do
    lsnrctl services listener
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-MAR-2006 13:54:41
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.1)(PORT=1521)))
    Services Summary...
    Service "CHUCKY" has 1 instance(s).
    Instance "CHUCKY", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    Oracle is started and the listener too.What can i do?

    Ok I have changed environment rules
    [email protected]:~$ env|grep ORACLE
    ORACLE_SID=CHUCKY
    ORACLE_BASE=/home/oracle
    ORACLE_HOME=/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/
    But now even if i connect
    [email protected]:~$ sqlplus SCOTT/[email protected]
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:30:37 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    or
    [email protected]:~$ sqlplus SYS/[email protected] as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 29 15:31:15 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I am not sure but I think scott user is maybe locked by default.
    The problem to verify that is that I can't connect no more to oem, I only could the first time after creating CHUCKY database with emca .
    Connection refused, my computer doesn't make a listen on theses addresses, it only made a listen on it the first time I had created database.
    I don't know to reactivate it .
    http://localhost:5500/em
    http://localhost:1158/em
    iSQL*Plus HTTP port number =5560
    Enterprise Manager Console HTTP Port (test) = 1158
    Enterprise Manager Agent Port (test) = 3938
    Enterprise Manager Console HTTP Port (chucky) = 5500
    Enterprise Manager Agent Port (chucky) = 1830
    So I don't know exactly what the problem is oem is no more accessible so I can't change permission or reactivate scott user and it is said permissions denied when doing sqlplus as sysdba.

  • How can I connect to a database from ipaq with cldc??

    how can I connect to a database from ipaq with cldc??

    Hi Again
    There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
    http://developer.mimer.com/
    If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
    Hope this helps
    -Daur

  • Can I use I pad 2 directly with my airport express to play music through my hi fi that's connected to the airport express vis headphone jack?

    Can I use I pad 2 directly with my airport express to play music through my hi fi that's connected to the airport express vis headphone jack?

    Yes, that's one of the things airplay is for...

  • How can I connect Bluetooth in iPad retina with non apple devices ?

    How can I connect Bluetooth in iPad retina with non apple devices ?

    What devices?
    The iPad can only pair with earphones, speakers and keyboards.
    It cannot directly pair with other phones or computers for file transfer or other operations.
    Most Bluetooth devices will have a user guide to connect them to other devices. follow that to start the process.
    From the iPad side, its just a matter of going inot Settings->BlueTooth turning it on, and searching for the device to pair. 

  • Can I connect to MySQL database

    sorry for my English...
    I'm absolutely new in Flex
    can I connect to MySQL database?
    I read here that I need to create a java class file and edit
    an xml to create connection to oracle, can I connect to MySQL
    server too, I think that the PHP-XML is too slow to work with lare
    amounts of data... so can you post me MXML, the XML, and the JAVA
    class file, with I will be able to send sql to mysql server and get
    the response?
    or FDS is a stand-alone SQL server?

    Flex is not a SQL server.
    The Flex SDK and compiler supports developing applications
    that run in the Flash player.
    Flex Data Services is deployed as a Java web application that
    simplifies integrating Flex clients with Java server-side resources
    (including interacting with SQL databases via Java).
    FlexBuilder is an IDE for developing Flex apps.
    I'd recommend spending some time browsing the Flex product
    area on adobe.com.
    Best,
    Seth

  • Can I connect Azure SQL Database from Project Siena ?

    Can I connect Azure SQL Database from Project Siena ?
    I want to connect Azure SQL Database of Office 365 SharePoint's Access App from Project Siena.
    Access App's Database is Azure SQL Database.
    and can connect to Excel/PowerBI/etc.
    Access App's Database can connect from specific location / any locations.
    Access App's Database can allow read-only connection / read-write connection.
    I want to create Windows App connected to Access App's Database.
    Regards,
    Yoshihiro Kawabata.

    Hi Yoshihiro,
    Could you share more with us about the high level scenario for what you are trying to accomplish offline? We can discuss further at
    [email protected]
    Once we are done, we will definitely share our findings with the community.
    Thanks!

  • How can I connect my 3gen apple tv with HDMI to my bush LCD32TV022HD which does not have an HDMI port but does have 1)S-Video I/P, 2)Video I/P, 3) L

    How can I connect my 3gen apple tv with HDMI to my BUSH LCD32TV022HD
    This does not have an HDMI port but does have:-
    1) S-Video I/P,
    2) Video I/P,
    3) Audio Input (Left & Right)
    4) Audio In jack (for VGA and DVI source)
    5) DVI input
    6) VGA input

    Welcome to the Apple community.
    The Apple TV doesn't officially support a DVI connection, however you may be able to get it to work. You will first need to check that your TV supports either 720p or 1080p as well as HDCP. If you are able to get the video working over the DVI connection, you may also require a DAC in order to connect with Apple TV's optical audio output to the TVs audio imput.
    You may well wish to make sure that the DVI connection works before spending any money on a DAC..

  • Can not connect outside of Lan to with rtsp PVC2300

    I have the following cameras set up at my office
    1 - PVC2300
    2 - WVC54GC
    3 - AXIS 225FD
    I have a BEFSR81 Router
    I have a computer on Windows XP running the surv software to record.  Everything with that is good.
    I also have 2 desktops.
    I have been playing around with the rtsp feed with the pvc2300, but have run into a few problems.
    1(a).  I can not connect outside of the LAN with RTSP with either the VLC player or quicktime.  It connects and asks for a password and then just hangs.
    The PVC 2300 local address is 192.168.1.102 with ports 554, 5000-5010, and 6970-6999 forwarded on the router.  What am I missing?
    1(b) I can successfully connect with my blackberry bold, although when I try to change the default port (554) to something else (I would like to RTSP my the AXIS camera as well,  so I will need a different port) it connects on my bold, but then says server is unresponsive. What am I missing here?
    2.  The voice with the PVC 2300  using http outside of the LAN (internet) lags quite baddly and is choppy.  This happens without fail when I have all 4 cameras running, which I understand is upload bandwidth problem.  But it also happens when I connect to just the PVC2300.  I do have a connection to all 4 cameras inside the LAN to the XP running the surv software, but that is it. Is the my router acting buggy?  I have unplugged the router for 5 sec, and it fixed it for a while, but it always comes back.  I have donwloaded the latest firmware for the router and PVC 2300 and that didnt seem ot fix it either.  Suggestions?
    3.  This is more of a question.  I know the mobile streaming of the PVC 2300 does not include voice.  Is there an app or way that I can just get it to my Blackberry.  Even if I didnt get the video, voice is sometimes more important to me.
    I hope Ive been clear enough in my description, Im very self taught (google is amazing), but I am in no way a techy.
    Thank you in advace for your help.
    Colin

    Glad to hear you are successfully using the SWVMS16. That program is really cool and useful. I just cant tell you how that model of Linksys Router can work for you here (that is not a model we support on this community as its not small business)
    Regarding RTSP access, are you also including the mobile.sdp in the URL?
    RTSP:///mobile.sdp   I noticed in the camera GUI with the newer firmware, you can specify an access code under mobile settings after checking the enable mobile streaming box.  That word may be what you have to include, so check that too...
    Try this locally first and then remotely is the easiest way to see if you got it right, then it just becomes a routing or firewall issue to figure out.
    But your forwarded ports look right and should be opened.
    Under advanced settings, you can define an alternate HTTP, HTTPS or RTSP port

  • Can't connect macbook pro to internet with airport extreme

    Can't connect macbook pro to internet with airport extreme

    If you have ethernet still on your MBP plug it in by ethernet and tell me if that works.
    Tell me how the Airport is setup.. what broadband modem and router you have.
    What OS on the laptop? Yosemite I guess.. since it is the most troublesome.
    Did it work before whatever change was made? Has it worked in the past? When did it stop and what did you do that coincided with it stopping?
    Upgrade to Yosemite??

  • How can i connect my mac book pro with retina display 2014 Mid to 5.1 channel? what is the connector am i to use? i wonder if anybody could probably let me know?

    how can i connect my mac book pro with retina display 2014 Mid to 5.1 channel? what is the connector am i to use? i wonder if anybody could probably let me know?

    https://www.youtube.com/watch?v=72l_FLsXNAg
    I use Hercules found here http://www.hercules.com/us/Sound-Cards/bdd/p/123/gamesurround-muse-xl-pocket-lt3 /
    also read this helpful thread Outputting 5.1 Channel Surround Sound from your Mac

  • I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    Hi mshields1162,
    Great question, and welcome to Apple Support Communities.
    First, you may want to choose to have the sidebar displayed for familiarity:
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    Afterwards, your device should be displayed if connected:
    We'll want to click on it, and choose the Music tab at the top. Let's make sure "Sync Music" is checked:
    Afterwards, you'll have the option to sync either the entire music library (for your first iPod), or "Selected playlists, artists, albums, and genres" (for the secondary device). Upon selecting this option, four larger option boxes will appear allowing you to pick and choose what content will be synced. For audiobooks, you may need to do the above in the "Books" section. For a visual instruction on how to do this, see the following:
    iTunes 10: Sync to your iPod
    http://support.apple.com/kb/VI72
    Thanks,
    Matt M.

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • I can't connect to ad-hoc networks with my iPod touch 4g AND IT ****** ME OFF!! (running firmware 6.1.2) Please fix this extremely annoying issue ASAP!!

    I can't connect to ad-hoc networks with my iPod touch 4g AND IT ****** ME OFF!! (running firmware 6.1.2) Please fix this extremely annoying issue ASAP!!

    Try:
    - Powering off and then back on your router.
    - Anything else here
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • HT1212 my iphone'"s screen was smashed resulting in not able to unlock passcode and now i can't connect to itunes to synced with my divice before sending in for repair. what can i do

    my iphone's screen was smashed resulting in not able to unlock passcode and now i can't connect to itunes to synced with my divice before sending in for repair. what can i do

    Sorry, there is nothing you can do.
    FYI: Damage like that is not covered by warranty, & all Apple will offer you is an out of warranty replacement...cost, in the US, for an iPhone 4, is US $149.

Maybe you are looking for

  • Java ME 3.0 SDK Profiler - Mac OS X

    Hi, I would like to know if it's possible to profile the memory usage of an MIDP application on Mac OS X. The SDK 3.0 seems to generate only offline CPU profiling information, which isn't very interesting. I'd like to attach a profiler to monitor the

  • Way to show html code ?

    Hello, Is there a component (like richedit) to show some html code in a form ?

  • Trouble after loading the Adobe Design Suite CS5.

    I just loaded CS5 onto my MacBook Pro. Running OS 10.5.8. I have been having trouble with getting my custom workspaces to save. I get all the palletes and panels set up where I want and Save Workspace with a name. That all goes well until I shut down

  • Table to Graph - need some help.

    Hello all, Here is my issue. Imagine you have data concerning quantities of various types of fruit. In column A you have navel oranges, Valencia oranges, red delicious apples, rome apples, fuji apples, etc.. In column B you have the quantities for ea

  • File sent by bluetooth from laptop

    Hello! I sent a file (blablabla.rtf) from a laptop to my Nokia N82 by bluetooth. I get this file in my phone as a message in Inbox messages folder with Bluetooth icon. When I opened this message I see rich text instructions. Where can I find this fil