Use this method to destroy a custom control at the frontend. Once you have called this method, you should also initialize the object reference (
FREE my_control ).CALL METHOD my_control->free
EXCEPTIONS cntl_error = 1
cntl_system_error = 2.