Ansicht
Dokumentation
ABAPFREE_OBJECT - FREE OBJECT
CPI1466 during Backup Vendor Master (General Section)This documentation is copyright by SAP AG.
FREE OBJECT, OLE
FREE OBJECT ole $[NO FLUSH$].
Addition:
Effect
This statement releases the memory occupied by the object ole on the current . The automation object must have been created using the special statement CREATE OBJECT for automation objects. After the release, the object remains on the current automation server, but can no longer be processed in the ABAP program. The description of the statement CREATE OBJECT applies to the typing of ole.
When the statement FREE OBJECT is passed to the presentation layer, the entire automation queue collected using the addition NO FLUSH is passed.
System Fields
sy-subrc | Meaning |
0 | Memory released successfully. |
1 | Error in communication with SAP GUI. |
2 | Error in function call in SAP GUI. |
Note
An automation object ole created using CREATE OBJECT must also be released using FREE OBJECT to avoid memory bottlenecks and terminations of the application.
Addition
... NO FLUSH
Effect
The meaning of the addition NO FLUSH is included in the description of the statement CREATE OBJECT.
Example
Release of an Excel object.
General Material Data BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2555 Date: 20240425 Time: 191914 sap01-206 ( 37 ms )