Use this method to delete the node node_key from the tree. If the node is a folder, all of its child nodes will be deleted as well.
Syntax
CALL METHOD tree->delete_node EXPORTING node_key = node_key EXCEPTIONS failed = 1 node_not_found = 2 cntl_system_error = 3.
Parameters |
Description |
---|---|
node_key |
Node you want to delete. The parameter is defined with reference to type tv_nodekey. |