ADD_NODE SAP Method HCM Application Log: Add Nodes
Below is documentation, parameters and attributes of ABAP Method ADD_NODE within SAP class IF_HRPAY00_PAL_SERVICES. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_HRPAY00_PAL_SERVICES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ADD_NODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_NODE
.Name | Type | Data Type | Description | Default Value |
IS_BUTTONS | Importing | TYPE HRPAD_PAL_S_PUSHBUTTONS | HR Application Log: Pushbuttons for Node Category | |
I_ICON | Importing | TYPE ICON_D | Different Icon for Nodes | |
I_NEW_PAGE | Importing | TYPE BOOLE_D | Output New Page | |
I_NODE_TXT | Importing | TYPE ANY | Node Text | |
I_PARENT_NODE_KEY | Importing | TYPE TV_NODEKEY | Tree Control: Node Key | |
I_QUICKINFO | Importing | TYPE GUI_INFO | Quick Info | |
E_SUB_NODE_KEY | Exporting | TYPE HRPAD_PAL_NODE_KEY | HR Application Log |
Exceptions of Method ADD_NODE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAY00_PAL_SERVICES.
DATA: lv_E_SUB_NODE_KEY TYPE HRPAD_PAL_NODE_KEY,
lv_IS_BUTTONS TYPE HRPAD_PAL_S_PUSHBUTTONS,
lv_I_ICON TYPE ICON_D,
lv_I_NEW_PAGE TYPE BOOLE_D,
lv_I_NODE_TXT TYPE ANY,
lv_I_PARENT_NODE_KEY TYPE TV_NODEKEY,
lv_I_QUICKINFO TYPE GUI_INFO,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_NODE(
EXPORTING
IS_BUTTONS = lv_IS_BUTTONS
I_ICON = lv_I_ICON
I_NEW_PAGE = lv_I_NEW_PAGE
I_NODE_TXT = lv_I_NODE_TXT
I_PARENT_NODE_KEY = lv_I_PARENT_NODE_KEY
I_QUICKINFO = lv_I_QUICKINFO
IMPORTING
E_SUB_NODE_KEY = lv_E_SUB_NODE_KEY ).
Links to Related Class(s)
IF_HRPAY...Full list of available SAP object classes
Search for further information about these or an SAP related objects