SAP C_BASIC_NODE OO Class - Basic Node
C_BASIC_NODE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class C_BASIC_NODE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of C_BASIC_NODE SAP class
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 =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
CALL METHOD c_basic_node=>CLASS_CONSTRUCTOR...more details | ||
CLEAR_VALUES1 | Clear properties <> sel or exp. | Public |
CALL METHOD c_basic_node=>CLEAR_VALUES1...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD c_basic_node=>CONSTRUCTOR...more details | ||
CREATE_CHANGE_DOCUMENT | Open Change Document | Public |
CALL METHOD c_basic_node=>CREATE_CHANGE_DOCUMENT...more details | ||
GET_DRAG_HANDLE | Private | |
CALL METHOD c_basic_node=>GET_DRAG_HANDLE...more details | ||
GET_HEADER | Private | |
CALL METHOD c_basic_node=>GET_HEADER...more details | ||
| ||
GET_INSTANCE | Get_instance | Public |
CALL METHOD c_basic_node=>GET_INSTANCE...more details | ||
GET_ISEXPANDED | Read Expanded | Public |
CALL METHOD c_basic_node=>GET_ISEXPANDED...more details | ||
GET_ISSELECTED | Read Selected | Public |
CALL METHOD c_basic_node=>GET_ISSELECTED...more details | ||
GET_PARENTS | Private | |
CALL METHOD c_basic_node=>GET_PARENTS...more details | ||
GET_TEXT | Private | |
CALL METHOD c_basic_node=>GET_TEXT...more details | ||
PARENT_IN_ITAB | Private | |
CALL METHOD c_basic_node=>PARENT_IN_ITAB...more details | ||
RE_CHANGE_OBJEKT | Triggers Change_object | Public |
CALL METHOD c_basic_node=>RE_CHANGE_OBJEKT...more details | ||
SET_DATA_CHANGED | Private | |
CALL METHOD c_basic_node=>SET_DATA_CHANGED...more details | ||
SET_ISEXPANDED | Set Is Expanded | Public |
CALL METHOD c_basic_node=>SET_ISEXPANDED...more details | ||
SET_ISSELECTED | Set/Delete Selected | Public |
CALL METHOD c_basic_node=>SET_ISSELECTED...more details | ||
STORE_USER_DATA_BASE | Collect User-Dependent Data for Save | Public |
CALL METHOD c_basic_node=>STORE_USER_DATA_BASE...more details |
C_BASIC_NODE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
C_NON_RECURSIVE | Constant | Do Not Call Recursively | 0 | LIKE I | Public |
C_RECURSIVE | Constant | Call Recursively | 1 | LIKE I | Public |
ISEXPANDED | Instance Attribute | Single-Character Indicator | LIKE CHAR1 | Public | |
ISSELECTED | Instance Attribute | Single-Character Indicator | LIKE CHAR1 | Public | |
M_CFC | Instance Attribute | Class for Administration of Fast Close | LIKE CFC | Public | |
M_DRAG_BEHAVIOUR | Static Attribute | Behavior for Drag and Drop | LIKE CL_DRAGDROP | Private | |
M_FIELDNAMES_ITEM | Static Attribute | Application Log: Field Name Table | LIKE BAL_T_FLD | Public | |
M_SCMA_TABIX | Instance Attribute | LIKE | Private | ||
M_TEXT | Instance Attribute | Description of a Folder | LIKE TFC_FOLDER_TEXT | Public | |
M_TEXTS | Instance Attribute | Itab for TFC_LANGUAGE_TEXT | LIKE TFC_T_LANGUAGE_TEXT | Public | |
M_VALUES1 | Instance Attribute | Value Buffer | LIKE TFC_TREE_PATH_LONG | Public | |
PARENT | Instance Attribute | Node Element | LIKE CNODE | Public | |
POS | Instance Attribute | Counter | LIKE TFC_NUM | Public | |
TREE_ID | Instance Attribute | ALV Tree Control: Node Key | LIKE LVC_NKEY | Public |
Events of Class C_BASIC_NODE
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... CHANGE_OBJEKT - Signal Object ChangeDELETE_OBJEKT - Delete Object
Links to Related Class(s)
C_BASIC_...Full list of available SAP object classes
Search for further information about these or an SAP related objects