MS Excel, VB macro and SAP

antares63

New Member
Joined
Jan 24, 2005
Messages
14
Hi,
I need to access, via MS Excel, to a SAP Table for updating, using a macro VB.
Any idea where can I find documentation and exaples?

Any help will be appreciated.

Thanks in advance.

Giovanni
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Joe Was

MrExcel MVP
Joined
Feb 19, 2002
Messages
7,539
Not easy, SAP is not native for Excel or VBE. You will need to write custom API calls in Excel to work with the application you use to read SAP data. To navagate that application you will need to use "SendKeys" functions to get that application to display data for your VBE to pull. Each time Excel communicates with the SAP server you will need to test for connection data or use a "Wait" routine to secure communication.

This may help with the VBE part but I would look in your SAP application or other SAP support for exporting to Excel utilities!

http://www.mrexcel.com/board2/viewtopic.php?t=70710
 

Forum statistics

Threads
1,147,686
Messages
5,742,623
Members
423,744
Latest member
bkirtland

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top