问题
I am on the verge of getting a ASP.NET project which will integrate with SAP. I am a .net programmer i don't know any thing about SAP. Now one of our client has a SAP system .. and I need to build an website which will have a normal database(like sql sever 2008) and it also need to interact with the existing SAP system of that company. Now my query is what things i need to know to approach this thing. I heard about SAP.NET Connector ... how can i download it? i dont thing it's free i should have SAP password for that. what else i need?? I need some info about this ....
Thanks in advance ....
回答1:
You basically have two options:
- Use the official SAP.NET connector. You might be able to get it through your customer.
- Use ERPConnect. We are using this software in one of our projects and it is working flawlessly, even with high throughput.
回答2:
I had to do it a few year ago, Is not as straith-forward as It would be to connect to other data sources like oracle for example. You will need a special kind of autorization to do it (called S-Number).
Take a look at this.
Also, this question on SO has a small discussion on the matter
Good luck
回答3:
Using SAP.NET is good option only in case you have all the APIs already available on SAP system as so called RFCs. If this is not the case, even for SAP.NET you need to get some SAP programming knowledge (ABAP) and develop some RFC functions, or you need someone to do this for you.
See more about RFC functions here: http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
And if you already do some backend development on SAP side, and your Netweveaver release is not too historic (let say 7.00 or better), I would strongly recommend to generate web services out of these RFCs (can be done with 3-4 clicks) and then call them as regular SOAP services.
How to turn RFC into web service: http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
How to enable web service and create consumable end-point: http://help.sap.com/saphelp_nw70/helpdata/en/47/3971ff39591a53e10000000a1553f7/frameset.htm
This way all the special stuff stays on SAP system and your .NET solution will rely only on standard stuff and your .NET knowledge.
来源:https://stackoverflow.com/questions/12616961/integrating-sap-in-asp-net-project