SAP /SCTM/CL_LEG_SP OO Class - Service Provider: Leg









/SCTM/CL_LEG_SP 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_SP including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_ACTION

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_ASPECT

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_LOCKING

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_QUERY

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_TRANSACTION

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMB/IF_SP_VALUE_SET

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_SP is /SCTM/CL_SP

Method list of /SCTM/CL_LEG_SP 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
ACTIONPrivate
CALL METHOD /sctm/cl_leg_sp=>ACTION...more details

BEFORE_SAVEPrivate
CALL METHOD /sctm/cl_leg_sp=>BEFORE_SAVE...more details

CALCULATE_TRANSPORT_TIMECalculate total Transportation TimePrivate
CALL METHOD /sctm/cl_leg_sp=>CALCULATE_TRANSPORT_TIME...more details

CHECK_DEPARTURESCheck departure consistencyPrivate
CALL METHOD /sctm/cl_leg_sp=>CHECK_DEPARTURES...more details

CHECK_LEG_TSPCheck TSP assignmentPrivate
CALL METHOD /sctm/cl_leg_sp=>CHECK_LEG_TSP...more details

CHECK_MIN_MAX_TIMECheck consistency of min and max time constraintsPrivate
CALL METHOD /sctm/cl_leg_sp=>CHECK_MIN_MAX_TIME...more details

CHECK_MIN_MAX_TIME_STOPCheck min / max times of a stopPrivate
CALL METHOD /sctm/cl_leg_sp=>CHECK_MIN_MAX_TIME_STOP...more details

CLEANUPPrivate
CALL METHOD /sctm/cl_leg_sp=>CLEANUP...more details

COMBINE_DEPARTURESCombine Standard and exceptional departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES...more details

COMBINE_DEPARTURES_AFTER_CHGCombine Standard and exceptional departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES_AFTER_CHG...more details

COMBINE_DEPARTURES_PREPAREPrepare the departure combination (calendar + schedule)Private
CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES_PREPARE...more details

CONSTRUCTORConstructorPublic
CALL METHOD /sctm/cl_leg_sp=>CONSTRUCTOR...more details

DELETEPrivate
CALL METHOD /sctm/cl_leg_sp=>DELETE...more details

DELETE_LEG_CALSDelete Calendar assignmentsProtected
CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_CALS...more details

DELETE_LEG_DEPARTURESDelete concrete Leg departureProtected
CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_DEPARTURES...more details

DELETE_LEG_HEADSDelete Leg headerProtected
CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_HEADS...more details

DELETE_LEG_STOPSDelete Leg StopProtected
CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_STOPS...more details

DELETE_LEG_TSPSDelete assigned TSPProtected
CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_TSPS...more details

DEPARTURE_FIX_ALLFix all departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_FIX_ALL...more details

DEPARTURE_FIX_CHECKCheck fixing inputPrivate
CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_FIX_CHECK...more details

DEPARTURE_RESTORERestore departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_RESTORE...more details

DEPARTURE_UNFIX_ALLUnfix all departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_UNFIX_ALL...more details

DISPLAY_DEPARTUREDisplay Departure overviewPublic
CALL METHOD /sctm/cl_leg_sp=>DISPLAY_DEPARTURE...more details

END_OF_QUEUEPrivate
CALL METHOD /sctm/cl_leg_sp=>END_OF_QUEUE...more details

EXECUTEPrivate
CALL METHOD /sctm/cl_leg_sp=>EXECUTE...more details

EXIST_STOPCheck if Stop exists as Location or ZonePrivate
CALL METHOD /sctm/cl_leg_sp=>EXIST_STOP...more details

GET_DEPARTURESGet Departures for selected Leg Calendar assignmentPublic
CALL METHOD /sctm/cl_leg_sp=>GET_DEPARTURES...more details

GET_LAST_SEQ_NUMGet last available sequence number for stopPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_LAST_SEQ_NUM...more details

GET_LEGLeg That Is Not to Be DeletedPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_LEG...more details

GET_LEG_CALDeparture Calendar of Leg That Is Not to Be DeletedPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_LEG_CAL...more details

GET_LEG_IDGet the ID of a LegPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_LEG_ID...more details

GET_LEG_TSPTSP of Leg That Is Not to Be DeletedPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_LEG_TSP...more details

GET_NUMB_STOPSNumber of Stops Along a Leg That Are Not to Be DeletedPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_NUMB_STOPS...more details

GET_STOPStop Along a Leg That Is Not to Be DeletedPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_STOP...more details

GET_STOP_IDGet the ID of a StopPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_STOP_ID...more details

GET_VALIDITY_PERIODCheck of Validity Interval EnteredPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_VALIDITY_PERIOD...more details

GET_VALUE_SETPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_VALUE_SET...more details

GET_VISIT_RULE_DESCRDescription of Fixed Value for Domain VISIT_RULEPrivate
CALL METHOD /sctm/cl_leg_sp=>GET_VISIT_RULE_DESCR...more details

INSERTPrivate
CALL METHOD /sctm/cl_leg_sp=>INSERT...more details

INSERT_LEG_CALInsert Calendar assignmentProtected
CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_CAL...more details

INSERT_LEG_DEPARTURESInsert concrete Leg departureProtected
CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_DEPARTURES...more details

INSERT_LEG_HEADInsert Leg headerProtected
CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_HEAD...more details

INSERT_LEG_STOPInsert Leg StopProtected
CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_STOP...more details

INSERT_LEG_TSPInsert assigned TSPProtected
CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_TSP...more details

