GET_ZONE_PARENTS SAP Method Get Zone parents









Below is documentation, parameters and attributes of ABAP Method GET_ZONE_PARENTS 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 directly

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

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


Parameters of Method GET_ZONE_PARENTS

.

NameTypeData TypeDescriptionDefault Value
IT_CHILD_ZONESImportingTYPE
/SCMB/TT_GUID
Quantity of GUIDs for SCM Master Data Objects
IV_RELIDImportingTYPE
/SAPAPO/RELID
Hierarchy ID
CT_MESSAGEChangingTYPE
/SCMB/T_LDDD_MESSAGE
SCMB LDDD: Message Table Type for Dist. and Dur. Determ.
CT_RELATIONS_VALIDChangingTYPE
/SAPAPO/RELEHZON_TAB
Edges in extended transportation hierarchies
CT_ZONES_ALLChangingTYPE
/SCMB/TT_GUID
Quantity of GUIDs for SCM Master Data Objects



Exceptions of Method GET_ZONE_PARENTS

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_MESSAGE TYPE /SCMB/T_LDDD_MESSAGE,
lv_CT_RELATIONS_VALID TYPE /SAPAPO/RELEHZON_TAB,
lv_CT_ZONES_ALL TYPE /SCMB/TT_GUID,
lv_IT_CHILD_ZONES TYPE /SCMB/TT_GUID,
lv_IV_RELID TYPE /SAPAPO/RELID,
lv_other TYPE c.

CALL METHOD /SCTM/CL_GEOGRAPHY=>GET_ZONE_PARENTS(
EXPORTING
IT_CHILD_ZONES = lv_IT_CHILD_ZONES
IV_RELID = lv_IV_RELID
CHANGING
CT_MESSAGE = lv_CT_MESSAGE
CT_RELATIONS_VALID = lv_CT_RELATIONS_VALID
CT_ZONES_ALL = lv_CT_ZONES_ALL ).

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!