GET_ZONE_RELATIONS SAP Method Get Zone hierarchy relations
Below is documentation, parameters and attributes of ABAP Method GET_ZONE_RELATIONS within SAP class /SCTM/CL_GEOGRAPHY. 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 /SCTM/CL_GEOGRAPHY 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_ZONE_RELATIONS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ZONE_RELATIONS
.| Name | Type | Data Type | Description | Default Value |
| IV_EXCLUDE_LEGS | Importing | TYPE BOOLE_D | Exclude Schedules | |
| ET_LEGS | Exporting | TYPE /SCMB/TT_GUID | Schedules (Legs) | |
| ET_ZONE_RELATIONS | Exporting | TYPE /SCMB/TT_GUID_GUID_SORTED | Table Type for GUID - GUID Combination | |
| CT_MESSAGE | Changing | TYPE /SCMB/T_LDDD_MESSAGE | SCMB LDDD: Message Table Type for Dist. and Dur. Determ. | |
| CT_ZONES | Changing | TYPE /SCMB/TT_GUID | Zones |
Exceptions of Method GET_ZONE_RELATIONS
This method does not have any exceptionsExample ABAP coding
DATA: lv_CT_MESSAGE TYPE /SCMB/T_LDDD_MESSAGE,
lv_CT_ZONES TYPE /SCMB/TT_GUID,
lv_ET_LEGS TYPE /SCMB/TT_GUID,
lv_ET_ZONE_RELATIONS TYPE /SCMB/TT_GUID_GUID_SORTED,
lv_IV_EXCLUDE_LEGS TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD /SCTM/CL_GEOGRAPHY=>GET_ZONE_RELATIONS(
EXPORTING
IV_EXCLUDE_LEGS = lv_IV_EXCLUDE_LEGS
IMPORTING
ET_LEGS = lv_ET_LEGS
ET_ZONE_RELATIONS = lv_ET_ZONE_RELATIONS
CHANGING
CT_MESSAGE = lv_CT_MESSAGE
CT_ZONES = lv_CT_ZONES ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects