Ansicht
Dokumentation

BCALV_DND_04 - Drag&Drop Within an ALV Grid Control

BCALV_DND_04 - Drag&Drop Within an ALV Grid Control

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Report SAPSIMPLE_TREE_CONTROL_DEMO shows how the simple tree control (class CL_GUI_SIMPLE_TREE) is used.

In a simple tree control, a node consists of a folder/leaf symbol and a text. A node of the tree is described by Dictionary structure TREEV_NODE. The user must include this structure in a self-defined structure that contains a field named 'TEXT'.

Events

Any events triggered are displayed in the frame on the right screen border. The following events can be triggered in the sample program:

node double click

A node was double-clicked.

expand no children

A node may have the property of showing a + sign for the folder/leaf symbol although no children exist in the control (set field EXPANDER in TREEV_NODE). If the user clicks such a node, event EXPAND_NC is triggered. In the example, node "Child1" has this property. The sample program responds to this event by transferring two new nodes to the control (New1 and New2).

Requirements

Output

Example






General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1195 Date: 20240520 Time: 081832     sap01-206 ( 30 ms )