Question:
hi!
I created a object like this:
" CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER."
but how can i set G_CUSTOM_CONTAINER initial or delete it ?
thank you!
Answer:
The container is automatically initialised when you create it. To destroy the cusom container you need to specify the LIFETIME parameter on your CREATE OBJECT G_CUSTOM_CONTAINER. F1 will give you the options as I can't remember them.
Yorkie.
_________________
Nothing ever burns down by itself, every fire needs a little bit of help.
Answer:
Read OSS note 168703 (Destructors in ABAP Objects), it's very useful note.
Incho