FIND_SCUS_WITHOUT_DIR_CH SAP Method Find SCU via GUID/Name: Only 1:1 and 1:n, no Directn Change
Below is documentation, parameters and attributes of ABAP Method FIND_SCUS_WITHOUT_DIR_CH within SAP class /SCMB/IF_SCU_MGR. 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 /SCMB/IF_SCU_MGR 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 FIND_SCUS_WITHOUT_DIR_CH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FIND_SCUS_WITHOUT_DIR_CH
.| Name | Type | Data Type | Description | Default Value |
| IV_ENTITY_SOURCE | Importing | TYPE /SCMB/OE_ENTITY | Supply Chain Unit | |
| IV_IND | Importing | TYPE BOOLE_D | Only Next Matches in Hierarchy | |
| IV_ROLE_SOURCE | Importing | TYPE /SCMB/OE_ROLE | Business Attribute | |
| IV_ROLE_TARGET | Importing | TYPE /SCMB/OE_ROLE | Business Attribute | |
| IV_SCUGUID_SOURCE | Importing | TYPE GUID_16 | GUID in 'RAW' Format | |
| RTO_SCUS | Returning | TYPE /SCMB/TOENTITYREF_TAB | Table Type SCU References (/scmb/if_scu) |
Exceptions of Method FIND_SCUS_WITHOUT_DIR_CH
/SCMB/CX_SCU_EXCEPTION - SCU Exception ClassExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_SCU_MGR.
DATA: lv_IV_ENTITY_SOURCE TYPE /SCMB/OE_ENTITY,
lv_IV_IND TYPE BOOLE_D,
lv_IV_ROLE_SOURCE TYPE /SCMB/OE_ROLE,
lv_IV_ROLE_TARGET TYPE /SCMB/OE_ROLE,
lv_IV_SCUGUID_SOURCE TYPE GUID_16,
lv_RTO_SCUS TYPE /SCMB/TOENTITYREF_TAB,
lv_other TYPE c.
CALL METHOD lo_class=>FIND_SCUS_WITHOUT_DIR_CH(
EXPORTING
IV_ENTITY_SOURCE = lv_IV_ENTITY_SOURCE
IV_IND = lv_IV_IND
IV_ROLE_SOURCE = lv_IV_ROLE_SOURCE
IV_ROLE_TARGET = lv_IV_ROLE_TARGET
IV_SCUGUID_SOURCE = lv_IV_SCUGUID_SOURCE
RECEIVING
RTO_SCUS = lv_RTO_SCUS )
"Alternate coding for Method Call with returning parameter
lv_RTO_SCUS = lo_class=>FIND_SCUS_WITHOUT_DIR_CH(
EXPORTING
IV_ENTITY_SOURCE = lv_IV_ENTITY_SOURCE
IV_IND = lv_IV_IND
IV_ROLE_SOURCE = lv_IV_ROLE_SOURCE
IV_ROLE_TARGET = lv_IV_ROLE_TARGET
IV_SCUGUID_SOURCE = lv_IV_SCUGUID_SOURCE ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects