?
Solved

Error Connecting to SAP R/3 from VB

Posted on 2006-06-12
4
Medium Priority
?
589 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 900 total points
ID: 16892064
0
 
LVL 3

Assisted Solution

by:Marcnus
Marcnus earned 600 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 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