Speedy2000


In the SQL Server Technical Article Microsoft .NET Data Provider for mySAP Business Suite is a Code example of how to invoke a BAPI in .Net Code. First line shows how to create a Connection to SAP, but there is no information in which lib the SAPConnection type is stored:

SAPConnection con = new SAPConnection("ASHOST=<SAPserver>; CLIENT=<client>;SYSNR=<sysnr>;USER=<user>;PASSWD=<password>;LANG=<logon language>");
con.Open();

Does somebody can help me



Re: How to create a SAPConnection in .Net Code with .NET Data Provider

DarrenSQLIS


Assembly Microsoft.Adapter.SAP.SAPProvider





Re: How to create a SAPConnection in .Net Code with .NET Data Provider

Speedy2000

Correct! That really helped me out! Thanks.