How to connect visual basic with sap

hi
i want to connect vb system and sap system.can any1 help me?

Hi
Using BAPIS u statrt communicating with vb or java --etc.
For example,
  U want tot connect vb .U need to use the component
SAP.BAPI.1 Component.
U design a form in vb,
Declarations:  
Public obj As Object
Public boOrder As Object
Public oHeader As Object
Public oHeaderde As Object
Public oHeaderup As Object
Public oHeaderin As Object
Public conn As Object
Public ovalues As Object
Public oReturn As Object
Public x As String
In form load event:
  Private Sub Form_Load()
On Error GoTo err1
Form_Timer
Set obj = CreateObject("SAP.BAPI.1")
Set conn = obj.connection
conn.logon
Set boOrder = obj.GetSAPObject("ZBAPISTUD(bapiname)")
Set oHeader = obj.dimas(boOrder, "ZbapiSearch(bapi method name)", "STUD")   'searching the record
Set oHeaderde = obj.dimas(boOrder, "DeleteStud", "STUD") 'deleting the record
Set oHeaderup = obj.dimas(boOrder, "ZbapiUpdate", "STUD") 'updating the record
Set oHeaderin = obj.dimas(boOrder, "CREATESTUD", "STUD") 'inserting the record
Exit Sub
err1:
  MsgBox Err.Description
  DoCmd.Close
End Sub
Every bapi is must a remote enabled fm. Every bapi method linked with a rfc fm.
If it is helpful rewards points
Regards
Pratap.M

