The ABAP key word CALL METHOD calls the method m of the object obj. m can be a literal or a variable.
Basic form:
CALL METHOD OF obj m.Additions:
Normally, all consecutive OLE statements are buffered by the ABAP processor and sent to the presentation server in bundled form. This means that it is possible for a statement to refer to the results of preceding statements.
In debugging, however, you should remember that the values of the return parameters cannot be displayed until directly before execution of the first ABAP statement external to OLE. Even a command that refers to an object not yet generated by any OLE statement terminates the bundling.
The return code value of SY-SUBRC indicates whether all the bundled commands have been successfully executed. The return code value can be as follows:
All commands were successfully executed.
When communicating with the presentation server, a system error occurred. The field SY-MSGLI contains a short description of the error.
A method call resulted in an error.
Setting a property resulted in an error.
Reading a property resulted in an error.
In the last 3 cases, a dialog box containing an error note is displayed on the presentation server.
CALL METHOD belongs to a group of key words that allows you to process external objects with ABAP. At present, only the object model OLE2 is supported, i.e. all objects must be of type OLE2_OBJECT. This type and other necessary data are defined in the INCLUDE module OLE2INCL.
Additions
Stores the return value of the method in the variable f. The return value can also be of type OLE2_OBJECT. This addition must always come before other additions.
EXPORTING passes values of fields to the parameters of the method. p1, p2,... are either key word parameters or position parameters.
If assignment of parameters is by sequence, p1, p2,... must begin with "#", followed by the position number of the parameter. At present, only position parameters are supported.
The exporting parameters always come at the end of the statement.
The addition NO FLUSH continues the collection process, even if the next command is not an OLE statement. This means, for example, that a series of properties can be set in a loop and downloaded to the presentation server in a single transport operation.
If NO FLUSH is used, programmers must ensure that they do not rely on the contenst of return parameters that are not yet filled.
Also, all objects must be initialized in a bundle, i.e. they must be generated by an OLE call that has already been executed.
Every FREE statement always causes a download of the buffer.

Open an EXCEL file with the method 'Open':
INCLUDE OLE2INCL.
DATA EXCEL TYPE OLE2_OBJECT.
DATA WORKBOOK TYPE OLE2_OBJECT.
CREATE OBJECT EXCEL 'Excel.Application'.
CALL METHOD OF EXCEL 'WORKBOOKS' = WORKBOOK.
CALL METHOD OF WORKBOOK 'Open' EXPORTING #1 = 'C:\EX1.XLS'.
Related topics are:
SET PROPERTY, GET PROPERTY, CREATE OBJECT and FREE OBJECT.