Ansicht
Dokumentation
CFW_WORKSHOP_DRAGDROP - Drag and Drop Demonstration Program with Textedit and Tree Control
RFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Description
Program SAPSIMPLE_TREE_CONTROL_DEMO demonstrates how to use a simple treen control (class CL_GUI_SIMPLE_TREE).
A node of a simple tree control consists of a folder or leaf symbol and a text. Each node is described by the ABAP Dictionary structure TREEV_NODE. To use this structure, you must define a second structure of your own in which you include TREEV_NODE and define a field called 'TEXT'.
Events
The box on the right-hand side of the screen displays events as they occur. The following events can be triggered in the demonstration:
node double click
Double-click on a node.
expand no children
It is possible to make a node display a plus sign in its folder symbol even though it has no child nodes (EXPANDER field set in TREEV_NODE). If the user clicks one of these nodes, the event EXPAND_NC is triggered. In the example, the node "Child1" has this attribute. The program reacts to the event by passing two new nodes to the control (New1 and New2).
Requirements
Output
Example
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1222 Date: 20240531 Time: 173321 sap01-206 ( 34 ms )