SAP /SCTM/CL_LOCATION OO Class - Location
/SCTM/CL_LOCATION 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_LOCATION 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_LOCATION is /SCTM/CL_SPOTMethod list of /SCTM/CL_LOCATION 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_ZONE | Add Zone including the Location | Public |
| CALL METHOD /sctm/cl_location=>ADD_ZONE...more details | ||
| CONSTRUCTOR | Public | |
| CALL METHOD /sctm/cl_location=>CONSTRUCTOR...more details | ||
| DETERMINE_LEGS_BY_REQ_TYPE | Determine valid Legs including Location by Request Type | Protected |
| CALL METHOD /sctm/cl_location=>DETERMINE_LEGS_BY_REQ_TYPE...more details | ||
| FIND_DIRECT_ZONES | Determination of All Directly Defined Zones | Public |
| CALL METHOD /sctm/cl_location=>FIND_DIRECT_ZONES...more details | ||
| FIND_LEG_ZONES | Determination of Zones Defined Using Legs | Private |
| CALL METHOD /sctm/cl_location=>FIND_LEG_ZONES...more details | ||
| FIND_POSTAL_ZONES | Determination of All Zones Defined Using Postal Codes | Public |
| CALL METHOD /sctm/cl_location=>FIND_POSTAL_ZONES...more details | ||
|
| ||
| FIND_REGION_ZONES | Determination of All Zones Defined Using Regions | Public |
| CALL METHOD /sctm/cl_location=>FIND_REGION_ZONES...more details | ||
| FIND_ZONES | Determination/Saving of All Zones with Given Type Structure | Private |
| CALL METHOD /sctm/cl_location=>FIND_ZONES...more details | ||
| GET_BUSINESS_PARTNER | Get Business Partner | Public |
| CALL METHOD /sctm/cl_location=>GET_BUSINESS_PARTNER...more details | ||
| GET_COUNTRY | Ctry | Public |
| CALL METHOD /sctm/cl_location=>GET_COUNTRY...more details | ||
| GET_FIRST_LEG_STOP | First Leg Stop to Which This Location Belongs | Public |
| CALL METHOD /sctm/cl_location=>GET_FIRST_LEG_STOP...more details | ||
| GET_LAST_LEG_STOP | Last Leg Stop to Which This Location Belongs | Public |
| CALL METHOD /sctm/cl_location=>GET_LAST_LEG_STOP...more details | ||
| GET_LEGS | Return All Legs for Routes Specified | Public |
| CALL METHOD /sctm/cl_location=>GET_LEGS...more details | ||
| GET_LOCPRIO | Return Location Priority | Public |
| CALL METHOD /sctm/cl_location=>GET_LOCPRIO...more details | ||
| GET_POSTAL_CODE | Postal Code | Public |
| CALL METHOD /sctm/cl_location=>GET_POSTAL_CODE...more details | ||
| GET_REGION | Region | Public |
| CALL METHOD /sctm/cl_location=>GET_REGION...more details | ||
| GET_VALID_ZONES_FROM_GEOGRAPHY | Check all Geography Zones for Location inclusion | Protected |
| CALL METHOD /sctm/cl_location=>GET_VALID_ZONES_FROM_GEOGRAPHY...more details | ||
| GET_ZONES | Return All Zones with Type Structure Specified | Public |
| CALL METHOD /sctm/cl_location=>GET_ZONES...more details | ||
| IS_TEMP_LOC | Was this location created temporarily? | Public |
| CALL METHOD /sctm/cl_location=>IS_TEMP_LOC...more details | ||
/SCTM/CL_LOCATION 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 |
| ANY_LOC_TYPE | Constant | Classification of Locations | 'A' | LIKE /SCMB/DE_TYPE_LOC | Public |
| GEO_TYPE | Constant | Classification of Geographical Objects | 'L' | LIKE /SCMB/DE_TYPE_GEO | Public |
| MO_HIERARCHY | Instance Attribute | Hierarchical Location | LIKE /SCTM/CL_H_LOCATION | Public | |
| MS_ADDRESS | Instance Attribute | Adapter: Address | LIKE /SCTM/S_AD_ADDRESS | Public | |
| MT_REQ_TYPE_LEGS | Instance Attribute | Number of Legs for Given Request Type | LIKE /SCTM/TT_REQ_TYPE_LEGS | Public | |
| MT_ZONES | Instance Attribute | Direct parent Zones | LIKE /SCTM/TT_ZONE | Private | |
| MT_ZONES_ALL | Instance Attribute | All parent Zones (incl. hierarchy) | LIKE /SCTM/TT_ZONE | Private | |
| MV_ALL_PARENT_ZONES_READ | Instance Attribute | All parent zones determined (including hierarchy) | ABAP_FALSE | LIKE BOOLE_D | Protected |
| MV_BUPA | Instance Attribute | Business Partner Number | LIKE BU_PARTNER | Protected | |
| MV_BUPA_DESCRIPTION | Instance Attribute | Short name of business partner | LIKE BU_DESCRIP | Protected | |
| MV_BUPA_GUID | Instance Attribute | GUID of an SCM Master Data Object | LIKE /SCMB/DE_GUID | Protected | |
| MV_DESCRIPTION | Instance Attribute | Description | LIKE /SCMB/DE_DESC | Public | |
| MV_DIRECT_PARENT_ZONES_READ | Instance Attribute | All direct parent zones determined (including hierarchy) | ABAP_FALSE | LIKE BOOLE_D | Protected |
| MV_IS_TEMP_LOC | Instance Attribute | One-Time or Master Data Location | LIKE BOOLE_D | Private | |
| MV_LOCPRIO | Instance Attribute | Priority of Location | LIKE /SCMB/MDL_LOCPRIO | Public | |
| MV_LOC_TYPE | Instance Attribute | Classification of Locations | LIKE /SCMB/DE_TYPE_LOC | Public | |
| MV_PROCESS_CAL | Instance Attribute | Processing Calendar (Change of Means of Transport) | LIKE /SCMB/MDL_LOC_PPCAL | Public | |
| MV_PROCESS_DUR | Instance Attribute | Processing Duration (Change of Means of Transport) | LIKE TSTR_DURATION | Public | |
| MV_RECEIVE_CAL | Instance Attribute | Receiving Calendar | LIKE /SCMB/MDL_LOC_RCCAL | Public | |
| MV_SHIP_CAL | Instance Attribute | Shipping Calendar | LIKE /SCMB/MDL_LOC_SDCAL | Public | |
| MV_TYPE | Instance Attribute | Location Type | LIKE /SCMB/MDL_LOCTYPE | Public | |
| MV_TZONE | Instance Attribute | Time Zone | LIKE TZNZONE | Public | |
| 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 | |
| NO_LOC_TYPE | Constant | Unspecified Location(s) | '?' | LIKE /SCMB/DE_TYPE_LOC | 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