SAP /SCTM/CL_LEG OO Class - Leg Zone









/SCTM/CL_LEG 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_LEG 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_LEG is /SCTM/CL_ZONE

Method list of /SCTM/CL_LEG 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_LEG_STOPAdd Stop with its ItemPublic
CALL METHOD /sctm/cl_leg=>ADD_LEG_STOP...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD /sctm/cl_leg=>CONSTRUCTOR...more details

GET_CUT_OFF_TIMEDetermination of Cutoff TimePublic
CALL METHOD /sctm/cl_leg=>GET_CUT_OFF_TIME...more details

GET_DEPART_CALDeparture CalendarPublic
CALL METHOD /sctm/cl_leg=>GET_DEPART_CAL...more details

GET_FIRST_STOPFirst Stop Along This Leg To Which Given Location BelongsPublic
CALL METHOD /sctm/cl_leg=>GET_FIRST_STOP...more details

GET_LAST_STOPLast Stop Along This Leg To Which Given Location BelongsPublic
CALL METHOD /sctm/cl_leg=>GET_LAST_STOP...more details

GET_LEG_STOPStop Along Leg for Given Item in Given DirectionPublic
CALL METHOD /sctm/cl_leg=>GET_LEG_STOP...more details

GET_LEG_STOP_BY_SEQ_NUMStop Along Leg With Given Sequence NumberPublic
CALL METHOD /sctm/cl_leg=>GET_LEG_STOP_BY_SEQ_NUM...more details

GET_LOC_FRStart Location (Initial If First Stop Is Not a Location)Public
CALL METHOD /sctm/cl_leg=>GET_LOC_FR...more details

GET_LOC_TODestin. Location (Initial If Last Stop Is Not a Location)Public
CALL METHOD /sctm/cl_leg=>GET_LOC_TO...more details

GET_MOTTransportation Mode: Unique for All Legs-Means of TransportPublic
CALL METHOD /sctm/cl_leg=>GET_MOT...more details

GET_NUMB_STOPSNumber of Stop-OffsPublic
CALL METHOD /sctm/cl_leg=>GET_NUMB_STOPS...more details

GET_SPOT_FRStart SC UnitPublic
CALL METHOD /sctm/cl_leg=>GET_SPOT_FR...more details

GET_SPOT_TODestination SC UnitPublic
CALL METHOD /sctm/cl_leg=>GET_SPOT_TO...more details

GET_STOPS_OF_LOCSIndexes of Stops for the Given LocationsPublic
CALL METHOD /sctm/cl_leg=>GET_STOPS_OF_LOCS...more details

GET_TRIP_LOCSThe Locations in This Leg Relevant to a TripPublic
CALL METHOD /sctm/cl_leg=>GET_TRIP_LOCS...more details

IS_WORK_DAYPrivate
CALL METHOD /sctm/cl_leg=>IS_WORK_DAY...more details



/SCTM/CL_LEG 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
MO_HIERARCHY_LEGInstance AttributeHierarchical ZoneLIKE
/SCTM/CL_H_LEG
Public
MO_LEG_STOPSInstance AttributeSequence of Leg StopsLIKE
/SCTM/CL_OBJECT_SEQUENCE
Private
MO_MTRInstance AttributeMeans of Transport for the LegLIKE
/SCTM/CL_MTR
Public
MS_VALIDInstance AttributeValidity PeriodLIKE
/SCMB/S_VAL_PERIOD
Public
MT_DEPART_CALSInstance AttributeNumber of Departure Calendars Depending on Request TypesLIKE
/SCTM/TT_REQTYPE_DEPCAL
Private
MT_VALID_TSPSInstance AttributeValidity Periods for Transportation Service ProvidersLIKE
/SCTM/TT_VALID_TSP
Private
MV_CONSISTENTInstance AttributeData Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Public
MV_DEL_FLAGInstance AttributeDeletion FlagLIKE
/SCMB/DE_DEL_FLAG
Public
MV_GTS_CODEInstance AttributeExport IndicatorLIKE
/SCMB/DE_LEG_GTS_CODE
Public
MV_ROUTE_GUIDInstance AttributeGUID of an SCM Master Data ObjectLIKE
/SCMB/DE_GUID
Public
MV_SEQ_NUMInstance AttributeSequence NumberLIKE
/SCMB/DE_SEQ_NUM
Public
MV_SEQ_STRATEGYInstance AttributeSequence StrategyLIKE
/SCMB/DE_SEQ_STRATEGY
Public
ZONE_TYPEConstantClassification of Zones'L'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



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!