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.
Method for SE16 reproduction.
Generic method to read data from any table so that no checkman errors occur.
Method for generating a form from the attributes of a node.
You can use this method as a copy template.
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.
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.
This method is the same as CREATE_FORM_FROM_NODE, only here a table is created.
This method is no longer used.
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.
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.