GET_ZONES SAP Method Returns Zones If They Exist









Below is documentation, parameters and attributes of ABAP Method GET_ZONES within SAP class /SCTM/CL_M_ZONE. 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_M_ZONE 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 directly

The following technical details of method GET_ZONES can also be found below:

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


Parameters of Method GET_ZONES

.

NameTypeData TypeDescriptionDefault Value
IT_GUIDSImportingTYPE
/SCMB/TT_GUID
IT_ZONE_HDSImportingTYPE
/SCTM/TT_AD_ZONE_HD
Adapter: Zone Header
ET_M_ZONESExportingTYPE
/SCTM/TT_M_ZONE
Quantity of Zones
CT_MESSAGESChangingTYPE
BAPIRET2_TAB
Error messages



Exceptions of Method GET_ZONES

/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing Guide

Example ABAP coding


DATA: lv_CT_MESSAGES TYPE BAPIRET2_TAB,
lv_ET_M_ZONES TYPE /SCTM/TT_M_ZONE,
lv_IT_GUIDS TYPE /SCMB/TT_GUID,
lv_IT_ZONE_HDS TYPE /SCTM/TT_AD_ZONE_HD,
lv_other TYPE c.

CALL METHOD /SCTM/CL_M_ZONE=>GET_ZONES(
EXPORTING
IT_GUIDS = lv_IT_GUIDS
IT_ZONE_HDS = lv_IT_ZONE_HDS
IMPORTING
ET_M_ZONES = lv_ET_M_ZONES
CHANGING
CT_MESSAGES = lv_CT_MESSAGES ).

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



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!