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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IO_CONFImportingTYPE REF TO
/BOBF/IF_FRW_CONFIGURATION
Interface for Configuration
IT_COMPImportingTYPE
/BOBF/T_CONFRO_ASSOC2
Configuration: Associations
IT_NODE_COPY_SCOPEImportingTYPE
/SCMTMS/T_CCNCS_K
Copy control node copy scope
IT_NODE_FORBIDDENImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE
Forbidden BO nodes
IT_NODE_MANDATORYImportingTYPE
/SCMTMS/CL_COCO_REQUEST=>TT_BO_NODE_SCOPE
Mandatory BO nodes
IV_PROFILE_IDImportingTYPE
/SCMTMS/COCO_PROFILE_ID
Copy control profile ID
IV_SOURCE_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business object key
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
ET_NODE_KEYExportingTYPE
/BOBF/T_FRW_KEY_SORTED
BO node keys



Exceptions of Method GET_SELECTED_NODES

/SCMTMS/CX_COPY_CONTROL - Exception class for copy control

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!