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_SPOT

Method 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 NameDescriptionVisability
ADD_ZONEAdd Zone including the LocationPublic
CALL METHOD /sctm/cl_location=>ADD_ZONE...more details

CONSTRUCTORPublic
CALL METHOD /sctm/cl_location=>CONSTRUCTOR...more details

DETERMINE_LEGS_BY_REQ_TYPEDetermine valid Legs including Location by Request TypeProtected
CALL METHOD /sctm/cl_location=>DETERMINE_LEGS_BY_REQ_TYPE...more details

FIND_DIRECT_ZONESDetermination of All Directly Defined ZonesPublic
CALL METHOD /sctm/cl_location=>FIND_DIRECT_ZONES...more details

FIND_LEG_ZONESDetermination of Zones Defined Using LegsPrivate
CALL METHOD /sctm/cl_location=>FIND_LEG_ZONES...more details

FIND_POSTAL_ZONESDetermination of All Zones Defined Using Postal CodesPublic
CALL METHOD /sctm/cl_location=>FIND_POSTAL_ZONES...more details

FIND_REGION_ZONESDetermination of All Zones Defined Using RegionsPublic
CALL METHOD /sctm/cl_location=>FIND_REGION_ZONES...more details

FIND_ZONESDetermination/Saving of All Zones with Given Type StructurePrivate
CALL METHOD /sctm/cl_location=>FIND_ZONES...more details

GET_BUSINESS_PARTNERGet Business PartnerPublic
CALL METHOD /sctm/cl_location=>GET_BUSINESS_PARTNER...more details

GET_COUNTRYCtryPublic
CALL METHOD /sctm/cl_location=>GET_COUNTRY...more details

GET_FIRST_LEG_STOPFirst Leg Stop to Which This Location BelongsPublic
CALL METHOD /sctm/cl_location=>GET_FIRST_LEG_STOP...more details

GET_LAST_LEG_STOPLast Leg Stop to Which This Location BelongsPublic
CALL METHOD /sctm/cl_location=>GET_LAST_LEG_STOP...more details

GET_LEGSReturn All Legs for Routes SpecifiedPublic
CALL METHOD /sctm/cl_location=>GET_LEGS...more details

GET_LOCPRIOReturn Location PriorityPublic
CALL METHOD /sctm/cl_location=>GET_LOCPRIO...more details

GET_POSTAL_CODEPostal CodePublic
CALL METHOD /sctm/cl_location=>GET_POSTAL_CODE...more details

GET_REGIONRegionPublic
CALL METHOD /sctm/cl_location=>GET_REGION...more details

GET_VALID_ZONES_FROM_GEOGRAPHYCheck all Geography Zones for Location inclusionProtected
CALL METHOD /sctm/cl_location=>GET_VALID_ZONES_FROM_GEOGRAPHY...more details

GET_ZONESReturn All Zones with Type Structure SpecifiedPublic
CALL METHOD /sctm/cl_location=>GET_ZONES...more details

IS_TEMP_LOCWas 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.

NameLevelDescriptionInitial ValueTypeVisability
ANY_LOC_TYPEConstantClassification of Locations'A'LIKE
/SCMB/DE_TYPE_LOC
Public
GEO_TYPEConstantClassification of Geographical Objects'L'LIKE
/SCMB/DE_TYPE_GEO
Public
MO_HIERARCHYInstance AttributeHierarchical LocationLIKE
/SCTM/CL_H_LOCATION
Public
MS_ADDRESSInstance AttributeAdapter: AddressLIKE
/SCTM/S_AD_ADDRESS
Public
MT_REQ_TYPE_LEGSInstance AttributeNumber of Legs for Given Request TypeLIKE
/SCTM/TT_REQ_TYPE_LEGS
Public
MT_ZONESInstance AttributeDirect parent ZonesLIKE
/SCTM/TT_ZONE
Private
MT_ZONES_ALLInstance AttributeAll parent Zones (incl. hierarchy)LIKE
/SCTM/TT_ZONE
Private
MV_ALL_PARENT_ZONES_READInstance AttributeAll parent zones determined (including hierarchy)ABAP_FALSELIKE
BOOLE_D
Protected
MV_BUPAInstance AttributeBusiness Partner NumberLIKE
BU_PARTNER
Protected
MV_BUPA_DESCRIPTIONInstance AttributeShort name of business partnerLIKE
BU_DESCRIP
Protected
MV_BUPA_GUIDInstance AttributeGUID of an SCM Master Data ObjectLIKE
/SCMB/DE_GUID
Protected
MV_DESCRIPTIONInstance AttributeDescriptionLIKE
/SCMB/DE_DESC
Public
MV_DIRECT_PARENT_ZONES_READInstance AttributeAll direct parent zones determined (including hierarchy)ABAP_FALSELIKE
BOOLE_D
Protected
MV_IS_TEMP_LOCInstance AttributeOne-Time or Master Data LocationLIKE
BOOLE_D
Private
MV_LOCPRIOInstance AttributePriority of LocationLIKE
/SCMB/MDL_LOCPRIO
Public
MV_LOC_TYPEInstance AttributeClassification of LocationsLIKE
/SCMB/DE_TYPE_LOC
Public
MV_PROCESS_CALInstance AttributeProcessing Calendar (Change of Means of Transport)LIKE
/SCMB/MDL_LOC_PPCAL
Public
MV_PROCESS_DURInstance AttributeProcessing Duration (Change of Means of Transport)LIKE
TSTR_DURATION
Public
MV_RECEIVE_CALInstance AttributeReceiving CalendarLIKE
/SCMB/MDL_LOC_RCCAL
Public
MV_SHIP_CALInstance AttributeShipping CalendarLIKE
/SCMB/MDL_LOC_SDCAL
Public
MV_TYPEInstance AttributeLocation TypeLIKE
/SCMB/MDL_LOCTYPE
Public
MV_TZONEInstance AttributeTime ZoneLIKE
TZNZONE
Public
MV_XPOSInstance AttributeLongitude Specified in GPS CoordinatesLIKE
/SCMB/MDL_HORIZGPS
Public
MV_YPOSInstance AttributeLatitude Specified in GPS CoordinatesLIKE
/SCMB/MDL_VERTIGPS
Public
NO_LOC_TYPEConstantUnspecified 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



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!