IS_CALENDAR_DEPARTUREIs departure a Calendar departure?Private
CALL METHOD /sctm/cl_leg_sp=>IS_CALENDAR_DEPARTURE...more details

IS_IN_EDIT_MODECan the Given Leg Currently Be Changed?Private
CALL METHOD /sctm/cl_leg_sp=>IS_IN_EDIT_MODE...more details

IS_MTR_OK_FOR_LEGCan the Given Means of Transport Be Used on the Given Leg?Private
CALL METHOD /sctm/cl_leg_sp=>IS_MTR_OK_FOR_LEG...more details

LEG_COPYCopy a LegPrivate
CALL METHOD /sctm/cl_leg_sp=>LEG_COPY...more details

LOCKPrivate
CALL METHOD /sctm/cl_leg_sp=>LOCK...more details

QUERYPrivate
CALL METHOD /sctm/cl_leg_sp=>QUERY...more details

READ_CALENDAR_DEPARTURESRead Calendar departuresPrivate
CALL METHOD /sctm/cl_leg_sp=>READ_CALENDAR_DEPARTURES...more details

READ_FROM_DBRead the data from the DB (call adapter)Private
CALL METHOD /sctm/cl_leg_sp=>READ_FROM_DB...more details

REJECT_CHANGE_LEGAuthority Check for changing a LegPrivate
CALL METHOD /sctm/cl_leg_sp=>REJECT_CHANGE_LEG...more details

SAVEPrivate
CALL METHOD /sctm/cl_leg_sp=>SAVE...more details

SELECTPrivate
CALL METHOD /sctm/cl_leg_sp=>SELECT...more details

SELECT_BY_RELATIONPrivate
CALL METHOD /sctm/cl_leg_sp=>SELECT_BY_RELATION...more details

SELECT_LEGS_CALSSelect Calendars assignmentsProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_CALS...more details

SELECT_LEGS_DEPARTURESSelect concrete Leg departureProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_DEPARTURES...more details

SELECT_LEGS_DEP_OVERVIEWShow departure overviewProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_DEP_OVERVIEW...more details

SELECT_LEGS_HEADSSelect Leg headerProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_HEADS...more details

SELECT_LEGS_STOPSSelect Leg StopProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_STOPS...more details

SELECT_LEGS_TSPSSelect assigned TSPProtected
CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_TSPS...more details

SET_PLANNING_HORIZONSet the planning horizonPublic
CALL METHOD /sctm/cl_leg_sp=>SET_PLANNING_HORIZON...more details

UNLOCKPrivate
CALL METHOD /sctm/cl_leg_sp=>UNLOCK...more details

UPDATEPrivate
CALL METHOD /sctm/cl_leg_sp=>UPDATE...more details

UPDATE_ADMINUpdate HistoryPrivate
CALL METHOD /sctm/cl_leg_sp=>UPDATE_ADMIN...more details

UPDATE_LEG_CALSUpdate Calendar assignmentProtected
CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_CALS...more details

UPDATE_LEG_DEPARTURESUpdate concrete Leg departuresProtected
CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_DEPARTURES...more details

UPDATE_LEG_HEADSUpdate Leg headerProtected
CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_HEADS...more details

UPDATE_LEG_STOPSUpdate Leg StopProtected
CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_STOPS...more details

UPDATE_LEG_TSPSUpdate assigned TSPProtected
CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_TSPS...more details



/SCTM/CL_LEG_SP 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_LEG_BADIInstance AttributeLeg BADILIKE
/SCTM/EX_LEG_MD
Private
MS_PLANNING_HORIZONInstance AttributeValidity PeriodLIKE
/SCMB/S_VAL_PERIOD
Private
MT_CAL_TIMES_ALLInstance AttributeDepartures: standard calendar departuresLIKE
LY_T_CAL_TIME
Private
MT_LEG_CALS_ALLInstance AttributeAdapter: Leg Departure CalendarLIKE
/SCTM/TT_AD_LEG_CAL
Private
MT_LEG_DEPARTURES_ALLInstance AttributeDepartures: specific leg departuresLIKE
LY_T_LEG_DEPARTURES
Private
MT_LEG_DEP_OVERVIEWInstance AttributeLeg UI: Concrete Departure OverviewLIKE
/SCTM/TT_SP_A_LEG_DEP_OVERVIEW
Private
MT_LEG_DEP_TIMES_ALLInstance AttributeDepartures: combined standard and specific departuresLIKE
LY_T_LEG_DEPARTURES_COMBI
Private
MT_LEG_DEP_TIMES_DISPLAYInstance AttributeDepartures: departures for displayLIKE
/SCTM/TT_SP_A_LEG_DEP
Private
MT_LEG_HDS_ALLInstance AttributeAdapter: Leg HeaderLIKE
/SCTM/TT_AD_LEG_HD
Private
MT_LEG_STOPS_ALLInstance AttributeAdapter: Leg StopLIKE
/SCTM/TT_AD_LEG_STOPS
Private
MT_LEG_TSPS_ALLInstance AttributeAdapter: Leg TSPLIKE
/SCTM/TT_AD_LEG_TSP
Private
MV_APPLICATIONInstance AttributeUsage IndicatorLIKE
/SCTM/DE_APP_KZ
Public
MV_SEL_DEPARTUREInstance AttributeSelected DepartureLIKE
/SCTM/S_SP_K_LEG_DEP
Private
SC_CLEANUP_COMMITInstance AttributeLIKE
Private
SC_CLEANUP_DEQUEUEInstance AttributeLIKE
Private
SC_CLEANUP_ENDInstance AttributeLIKE
Private


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!