GET_SUBNODES SAP Method Get all or only direct subnodes to a start node of a BO
Below is documentation, parameters and attributes of ABAP Method GET_SUBNODES 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 is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_SUBNODES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_SUBNODES
.| Name | Type | Data Type | Description | Default Value |
| IO_CONF | Importing | TYPE REF TO /BOBF/IF_FRW_CONFIGURATION | Interface for Configuration of BO | |
| IT_COMP | Importing | TYPE /BOBF/T_CONFRO_ASSOC2 | Table with BO Compositions | |
| IV_BO_KEY | Importing | TYPE /BOBF/OBM_BO_KEY | Business Object Key | |
| IV_ONLY_DIRECT_SUBNODES | Importing | TYPE BOOLE_D | Return only direct Subnodes? | |
| IV_START_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Start Node Key | |
| ET_KEY_LINK | Exporting | TYPE /BOBF/T_FRW_KEY_LINK | Key Link Table Node - Subnode | |
| ET_SUBNODE_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | Table with Subnodes of the Start Node |
Exceptions of Method GET_SUBNODES
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_ET_KEY_LINK TYPE /BOBF/T_FRW_KEY_LINK,
lv_ET_SUBNODE_KEY TYPE /BOBF/T_FRW_KEY,
lv_IO_CONF TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IT_COMP TYPE /BOBF/T_CONFRO_ASSOC2,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_ONLY_DIRECT_SUBNODES TYPE BOOLE_D,
lv_IV_START_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COPY_CONTROL=>GET_SUBNODES(
EXPORTING
IO_CONF = lv_IO_CONF
IT_COMP = lv_IT_COMP
IV_BO_KEY = lv_IV_BO_KEY
IV_ONLY_DIRECT_SUBNODES = lv_IV_ONLY_DIRECT_SUBNODES
IV_START_NODE_KEY = lv_IV_START_NODE_KEY
IMPORTING
ET_KEY_LINK = lv_ET_KEY_LINK
ET_SUBNODE_KEY = lv_ET_SUBNODE_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