Show TOC

collapse_nodesLocate this document in the navigation structure

Use this method to close all the folders specified in the node table.

CALL METHOD tree->collapse_nodes
        EXPORTING node_key_table        = node_key_table
        EXCEPTIONS failed               = 1
                cntl_system_error       = 2
                error_in_node_key_table = 3
                dp_error                = 4.
         

Parameters

Description

node_key_table

Node table containing the folders you want to close.

Declare the node table with reference to the type treev_nks .