SAP /SCTM/CL_ZONE OO Class - Zone
/SCTM/CL_ZONE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCTM/CL_ZONE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for /SCTM/CL_ZONE is /SCTM/CL_SPOTMethod list of /SCTM/CL_ZONE SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_CHILD_ZONE | Add Child Zone | Public |
| CALL METHOD /sctm/cl_zone=>ADD_CHILD_ZONE...more details | ||
| ADD_LOCATION | Add Location | Public |
| CALL METHOD /sctm/cl_zone=>ADD_LOCATION...more details | ||
| ADD_PARENT_ZONE | Add Parent Zone | Public |
| CALL METHOD /sctm/cl_zone=>ADD_PARENT_ZONE...more details | ||
| CLASS_CONSTRUCTOR | Class Constructor | Public |
| CALL METHOD /sctm/cl_zone=>CLASS_CONSTRUCTOR...more details | ||
| CONNECT_ZONE_WITH_LOCATION | Connect Zone with Location | Protected |
| CALL METHOD /sctm/cl_zone=>CONNECT_ZONE_WITH_LOCATION...more details | ||
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD /sctm/cl_zone=>CONSTRUCTOR...more details | ||
|
| ||
| FIND_ALL_CHILD_ZONES | All Zones Contained | Protected |
| CALL METHOD /sctm/cl_zone=>FIND_ALL_CHILD_ZONES...more details | ||
| FIND_DIRECT_CHILD_ZONES | All Zones Contained Directly | Protected |
| CALL METHOD /sctm/cl_zone=>FIND_DIRECT_CHILD_ZONES...more details | ||
| FIND_DIRECT_PARENT_ZONES | All Zones That Contain the Zone | Protected |
| CALL METHOD /sctm/cl_zone=>FIND_DIRECT_PARENT_ZONES...more details | ||
| FIND_LOCATIONS | All Locations | Protected |
| CALL METHOD /sctm/cl_zone=>FIND_LOCATIONS...more details | ||
| GET_ALL_CHILD_ZONES | Return all included Zones | Public |
| CALL METHOD /sctm/cl_zone=>GET_ALL_CHILD_ZONES...more details | ||
| GET_ALL_LOCATIONS | Return all included Locations | Public |
| CALL METHOD /sctm/cl_zone=>GET_ALL_LOCATIONS...more details | ||
| GET_ALL_PARENT_ZONES | Return all included Zones | Public |
| CALL METHOD /sctm/cl_zone=>GET_ALL_PARENT_ZONES...more details | ||
| GET_CHILD_ZONES | Return all direct subordinate zones | Public |
| CALL METHOD /sctm/cl_zone=>GET_CHILD_ZONES...more details | ||
| GET_PARENT_ZONES | Return all direct superordinate zones | Public |
| CALL METHOD /sctm/cl_zone=>GET_PARENT_ZONES...more details | ||
| GET_ZONE_TYPE | Return Zone Type | Public |
| CALL METHOD /sctm/cl_zone=>GET_ZONE_TYPE...more details | ||
| INCLUDE_PARENTS | Add All Parent Zones for This Zone | Public |
| CALL METHOD /sctm/cl_zone=>INCLUDE_PARENTS...more details | ||
| IS_PARENT_OF | Is This Zone a Superordinate Zone of the Given Zone? | Public |
| CALL METHOD /sctm/cl_zone=>IS_PARENT_OF...more details | ||
| ZONE_TYPES | Return All Other Specific Zone Types | Public |
| CALL METHOD /sctm/cl_zone=>ZONE_TYPES...more details | ||
/SCTM/CL_ZONE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| GEO_TYPE | Constant | Classification of Geographical Object | 'Z' | LIKE /SCMB/DE_TYPE_GEO | Public |
| MO_HIERARCHY | Instance Attribute | Hierarchical Zone | LIKE /SCTM/CL_H_ZONE | Public | |
| MT_CHILD_ZONES | Instance Attribute | Subordinate Zones | LIKE /SCTM/TT_ZONE | Protected | |
| MT_LOCATIONS | Instance Attribute | Directly assigned Locations | LIKE /SCTM/TT_LOCATION | Public | |
| MT_LOCATIONS_EXCLUDE | Instance Attribute | Excluded Locations | LIKE /SCMB/TT_GUID | Public | |
| MT_LOCS_INCLUDED | Instance Attribute | All included Locations (directly under zone) | LIKE /SCTM/TT_LOCATION | Protected | |
| MT_LOCS_INCLUDED_ALL | Instance Attribute | All included Locations (including hierarchy) | LIKE /SCTM/TT_LOCATION | Protected | |
| MT_PARENT_ZONES | Instance Attribute | Superordinate Zones | LIKE /SCTM/TT_ZONE | Protected | |
| MT_POSTAL_INTERVALS | Instance Attribute | Quantity of Postal Code Intervals | LIKE /SCTM/TT_POSTAL_INTERVAL | Public | |
| MT_REGIONS | Instance Attribute | Quantity of Regions | LIKE /SCTM/TT_REGION | Public | |
| MV_CHILD_ZONES_READ | Instance Attribute | Have the child zones been read? | LIKE BOOLE_D | Protected | |
| MV_DESCRIPTION | Instance Attribute | Description | LIKE /SCMB/DE_DESC | Public | |
| MV_LOCS_INCLUDED_ALL_READ | Instance Attribute | All included Locations are determined | ABAP_FALSE | LIKE BOOLE_D | Protected |
| MV_LOCS_INCLUDED_READ | Instance Attribute | All direct Locations are determined | ABAP_FALSE | LIKE BOOLE_D | Protected |
| MV_PARENT_ZONES_READ | Instance Attribute | Have the parent zones been read? | LIKE BOOLE_D | Protected | |
| MV_XPOS | Instance Attribute | Longitude Specified in GPS Coordinates | LIKE /SCMB/MDL_HORIZGPS | Public | |
| MV_YPOS | Instance Attribute | Latitude Specified in GPS Coordinates | LIKE /SCMB/MDL_VERTIGPS | Public | |
| MV_ZONE_TYPE | Instance Attribute | Zone Type | LIKE /SCMB/DE_TYPE_ZONE | Public | |
| ST_ZONE_TYPES | Static Attribute | Quantity of Zone Types | LIKE /SCTM/TT_ZONE_TYPE | Public | |
| ZONE_TYPE_ANY | Constant | Classification of Zones | 'A' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_BASIC | Constant | Basis Zone | 'B' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_DIRECT | Constant | Direct Zone | 'D' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_LEG | Constant | Leg Zone | 'L' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_MIXED | Constant | Mixed Zone | 'M' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_POSTAL | Constant | Postal Code Zone | 'P' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_REGION | Constant | Region Zone | 'R' | LIKE /SCMB/DE_TYPE_ZONE | Public |
| ZONE_TYPE_UNSPECIFIED | Constant | Unspecified Zone | '?' | LIKE /SCMB/DE_TYPE_ZONE | Public |
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