‎2005 Jul 18 11:17 AM
Hi All,
Can anyone tell how to use the OLE.
Please tell any links are there to study this.
Thanking you,
Deepak.
‎2005 Jul 18 11:22 AM
hi,
read the following from documentation
OLE Interface
You can use ABAP to process automation objects whose functions are available on the presentation server in the form of an OLE Automation server. Only automation objects for Windows are supported. Typical applications that offer an automation interface are Microsoft Office products Excel and Word, in which public classes and methods are found using the path Tools ¨ Macro ¨ Visual Basic Editor ¨ Object Browser.
All automation applications that can be used by ABAP are contained in the database table TOLE, which is maintained using transaction SOLE. This table contains the names of the classes and components supported by the ABAP runtime environment. It also contains type information for adapting different data formats. The automation command set consists of the following ABAP statements:
CREATE OBJECT
CALL METHOD
GET PROPERTY
SET PROPERTY
FREE OBJECT,
CREATE OBJECT and CALL METHOD should not be confounded with the ABAP Objects statements using the same syntax.
The statements of the automation command set are transferred from the ABAP runtime environment to the SAP GUI on the presentation server which is responsible for the actual communication with the automation server. The transfer is not direct, the statements are first buffered in an automation queue and transferred at once to the SAP GUI in a flush call. By default, a flush is triggered by the next ABAP statement that does not belong to the automation command set.
hope this can get you started....its quite nicely explained in the documentation....just go through it...
regards,
PJ
‎2005 Jul 18 11:28 AM
Hi Deepak,
here'S an tutorial from Serdar:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/technologies/an easy reference for ole automation.article
regards Andreas
‎2005 Jul 18 11:36 AM
Hi Deepak,
check the following links:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/technologies/an easy reference for ole automation.article
http://www.intelligent-apps.com/feature/archive/ehre.jhtml
http://www.intelligententerprise.com/channels/applications/feature/archive/ehre.jhtml
http://www.sapgenie.com/abap/code/chap2801.txt
http://www.sap-img.com/ab018.htm
Regards,
Anjali
Message was edited by: Anjali Devi