Show TOC

collapse_subtreeLocate this document in the navigation structure

Use this method to close a specified folder.

CALL METHOD tree->collapse_subtree
        EXPORTING node_key      = node_key
        EXCEPTIONS failed       = 1
                node_not_found  = 2
                cntl_system_error = 3.
         

Parameters

Description

node_key

Folder you want to close.

The parameter is defined with reference to type tv_nodekey .