GET_ZONE SAP Method Returns Zone If It Exists









Below is documentation, parameters and attributes of ABAP Method GET_ZONE 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_ZONE can also be found below:

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


Parameters of Method GET_ZONE

.

NameTypeData TypeDescriptionDefault Value
IV_GUIDImportingTYPE
/SCMB/DE_GUID
GUID of an SCM Master Data Object
IV_IDImportingTYPE
/SCMB/DE_ZONE_ID
Zone Name
RO_ZONEReturningTYPE REF TO
/SCTM/CL_M_ZONE
Master Data Maintenance: Zone



Exceptions of Method GET_ZONE

/SCTM/CX_TM_RG_DATA - Inconsistent Data in Routing Guide

Example ABAP coding


DATA: lv_IV_GUID TYPE /SCMB/DE_GUID,
lv_IV_ID TYPE /SCMB/DE_ZONE_ID,
lv_RO_ZONE TYPE /SCTM/CL_M_ZONE,
lv_other TYPE c.

CALL METHOD /SCTM/CL_M_ZONE=>GET_ZONE(
EXPORTING
IV_GUID = lv_IV_GUID
IV_ID = lv_IV_ID
RECEIVING
RO_ZONE = lv_RO_ZONE )



"Alternate coding for Method Call with returning parameter
lv_RO_ZONE = /SCTM/CL_M_ZONE=>GET_ZONE(
EXPORTING
IV_GUID = lv_IV_GUID
IV_ID = lv_IV_ID ).

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!