Start of Content Area

Syntax documentationget_selected_item  Locate the document in its SAP Library structure

This method returns a selected item and its node.

CALL METHOD tree->get_selected_item
     IMPORTING  node_key  = node_key
                item_name = item_name
     EXCEPTIONS failed             = 1
                cntl_system_error  = 2
                no_item_selection  = 3.

Parameters

Description

node_key

Node in the SAP Tree with a selected item.

The parameter is defined with reference to type tv_nodekey .

item_name

Name of the selected item.

The parameter is defined with reference to type tv_itmname .