GET_SELECTED_NODES SAP Method Get the BO nodes selected by node copy scope customizing
Below is documentation, parameters and attributes of ABAP Method GET_SELECTED_NODES within SAP class /SCMTMS/CL_COPY_CONTROL. 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 /SCMTMS/CL_COPY_CONTROL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_SELECTED_NODES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_SELECTED_NODES
.| Name | Type | Data Type | Description | Default Value |
| IO_CONF | Importing | TYPE REF TO /BOBF/IF_FRW_CONFIGURATION | Interface for Configuration | |
| IT_COMP | Importing | TYPE /BOBF/T_CONFRO_ASSOC2 | Configuration: Associations | |
| IT_NODE_COPY_SCOPE | Importing | TYPE /SCMTMS/T_CCNCS_K | Copy control node copy scope | |
| IT_NODE_FORBIDDEN | Importing | TYPE /SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE | Forbidden BO nodes | |
| IT_NODE_MANDATORY | Importing | TYPE /SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE | Mandatory BO nodes | |
| IV_PROFILE_ID | Importing | TYPE /SCMTMS/COCO_PROFILE_ID | Copy control profile ID | |
| IV_SOURCE_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business object key | |
| EO_MESSAGE | Exporting | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| ET_NODE_KEY | Exporting | TYPE /BOBF/T_FRW_KEY_SORTED | BO node keys |
Exceptions of Method GET_SELECTED_NODES
/SCMTMS/CX_COPY_CONTROL - Exception class for copy controlExample ABAP coding
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_NODE_KEY TYPE /BOBF/T_FRW_KEY_SORTED,
lv_IO_CONF TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IT_COMP TYPE /BOBF/T_CONFRO_ASSOC2,
lv_IT_NODE_COPY_SCOPE TYPE /SCMTMS/T_CCNCS_K,
lv_IT_NODE_FORBIDDEN TYPE /SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE,
lv_IT_NODE_MANDATORY TYPE /SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE,
lv_IV_PROFILE_ID TYPE /SCMTMS/COCO_PROFILE_ID,
lv_IV_SOURCE_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COPY_CONTROL=>GET_SELECTED_NODES(
EXPORTING
IO_CONF = lv_IO_CONF
IT_COMP = lv_IT_COMP
IT_NODE_COPY_SCOPE = lv_IT_NODE_COPY_SCOPE
IT_NODE_FORBIDDEN = lv_IT_NODE_FORBIDDEN
IT_NODE_MANDATORY = lv_IT_NODE_MANDATORY
IV_PROFILE_ID = lv_IV_PROFILE_ID
IV_SOURCE_BO_KEY = lv_IV_SOURCE_BO_KEY
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
ET_NODE_KEY = lv_ET_NODE_KEY ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects