on 03-21-2012 12:49 PM
Hello Guys,
I am new to SAP, and i have one project where i have to extract the data from SAP Tables to SQL using C#.net.
I have tried to find a sample code to extract the data from SAP table using .Net Connector 3.0, but was not able to find so. Can any one help me in this regards.
Looking forward for a help.
Thanks
Snehal
The primary method of interaction with SAP using the NCo is through remote-enabled RFC function modules/BAPIs. If you want to pull data from an SAP table, you can look for a standard SAP BAPI that delivers this data or write your own function module that exports the data you need..
Example using BAPI_COMPANY_DETAIL can be found here: http://scn.sap.com/people/thomas.weiss/blog/2011/01/14/a-spotlight-on-the-new-net-connector-30
(VB.NET translation here: http://scn.sap.com/thread/1870950)
You should be able to use this code and tweak it a little to extract pretty much any data you want to. You're only limited by having a remote function module that provides the data you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.