RENAME_ROLE SAP Method adds an element
Below is documentation, parameters and attributes of ABAP Method RENAME_ROLE within SAP class CL_PROXY_UIXM_TREE_DATA_SCEN. 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 CL_PROXY_UIXM_TREE_DATA_SCEN 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 RENAME_ROLE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RENAME_ROLE
.| Name | Type | Data Type | Description | Default Value |
| NAME | Importing | TYPE PRX_IFRNAM | Proxy Generation: Object Name in Enterprise Services Builder | |
| SELECTED_NODE | Importing | TYPE TM_NODEKEY | Tree Model: Node Key | |
| NODE_ID | Returning | TYPE PRX_ID | ID of added element |
Exceptions of Method RENAME_ROLE
CX_PXN_FAULT - mdr fault (abstract)Example ABAP coding
DATA: lo_class TYPE REF TO CL_PROXY_UIXM_TREE_DATA_SCEN.
DATA: lv_NAME TYPE PRX_IFRNAM,
lv_NODE_ID TYPE PRX_ID,
lv_SELECTED_NODE TYPE TM_NODEKEY,
lv_other TYPE c.
CALL METHOD lo_class=>RENAME_ROLE(
EXPORTING
NAME = lv_NAME
SELECTED_NODE = lv_SELECTED_NODE
RECEIVING
NODE_ID = lv_NODE_ID )
"Alternate coding for Method Call with returning parameter
lv_NODE_ID = lo_class=>RENAME_ROLE(
EXPORTING
NAME = lv_NAME
SELECTED_NODE = lv_SELECTED_NODE ).
Links to Related Class(s)
CL_PROXY...Full list of available SAP object classes
Search for further information about these or an SAP related objects