Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Object Link Enabling (OLE)...........

Former Member
0 Likes
1,141

Hi All,

Can anyone tell how to use the OLE.

Please tell any links are there to study this.

Thanking you,

Deepak.

3 REPLIES 3
Read only

Former Member
0 Likes
624

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

Read only

andreas_mann3
Active Contributor
0 Likes
624

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