CL_ESH_IF_QUERY_PART - Query Part
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
This class stands for a node in a query tree. A query tree represents a complex nested query, consistingof operators and conditions. Its inner nodes, known as composites, connect other nodes and its leaveskeep the conditions. Each condition contains at least one atomic attribute condition. The composites connect the conditions via operators (AND/OR/NOT).
All together a tree of this type defines a complex Boolean expression that specifies the search query.
The sub-classes of this class are used to structure a query tree of this type. Finally, the tree's root node has to be connected to a search request via
CL_ESH_IF_QP_CONDITION - the condition node/leaf:
- ADD_ATTRIBUTE_CONDITION - with this method you can specify the attribute condition in a leaf of this type
- CL_ESH_IF_QP_COMPOSITE - the operator/inner node
ADD_CHILD - to add a sub-tree to this inner node, either another composite or a condition:
- SET_COMPOSITE_OPERATOR_AND - to define this composite to connect its children via AND
- SET_COMPOSITE_OPERATOR_OR - to define this composite to connect its children via OR
- SET_COMPOSITE_NEGATED - negates the complete logical expression in this node
Relationships
Example
Notes
SET_IS_QUERY_COLLECTION of CL_ESH_IF_QP_COMPOSITE is for more advanced use and should be used carefully.By doing this, the current operator (AND/OR) and its parents in the tree are processed differently inthe search engine. Usually, each operator is interpreted logically to restrict the search preliminary.By activating the collection mode, the operators are interpreted as set-operations such as union (OR)or intersection (AND) on the respective query part (sub-result-set). In this case, each sub-result-set is retrieved separately, therefore the search can become much more expensive in terms of runtime and resource load.
Further information
General Data in Customer Master Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2241 Date: 20120526 Time: 120732 triton ( 124 ms )






