Solved

Error Connecting to SAP R/3 from VB

Posted on 2006-06-12
4
581 Views
Last Modified: 2013-12-08
Hi,

I have a small VB application that connects to SAP R/3 and downloads information from the tables.
Im trying to connect to SAP GUI from VB but i get an error evrytime in doing so.~Tried using the application on my colleagues PC and it works but it doesnt work for me.

Hope you guys can help me with this as its been a whole week now and its a pain in arse.Tried Reinstalling SAP GUI as well but no use.
The version for sap GUI im using is 6.20.

Cheers
0
Comment
Question by:ammartahir1978
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
cryptosid earned 300 total points
ID: 16892064
0
 
LVL 3

Assisted Solution

by:Marcnus
Marcnus earned 200 total points
ID: 16898710
Hello,

I have had similiar problem and it was related with mapping sap ports into OS. It could be depends
on operation system you use. In MSWindows there are records in "services" file (path C:\WINDOWS\system32\drivers\etc) like:
sapdp00          3200/tcp
sapdp01          3201/tcp
sapdp02          3202/tcp
sapdp03          3203/tcp
....
Check if above is in your system. Disable all firewalls, anti virus and other security stuff on host.
Second thing is depending on communication you use. In rfc model you should have registered
program in SAP (SM59 and help.sap.come will be helpful) and that program assigned in your VB
app with SAP. If problem will stil persist please describe it much detailed eg. SAP configuration,
users and authorization, code you've written, I'll try to solve it.

Regards,
mw
0
 
LVL 5

Expert Comment

by:cryptosid
ID: 16900927
Hi,

Sorry i misread the question... can you post the error message.

Regards,
cryptosid
0
 

Author Comment

by:ammartahir1978
ID: 16901853
Hi guys thnx for your help but i got it sorted out.The problem was with the saplogon.ini file.
Cheers,
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Hello All, In previous article we used Hortonworks sandbox to work with Hadoop. Now, lets think to create own single node Hadoop on Linux. Here we Install and Configure Apache Hadoop on UI based Oracle Linux. I assume, you have VMware installe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now