Solved

Error Connecting to SAP R/3 from VB

Posted on 2006-06-12
4
583 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When CRM stops functioning propperly or mysteriously disappears then this is something you should always check. This can be useful when looking at an end users machine or your own machine if you are the end user. It may be fairly obvious to some but…
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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