Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

C Sharp and Sap Scripting

Former Member
0 Likes
456

Hello, I'm trying to create some code to connect c sharp to SAP.

I have some code in excel but I don't know how to translate it, example:

...

Set objBAPI = CreateObject("SAP.Functions")

set objConnection = objBAPI.Connection

...

I can't find the way to find the SAP namespace.

Anyone can help me?

TIA

2 REPLIES 2
Read only

Former Member
0 Likes
396

Hi

Please refer to following links it comprises of How to make an RFC call to the SAP R/3 System. Especially the example shows how to call the RFC_READ_TABLE function module to read from any table within your SAP system

http://www.codeproject.com/dotnet/SapDBReader.asp?df=100&forumid=25000&exp=0&select=1390519

also the foll links.

http://www.microsoft.com/interop/resources/sap.mspx

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/12f6d390-0201-0010-e18d-cdb...

Please do reward if it helps.

Read only

Peter_Inotai
Active Contributor
0 Likes
396

You might try the .NET forum:

/community [original link is broken]

You can also search in SDN with keyword ".NET" to find some detailed docunetation.

You can also check http://service.sap.com/connectors "SAP connector for Microsoft .NET".

Peter