Similar Messages

  • How to connect tibco ems with sap xi engine?

    hi friends,
    how to connect tibco ems with sap xi engine?
    plz explain me in brief. if possible plz give some link.
    thanks & regards
    Ruban

    Hi Ruban
    refr this links
    Re: XI 3.0 - Tibco integration
    <b>IBCO -> XI SCENARIO -> Web Service</b>
    http://dev.systinet.com/doc/ssc-60/primer/html/using.web.services.html
    http://www.estrategy.gov/presentations/umd_e-gov_ent_arch/sld015.htm
    General disadvantages of using web service
    http://www.samspublishing.com/articles/article.asp?p=31555&rl=1
    http://www.omg.org/news/whitepapers/CORBA_vs_SOAP1.pdf
    Replace TIBCO with XI
    Tibco & XI
    XI integration with Tibco
    <b>
    Aslo see the below links</b>
    XI Vs Tibco Vs Webmethods
    Re: Why XI ??
    Differences between Tibco BW and how to do canonical mapping in XI
    http://www.sap.com/solutions/netweaver/pdf/BWP_SB_ExchangeInfrastructure.pdf
    XI integration with PSFT/Seibel ?
    Performance statistics of SAP XI
    /thread/154189 [original link is broken]
    publish subscribe with XI
    XI in SRM, CRM, MDM
    XI implementation - xi implementation
    Thanks!!

  • 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

  • Webinar: How to implement secure scenarios with SAP NW PI 7.1

    SAP Intelligence Platform & NetWeaver RIG APJ Expert Call
    Dear valued SAP Experts,
    Next SAP Intelligence Platform & NetWeaver RIG Expert Call Session will take place on Tuesday, August 18.
    The SAP Intelligence Platform & NetWeaver RIG Expert Call Sessions are designed to support consultants, partners and customers  during their implementation projects. The sessions cover all different aspects of SAP NetWeaver and are aimed at
    thus provide knowledge which is not available via standard training courses. The session duration is typically 60min and includes questions and answers.
    Tuesday, August 18, 2009:
    How to implement secure scenarios with SAP NetWeaver Process Integration 7.1
    Time: 2.00 - 3.00 p.m. Singapore Time (UTC +8)
    This event will feature Makoto Sugishita with the SAP Intelligence Platform & NetWeaver Regional Implementation Group.
    Makoto provides the following abstract:
    In this session you will learn more about the core security concepts that are provided with the service-oriented architecture (SOA)
    management capabilities in SAP NetWeaver Process Integration (SAP NetWeaver PI). This session will cover main use cases and
    supported scenarios of secure SAP NetWeaver PI deployments. 
    SAP Connect Link: https://sap.emea.pgiconnect.com/I016095
    (no passcode needed)
    Dial in:
    For dial in details please register here http://www.surveymonkey.com/s.aspx?sm=EFeuZl9PxrwKOW5i5W556g_3d_3d
    Kind regards,
    Sarma Sishta
    SAP Intelligence Platform & NetWeaver RIG APJ

    hi,
    I'm making this a sticky thread till August 18 so it will have better visibility
    Regards,
    Michal Krawczyk

  • How to connect my ipad with mac using bluetooth?

    how to connect my ipad with mac using bluetooth?

    You can't so quit trying. Take a look at this to see what is supported with regard to Bluetooth connections in iOS.
    iOS: Supported Bluetooth profiles

  • How to connect my Macbook with an ipad mini in order to have an access to the internet on my iPad?

    Dear fellows, I am having a trouble in how to connect my mac with an iPad mini in order to have an access to the internet.

    If you are attempting to share your iPad mini's cellular data connection with the MacBook, please check out the following Apple Support article for additional details on how to do so.

  • HT1695 How to connect my iPhone with the printers at school? Many thanks

    How to connect my iPhone with the printers at school? Many thanks

    They must be Airprint capable printers... if they are not, then there is no supported way of connecting to them.
    Airprint 101

  • How to connect Apple TV with an iPad ?

    How to connect Apple TV with iPad ?

    Welcome to the Apple Community.
    Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices.

  • I am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    i am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    You do not need the Setup Assistant; in fact, you do not need any software on an external hard drive. I have two LaCie's; I erased the drive as soon as I plugged it in. You will need to format it anyway because most hard drives come Windows formatted. So, if you only want to use it with the Mac, highlight it in Disk Utility and choose Mac OS Extended (Journaled) as the format and the GUID Partition scheme under Options. While doing that, it will erase the drive (and get rid of the LaCie software) - once finished, your drive is ready to use for Time Machine or any other backup plans you have for it.

  • How to synchronize Outlook 2010 with SAP Calendar

    Hello colleagues,
    How to synchronize Outlook 2010 with SAP Calendar??
    Thanks

    Install MfE (Mail for Exchange), then follow this: http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=147951
    You can sync your mail, contacts and calendar with Google Sync. Tasks and notes are not supported. (Notes syncing is not possible with MfE anyway.)

  • I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705. E

    I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705.
    Everytime I restart the computer now I get a open with window.
    When I select Notepad and open it I get
    0x54c  Noswal\.android\adb_usb.******
    How do i undo that.
    If it helps the Article ID:474705 this says at one point
    3. Open a shell prompt and enter the following command: echo "0x54c" >> $HOME/.android/adb_usb.******.
    I gues that's what's creating the problem.
    Please help.

    Hi elishacuthbert.
    Try disabling the start-up items in your computer to troubleshoot the issue. Follow the steps mentioned below:
    Right click on the Taskbar > Task Manager > Start-up > Select the applications > Disable.
    Note: If my post answers your question, please mark it as an "Accepted Solution."

  • How to connect excelsius dashboard with webservice

    Hello Experts,
    how to connect excelsius dashboard with webservice for query. Can any one tell me step by step?
    Thanks

    please check this
    unable to use web services
    good luck

  • How to connect Toshiba TL838 with facebook profile?

    How to connect Toshiba TL838 with facebook profile?
    When i try to connect toshiba generate email with info and links to connect accounts facebook with toshiba places but when i click links i see only errors.
    _*EDIT*_
    *Ok i flashed QR code with my phone and is connecter now :)*
    Moderators please close thead
    Message was edited by: junioreks

    >Ok i flashed QR code with my phone and is connecter now :)
    Thanks for sharing!

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

Maybe you are looking for

  • Issue in Pricing

    Hi All, We have an issue is we have created a credit memo with ref to the invoice, and Discount condition type has the value in the credit memo request. While creating the Creditmemo invoice Discount condition type is missing in the invoice means it

  • Cannot Uninstall, Install, or use

    Ran the auto update, and now got the following message: "The Older version of apple software update cannot be removed. Contact your technical support group." I have tried just about everything listed in the forums, with no success. Windows will not u

  • Quick Edit Columns Grayed Out, Unable to Edit Data

    I have a custom list that i want to edit using quick edit. some of the columns are editiable in quick edit mode but many are not. the column type is Multiple lines of text and when i click on it the column is grayed out and cannot be edited. any advi

  • Hot Backup Of Database

    How much time would oracle take if I take Hot Backup (using Imp/Exp statement) of a 60 GB database? Are there some other ways also of taking Hot BackUp ? How much would it effect oracle's performance while backup is taking place as the database is 24

  • Is it dangerous to use the iphone 4 without the earpiece grill?

    Is it dangerous to use the iphone 4 without the earpiece grill/mesh on it? I heard it serves radiation cover and now I am worried about using it or holding it close to my ear. I had my screen replaced but the grill insert is missing as it was lost wh