‎2008 May 21 8:49 PM
I have some code:
CREATE OBJECT manager
EXPORTING
is_object = obj
ip_no_commit = 'R'
EXCEPTIONS OTHERS = 1.
but when you leave the screen the object stays on the screen. Is there a way to delete the object int he program?
‎2008 May 21 9:02 PM
It is not possible to delete the object that you created for a class. The object is valid with in the internal session.
Destructor method is not available for external use. You may use a method just to clear off variables that you use in the class. Call the method before exiting the screen, this will clear all variables.
‎2008 May 21 8:54 PM
‎2008 May 21 9:02 PM
It is not possible to delete the object that you created for a class. The object is valid with in the internal session.
Destructor method is not available for external use. You may use a method just to clear off variables that you use in the class. Call the method before exiting the screen, this will clear all variables.
‎2008 May 21 9:03 PM
I just managed to figure it out.
CALL METHOD manager->unpublish.
‎2008 May 28 7:02 PM
Hi David,
im having the same problem
i create a dinamic ALV, with the following class.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
when i exit the screen and try to create a new one, the programs shows the same as before,
i try clear, and free, but is not working, I also triyed
CALL METHOD g_containrer->unpublish.
=(