21.03.2013 Views

Object Oriented ABAP

Object Oriented ABAP

Object Oriented ABAP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

21. BI_OBJECT~RELEASE Method:<br />

The system indicates that the reference to the instance is no longer needed by using the<br />

BI_OBJECT~RELEASE method. This means we can delete the reference from instance<br />

management. Once the last reference has been deleted from instance management, the<br />

GARBAGE COLLECTOR can release the corresponding memory area.<br />

Features:<br />

If we do not need the method in our class, then we need only to carry out a “dummy”<br />

implementation (without further coding) to avoid program errors when the system calls the<br />

method.<br />

There is an implementation example in the CL_SWF_FORMABSENC demo class.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!