DETERMINE_ZONE_LOC_RELATIONS SAP Method Determine Zone - Location relations
Below is documentation, parameters and attributes of ABAP Method DETERMINE_ZONE_LOC_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 DETERMINE_ZONE_LOC_RELATIONS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DETERMINE_ZONE_LOC_RELATIONS
.| Name | Type | Data Type | Description | Default Value |
| IT_LEGS | Importing | TYPE /SCMB/TT_GUID | Schedules (Legs) | |
| IT_LOCATIONS_DATA | Importing | TYPE /SCTM/TT_LOCATION_ADDRESS | Location relevant for Lane Determination | |
| IT_ZONE_DIRECT | Importing | TYPE /SCMB/TT_ZONE_D | Sorted Table Type for /SCMB/ZONE_D | |
| IT_ZONE_POSTAL | Importing | TYPE /SCMB/TT_ZONE_P | Sorted Table Type for /SCMB/ZONE_P | |
| IT_ZONE_REGION | Importing | TYPE /SCMB/TT_ZONE_R | Sorted Table Type for /SCMB/ZONE_R | |
| ET_ZONE_LOC_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 | Quantity of GUIDs for SCM Master Data Objects |
Exceptions of Method DETERMINE_ZONE_LOC_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_ZONE_LOC_RELATIONS TYPE /SCMB/TT_GUID_GUID_SORTED,
lv_IT_LEGS TYPE /SCMB/TT_GUID,
lv_IT_LOCATIONS_DATA TYPE /SCTM/TT_LOCATION_ADDRESS,
lv_IT_ZONE_DIRECT TYPE /SCMB/TT_ZONE_D,
lv_IT_ZONE_POSTAL TYPE /SCMB/TT_ZONE_P,
lv_IT_ZONE_REGION TYPE /SCMB/TT_ZONE_R,
lv_other TYPE c.
CALL METHOD /SCTM/CL_GEOGRAPHY=>DETERMINE_ZONE_LOC_RELATIONS(
EXPORTING
IT_LEGS = lv_IT_LEGS
IT_LOCATIONS_DATA = lv_IT_LOCATIONS_DATA
IT_ZONE_DIRECT = lv_IT_ZONE_DIRECT
IT_ZONE_POSTAL = lv_IT_ZONE_POSTAL
IT_ZONE_REGION = lv_IT_ZONE_REGION
IMPORTING
ET_ZONE_LOC_RELATIONS = lv_ET_ZONE_LOC_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