FIND_ORGUNITS_DIRECTIONAL_G SAP Method Obsolete









Below is documentation, parameters and attributes of ABAP Method FIND_ORGUNITS_DIRECTIONAL_G within SAP class /SCMB/CL_ORG_ENTITIES. 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/CL_ORG_ENTITIES 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_ORGUNITS_DIRECTIONAL_G can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method FIND_ORGUNITS_DIRECTIONAL_G

.

NameTypeData TypeDescriptionDefault Value
IV_DIRECTIONImportingTYPE
RSIGN
'B' = Top Down 'A' = Bottom Up (only 1:n and 1:1)
IV_GUID_SOURCEImportingTYPE
GUID_16
GUID of Source Org. Unit
IV_INDImportingTYPE
BOOLE_D
Only Next Match in Hierarchy!
IV_LANGUImportingTYPE
SY-LANGU
Language
IV_ROLE_SOURCEImportingTYPE
/SCMB/OE_ROLE
Source Role
IV_ROLE_TARGETImportingTYPE
/SCMB/OE_ROLE
Target Role
ET_GUID_TARGETExportingTYPE
/SCMB/OE_GUID_TAB
GUIDs of Destination Org. Units
ET_ORGUNIT_DETAIL_TARGETExportingTYPE
/SCMB/OE_ENTITY_DETAIL_TAB
Details of Destination Org. Units



Exceptions of Method FIND_ORGUNITS_DIRECTIONAL_G

/SCMB/CX_ORG_ENTITIES - Exception Class, Organization Management

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/CL_ORG_ENTITIES.
DATA: lv_ET_GUID_TARGET TYPE /SCMB/OE_GUID_TAB,
lv_ET_ORGUNIT_DETAIL_TARGET TYPE /SCMB/OE_ENTITY_DETAIL_TAB,
lv_IV_DIRECTION TYPE RSIGN,
lv_IV_GUID_SOURCE TYPE GUID_16,
lv_IV_IND TYPE BOOLE_D,
lv_IV_LANGU TYPE SY-LANGU,
lv_IV_ROLE_SOURCE TYPE /SCMB/OE_ROLE,
lv_IV_ROLE_TARGET TYPE /SCMB/OE_ROLE,
lv_other TYPE c.

CALL METHOD lo_class=>FIND_ORGUNITS_DIRECTIONAL_G(
EXPORTING
IV_DIRECTION = lv_IV_DIRECTION
IV_GUID_SOURCE = lv_IV_GUID_SOURCE
IV_IND = lv_IV_IND
IV_LANGU = lv_IV_LANGU
IV_ROLE_SOURCE = lv_IV_ROLE_SOURCE
IV_ROLE_TARGET = lv_IV_ROLE_TARGET
IMPORTING
ET_GUID_TARGET = lv_ET_GUID_TARGET
ET_ORGUNIT_DETAIL_TARGET = lv_ET_ORGUNIT_DETAIL_TARGET ).

Links to Related Class(s)

/SCMB/CL...
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!