ABAP OO Class Methods

IF_RSBOLAP_HIERARCHY_BASE SAP Interface - Hierarchy







IF_RSBOLAP_HIERARCHY_BASE is a standard SAP interface, see below for any documentation including details of methods, attributes, events etc. Interfaces are defined much the same as a class using the same transactions but act a bit like a template (in none OO terms). For example, a class would implement the interface and then inherit all of the methods etc from it. This provides a mechanism for unrelated objects to use a set of common behaviours and functionality.


You may have seen this already without knowing what it was, within SAP have you ever seen the method name prefixed by the name of an interface such as IF_RSBOLAP_HIERARCHY_BASE~METHOD_NAME . This means that the class has implemented an interface and that this method has been inherited from it.


For further relevant information about this interface enter IF_RSBOLAP_HIERARCHY_BASE into the relevant SAP transactions such as SE24, SE80. Also see the Resource section below to view other useful tips, screenshots, links and general information related to this SAP interface and its methods. Or even add your own for future reference



Methods of IF_RSBOLAP_HIERARCHY_BASE





A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.

Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD CL_ABAP_CHAR_UTILITIES=>methodname EXPORTING/IMPORTING...



IF_RSBOLAP_OBJECT~FREE - Free
GET_CHILDREN - Get Child Nodes
GET_INITIAL_DRILL_LEVEL - Read Initial Drill Level
GET_LEAVES - Get All Leaves
GET_LEVELS - Get All Levels
GET_MAXIMUM_LEVEL - Get Maximum Available Level
GET_MEMBER_ACCESS_CABILITIES - Get Capabilities of Member Access
GET_MEMBER_ACCESS_MODE - Get Member Access Mode
GET_MEMBER_ACCESS_SORTING - Read Sorting at Member Access
GET_MEMBER_OF_POSTED_NODE_VIS - Read Visibility of Posted Nodes
GET_MINIMUM_LEVEL - Get Minimum Available Level
GET_NODE - Get Node Details
GET_NODES_BY_LEVEL - Get Node for a Level
GET_NODE_ALIGNMENT - Get Alignment of Nodes
GET_NODE_CONDENSATION - Read Indentation of Nodes with Just One Child
GET_NODE_TYPE - Get Special Node Type
GET_NODE_TYPES - Get Node Types
GET_PARENT - Get Parent Node
GET_PARENT_ID - Get Parent SID
GET_ROOTS_WITH_CHILDREN - Get Root and Child Nodes to Start Level
GET_USED_NODE_TYPES - Get Node Types Used in Hierarchy
IS_ACTIVE - Check if hierarchy is active
SEARCH - Find nodes
SET_ACTIVE - Set Hierarchy to Active
SET_HIERARCHY - Set Hierarchy
SET_INITIAL_DRILL_LEVEL - Set Initial Drill Level
SET_MEMBER_ACCESS_MODE - Set Member Access Mode
SET_MEMBER_ACCESS_SORTING - Set Sorting at Member Access
SET_MEMBER_OF_POSTED_NODE_VIS - Change Visibility of Posted Nodes
SET_NODE_ALIGNMENT - Set Alignment of Nodes
SET_NODE_CONDENSATION - Set Alignment of Nodes with Just One Child
SET_STATE - Set Status
SUPPORTS_MEM_OF_POST_NOD_VIS_C - Can the visibility of posted nodes be changed?
IF_RSBOLAP_OBJECT~TO_ABAP_LIST - To Abap List
IF_RSBOLAP_OBJECT~TO_STRING - To String


IF_RSBOLAP_HIERARCHY_BASE Attributes

List of attributes within class IF_RSBOLAP_HIERARCHY_BASE. These can be referenced using the following syntax IF_RSBOLAP_HIERARCHY_BASE=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.


NameDescriptionInitial Value
C_INDENT_STEP_WIDTH C Indent Step Width
N_ALTERNATIVE_NAME N Alternative Name
N_DUEDATE Date
N_ID N Id



N_NAME N Name
N_ROOT_ID Object ID
N_R_CHARACTERISTIC Characteristic in Selection Object
N_SX_META_DATA Metadata Information for the Hierarchy
N_SX_STATE Status of a Hierarchy
N_S_HIERARCHY_CAT Catalog Entry for Lists of Hierarchies
N_TEXT N Text
N_VERSION Version




Events of the Class IF_RSBOLAP_HIERARCHY_BASE

Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING...

CHANGED - Changed
FREED - Freed