Solved

Error Connecting to SAP R/3 from VB

Posted on 2006-06-12
4
585 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Full list of TCodes in SAP ABAP 2 205
Copying Internal Tables in ABAP 2 164
randomize a list of search results 4 140
Windows 10 Ripping the .wim file 15 177
If you have problems displaying reports in CRM after a new installation, review the following steps: Check that SQL Server Reporting Services is working On the server that has SQL Server Reporting Services (SQL SRS) installed, check that the S…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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