cancel
Showing results for 
Search instead for 
Did you mean: 

How to Connect SAP and .NET

Former Member
0 Kudos

Hi Guru's,

I Need Your's Help,

I had one requirement to Integrate SAP to .Net In What all are the Ways it's Possible, Please Help Me and Provide me details about it. Whether it's is possible thru BAPI if it possible please provide hint's and descride it.

Awaiting to your Reply.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As mentioned above, you can use .net connector and .net web services. Or you can create your own web services in SAP.

Former Member
0 Kudos

Hi,

if you want to connect via the SAP Connector for Microsoft .NET you have to use VS 2003 since the connector is not supported in VS 2005. You can also expose BAPIs as Web Services if you are running on Application Server 6.40 or higher by using the Web Service Creation Wizard (see for more information help.sap.com). There is also a Web Service Interface in Web AS 6.20 but it is not recommended by SAP using this interface, check the SAP notes about this. You can also use BizTalk Server or XI to expose BAPIs as Web Services. With the next release of the PDK SAP will ship the Enterprise Service Explorer, a VS 2005 Add-In which allows you to browse the Enterprise Services of you SAP enviroment, SAP made presentations about the ES Explorer at SAPPHIRE Atlanta and Vienna so check the presentations from both exhibitions.

Thanks,

- Juergen

Answers (5)

Answers (5)

Former Member
0 Kudos

Adiraju,

I believe [this|http://www.softwise.com.ar/products.php] is the right toy for you to play right now. Enjoy!

(please reward point if usefull)

rudradev_devulapalli3
Active Participant
Former Member
0 Kudos

hi, I'm working with SAP and C#

Essentialy, you need use Visual Studio 2003 to create a dll (called proxy) in esence a webservice containded on a dll. After that, you can use VS2003 o VS2005 to create a winform, webform, library o webservice on that, you must use the dll generated with the VS2003 (the SAPProxy.dll).

You need 3 librarys on the client projects:

SAP.Connector

SAP.Connector.RFC

SAPProxy.dll (the name unmust be the same)

and the way to use the conector is like this:

...

private SAPConnection oSAPConnection;

private SAPProxy1 oSAPProxy;

...

this.oSAPConnection.Open();

this.oSAPProxy.Connection = this.oSAPConnection;

//here you call the bapi

this.oSAPProxy.Zrsdfr_Modif_Ped_Garan();

..

this.oSAPConnection.Close();

...

all depend how complicated is the BAPI.

You can use

https://media.sdn.sap.com/html/submitted_docs/dotnet/Programming%20with%20PDK%20for%20.NET/Connectin...

for more information.

I hope you have now a point of origin.

Former Member
0 Kudos

Hai ,

You can build a .NET project connecting to SAP by using Web Services (for newer SAP releases), by using the SAP Connector for Microsoft .NET or by using XI or BizTalk Server. Or do you want to build a BI solution based on the .NET Data Provider for NetWeaver BI and SQL Server 2005 Reporting Services? You can also use the Portal Development Kit for Microsoft .NET in order to build an iView for SAP NetWeaver Portal in .NET.

If it will help u kindly reward me points.

Nissy

Former Member
0 Kudos

i 've made a call to the url from abap program using http dispatch request,and i need to save the result which is the html code in the pdf file ..

Former Member
0 Kudos

Hi murli,

There are TWO ways you can connect SAP and .NET.

<b>1. through Web Service:</b> you can create your own web service in .NET and call BAPI's in that Web Service. OR you can create ZBAPI from BAPI in ABAP and use its URL as Web Reference in your .NET Applications.

<b>2. by Calling BAPI's :</b> this is most common method by calling BAPI's in .NET. for that you need SAP.NET connector and PDK for .NET

you can find what and how to use SAP Connector here:

https://media.sdn.sap.com/html/submitted_docs/dotnet/Programming%20with%20PDK%20for%20.NET/Connectin...

AND

https://media.sdn.sap.com/html/submitted_docs/PDK_for_dotNET_10/Getting%20Started/Overview.htm

<a href="https://media.sdn.sap.com/html/submitted_docs/dotnet/Programming%20with%20PDK%20for%20.NET/Connecting%20to%20SAP%20NetWeaver%20Systems/Using%20SAP%20.NET%20Connector.htm">here</a>

<b>

SAP connector can be downloaded from :</b> http://www.microsoft-sap.com/overview_sap_connector.html

<b>PDK .NET can be downloaded from:</b>

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/3ecbe347-0a01-0010-5897-dc8f1... [original link is broken]