
Class CL_WD_DYNAMIC_TOOL contains various methods that are helpful for your first steps in Dynamic Programming (for example, SE16 reproduction), as well as help methods for tables and trees, and so on.
IS_STRUCTURE_OR_TABLE
Method for SE16 reproduction.
GET_TABLE_DATA
Generic method to read data from any table so that no checkman errors occur.
CREATE_FORM_FROM_NODE
Method for generating a form from the attributes of a node.
You can use this method as a copy template.
CREATE_LAYOUT_DATA
Method for creating an instance of a Layout UI element according to the parent type.
You can use this method for dynamic UI programming when the layout type of the parent is not known.
CREATE_NODEINFO_FROM_STRUCT
Method for creating a node info object with a predefined data structure. You can use this method for the SE16 reproduction.
Use the methods of IF_WD_CONTEXT_NODE_INFO for creating nodes dynamically.
CREATE_TABLE_FROM_NODE
This method is the same as CREATE_FORM_FROM_NODE, only here a table is created.
FILL_NODE
This method is no longer used.
SET_TREE_LEAD_SELECTION
This method is used to set the currently selected leaf or node in a tree. If another element is already selected, it will be deselected. If no context element is specified, the leaf or node currently selected is deselected. When a Tree UI element is being used, this method should be called once before the first rendering of the tree to initialize the context correctly. If it isn't, several leaves or nodes could be selected at the same time depending on the context settings.
CREATE_RANGE_TABLE
This method dynamically creates a range table from the specified type, and this table can be used, for instance, in the select options. The application is however not limited to the select options, since a standard range table is created, as it would be created using a data mytable type range of mytype statement.