English 中文(简体)
ASP.NET and SAP integration
原标题:

Hai guys,

Has anyone had an experience integrating ASP.NET application with SAP? If yes, I would like to hear about those experiences.

最佳回答

Yes, I have been involved in a project in which a public facing asp.net website integrates with a SAP CRM and ECC back end. You can integrate in a couple of ways.

  1. Using the SAP .NET Connector to call SAP RFCs or SOAP services. This is a SAP add on for Visual Studio 2003. Unfortunatlely it does not work with VS 2005 or 2008 and probably not 2010 and as far as i m aware it is unlikely to ever do so. However there is a work around. You can use VS 2003 with the SAP .NET Connector to generate the proxy classes to interface this SAP and wrap these in a class library. The class library can then be referenced by any edition of Visual Studio.

  2. Use the SAP Web Service tool to create web services which you can consume from your .NET project. SAP is leaning towards web services as the preferred method of integration. There is a SAP web service explorer add on for more recent version of Visual Studio which I believe allows you to browse and consume existing web services although I have no experience of using this as our version of SAP is not current enough.

Difficult aspects will be understanding enough of SAP s BOL (Business Object Layer) to create the services you need and transporting them between environments. Ideally you will need access to an analyst to at least help with this or have them create these for you. Another thing to look out for is the existence and version of certain System32 dlls. I think in particular the librfc32.dll, msvrp71.dll and msvcr71.dll.
Also permissions can be a bit of a pain with SAP along with generic unhelpful error messages.

问题回答

A third option would be to use a 3rd party tool such as this one: http://www.aconcaguait.com/components.php to maintain the previous approach of integration, not using web services and compatible with previous (older) R/3 versions.

The Visual Studio 2010 version seems to be available in the near future.

I m not sure about final speeds of these approaches. Did anyone compare them with SAP Web Services?

Thanks,

Gil

I am pretty much agree with solution provided by Andy Rose, I had used the first approach by using Dot Net connector by Theobold software. We made a Dot Net windows service which was using Dot Net connector to call SAP R3 functions. We are provided different R3 functions for different points of integration. In some functions we are getting data from SAP, while in some we are passing transactions to SAP.

So its our dot net service which was acting as an interface between our dot net application and SAP.

Few years latter when I was doing a case study for another SAP dot net integration project, that s when I discovered that is possible through web services being exposed by SAP, and which is much easier than doing it through dot net connector.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签