FREE - Release memory occupied by an external object
Basic form
FREE OBJECT obj.Effect
Releases the memory needed for object obj . The object cannot be processed afterwards.The return code value is set as follows:
SY-SUBRC = 0 Object was released successfully.
SY-SUBRC = 1 Error during communication with SAPGUI .
SY-SUBRC = 2 Error during function call in SAPGUI .
The OLE function modules are only implemented in Windows.
FREE OBJECT
Example
Release an EXCEL object:- INCLUDE OLE2INCL. DATA EXCEL TYPE OLE2_OBJECT. CREATE OBJECT EXCEL 'Excel.Application'. FREE OBJECT EXCEL.
Index
© SAP AG 1996
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.