In reading your response to a previous question about OLE being "notoriously difficult to use". I have a requirement...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
to call a DLL from SAP and send information to this VB program vie calling the DLL. I was told using OLE was a very simple way to do this. Unfortunately I do not know how to accomplish this. In your opinion would this be a "simple solution"? Would OLE be a good way to accomplish this?
With regards to my comment, I was thinking of interfacing using OLE to Excel and Word. To see how OLE can be implemented, look at the code behind transaction OLE. Also, look at the the help for the ABAP statements CREATE OBJECT, SET PROPERTY and CALL METHOD. For myself, to call a DLL, I'd use the SAP DCOM connector, COM4ABAP. This is part of the SAPGUI installation from 4.5B, but can be downloaded seperately. I can confirm it works on 31I.
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.