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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

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
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,589
Messages
5,765,320
Members
425,273
Latest member
tonio909

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