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_ACTIONInterface 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_ASPECTInterface 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_LOCKINGInterface 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_QUERYInterface 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_TRANSACTIONInterface 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_SETInheritance
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_SPMethod 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 Name | Description | Visability |
| ACTION | Private | |
| CALL METHOD /sctm/cl_leg_sp=>ACTION...more details | ||
| BEFORE_SAVE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>BEFORE_SAVE...more details | ||
| CALCULATE_TRANSPORT_TIME | Calculate total Transportation Time | Private |
| CALL METHOD /sctm/cl_leg_sp=>CALCULATE_TRANSPORT_TIME...more details | ||
| CHECK_DEPARTURES | Check departure consistency | Private |
| CALL METHOD /sctm/cl_leg_sp=>CHECK_DEPARTURES...more details | ||
| CHECK_LEG_TSP | Check TSP assignment | Private |
| CALL METHOD /sctm/cl_leg_sp=>CHECK_LEG_TSP...more details | ||
| CHECK_MIN_MAX_TIME | Check consistency of min and max time constraints | Private |
| CALL METHOD /sctm/cl_leg_sp=>CHECK_MIN_MAX_TIME...more details | ||
|
| ||
| CHECK_MIN_MAX_TIME_STOP | Check min / max times of a stop | Private |
| CALL METHOD /sctm/cl_leg_sp=>CHECK_MIN_MAX_TIME_STOP...more details | ||
| CLEANUP | Private | |
| CALL METHOD /sctm/cl_leg_sp=>CLEANUP...more details | ||
| COMBINE_DEPARTURES | Combine Standard and exceptional departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES...more details | ||
| COMBINE_DEPARTURES_AFTER_CHG | Combine Standard and exceptional departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES_AFTER_CHG...more details | ||
| COMBINE_DEPARTURES_PREPARE | Prepare the departure combination (calendar + schedule) | Private |
| CALL METHOD /sctm/cl_leg_sp=>COMBINE_DEPARTURES_PREPARE...more details | ||
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD /sctm/cl_leg_sp=>CONSTRUCTOR...more details | ||
| DELETE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>DELETE...more details | ||
| DELETE_LEG_CALS | Delete Calendar assignments | Protected |
| CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_CALS...more details | ||
| DELETE_LEG_DEPARTURES | Delete concrete Leg departure | Protected |
| CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_DEPARTURES...more details | ||
| DELETE_LEG_HEADS | Delete Leg header | Protected |
| CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_HEADS...more details | ||
| DELETE_LEG_STOPS | Delete Leg Stop | Protected |
| CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_STOPS...more details | ||
| DELETE_LEG_TSPS | Delete assigned TSP | Protected |
| CALL METHOD /sctm/cl_leg_sp=>DELETE_LEG_TSPS...more details | ||
| DEPARTURE_FIX_ALL | Fix all departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_FIX_ALL...more details | ||
| DEPARTURE_FIX_CHECK | Check fixing input | Private |
| CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_FIX_CHECK...more details | ||
| DEPARTURE_RESTORE | Restore departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_RESTORE...more details | ||
| DEPARTURE_UNFIX_ALL | Unfix all departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>DEPARTURE_UNFIX_ALL...more details | ||
| DISPLAY_DEPARTURE | Display Departure overview | Public |
| CALL METHOD /sctm/cl_leg_sp=>DISPLAY_DEPARTURE...more details | ||
| END_OF_QUEUE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>END_OF_QUEUE...more details | ||
| EXECUTE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>EXECUTE...more details | ||
| EXIST_STOP | Check if Stop exists as Location or Zone | Private |
| CALL METHOD /sctm/cl_leg_sp=>EXIST_STOP...more details | ||
| GET_DEPARTURES | Get Departures for selected Leg Calendar assignment | Public |
| CALL METHOD /sctm/cl_leg_sp=>GET_DEPARTURES...more details | ||
| GET_LAST_SEQ_NUM | Get last available sequence number for stop | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_LAST_SEQ_NUM...more details | ||
| GET_LEG | Leg That Is Not to Be Deleted | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_LEG...more details | ||
| GET_LEG_CAL | Departure Calendar of Leg That Is Not to Be Deleted | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_LEG_CAL...more details | ||
| GET_LEG_ID | Get the ID of a Leg | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_LEG_ID...more details | ||
| GET_LEG_TSP | TSP of Leg That Is Not to Be Deleted | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_LEG_TSP...more details | ||
| GET_NUMB_STOPS | Number of Stops Along a Leg That Are Not to Be Deleted | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_NUMB_STOPS...more details | ||
| GET_STOP | Stop Along a Leg That Is Not to Be Deleted | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_STOP...more details | ||
| GET_STOP_ID | Get the ID of a Stop | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_STOP_ID...more details | ||
| GET_VALIDITY_PERIOD | Check of Validity Interval Entered | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_VALIDITY_PERIOD...more details | ||
| GET_VALUE_SET | Private | |
| CALL METHOD /sctm/cl_leg_sp=>GET_VALUE_SET...more details | ||
| GET_VISIT_RULE_DESCR | Description of Fixed Value for Domain VISIT_RULE | Private |
| CALL METHOD /sctm/cl_leg_sp=>GET_VISIT_RULE_DESCR...more details | ||
| INSERT | Private | |
| CALL METHOD /sctm/cl_leg_sp=>INSERT...more details | ||
| INSERT_LEG_CAL | Insert Calendar assignment | Protected |
| CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_CAL...more details | ||
| INSERT_LEG_DEPARTURES | Insert concrete Leg departure | Protected |
| CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_DEPARTURES...more details | ||
| INSERT_LEG_HEAD | Insert Leg header | Protected |
| CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_HEAD...more details | ||
| INSERT_LEG_STOP | Insert Leg Stop | Protected |
| CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_STOP...more details | ||
| INSERT_LEG_TSP | Insert assigned TSP | Protected |
| CALL METHOD /sctm/cl_leg_sp=>INSERT_LEG_TSP...more details | ||
| IS_CALENDAR_DEPARTURE | Is departure a Calendar departure? | Private |
| CALL METHOD /sctm/cl_leg_sp=>IS_CALENDAR_DEPARTURE...more details | ||
| IS_IN_EDIT_MODE | Can the Given Leg Currently Be Changed? | Private |
| CALL METHOD /sctm/cl_leg_sp=>IS_IN_EDIT_MODE...more details | ||
| IS_MTR_OK_FOR_LEG | Can 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_COPY | Copy a Leg | Private |
| CALL METHOD /sctm/cl_leg_sp=>LEG_COPY...more details | ||
| LOCK | Private | |
| CALL METHOD /sctm/cl_leg_sp=>LOCK...more details | ||
| QUERY | Private | |
| CALL METHOD /sctm/cl_leg_sp=>QUERY...more details | ||
| READ_CALENDAR_DEPARTURES | Read Calendar departures | Private |
| CALL METHOD /sctm/cl_leg_sp=>READ_CALENDAR_DEPARTURES...more details | ||
| READ_FROM_DB | Read the data from the DB (call adapter) | Private |
| CALL METHOD /sctm/cl_leg_sp=>READ_FROM_DB...more details | ||
| REJECT_CHANGE_LEG | Authority Check for changing a Leg | Private |
| CALL METHOD /sctm/cl_leg_sp=>REJECT_CHANGE_LEG...more details | ||
| SAVE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>SAVE...more details | ||
| SELECT | Private | |
| CALL METHOD /sctm/cl_leg_sp=>SELECT...more details | ||
| SELECT_BY_RELATION | Private | |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_BY_RELATION...more details | ||
| SELECT_LEGS_CALS | Select Calendars assignments | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_CALS...more details | ||
| SELECT_LEGS_DEPARTURES | Select concrete Leg departure | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_DEPARTURES...more details | ||
| SELECT_LEGS_DEP_OVERVIEW | Show departure overview | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_DEP_OVERVIEW...more details | ||
| SELECT_LEGS_HEADS | Select Leg header | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_HEADS...more details | ||
| SELECT_LEGS_STOPS | Select Leg Stop | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_STOPS...more details | ||
| SELECT_LEGS_TSPS | Select assigned TSP | Protected |
| CALL METHOD /sctm/cl_leg_sp=>SELECT_LEGS_TSPS...more details | ||
| SET_PLANNING_HORIZON | Set the planning horizon | Public |
| CALL METHOD /sctm/cl_leg_sp=>SET_PLANNING_HORIZON...more details | ||
| UNLOCK | Private | |
| CALL METHOD /sctm/cl_leg_sp=>UNLOCK...more details | ||
| UPDATE | Private | |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE...more details | ||
| UPDATE_ADMIN | Update History | Private |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE_ADMIN...more details | ||
| UPDATE_LEG_CALS | Update Calendar assignment | Protected |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_CALS...more details | ||
| UPDATE_LEG_DEPARTURES | Update concrete Leg departures | Protected |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_DEPARTURES...more details | ||
| UPDATE_LEG_HEADS | Update Leg header | Protected |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_HEADS...more details | ||
| UPDATE_LEG_STOPS | Update Leg Stop | Protected |
| CALL METHOD /sctm/cl_leg_sp=>UPDATE_LEG_STOPS...more details | ||
| UPDATE_LEG_TSPS | Update assigned TSP | Protected |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| MO_LEG_BADI | Instance Attribute | Leg BADI | LIKE /SCTM/EX_LEG_MD | Private | |
| MS_PLANNING_HORIZON | Instance Attribute | Validity Period | LIKE /SCMB/S_VAL_PERIOD | Private | |
| MT_CAL_TIMES_ALL | Instance Attribute | Departures: standard calendar departures | LIKE LY_T_CAL_TIME | Private | |
| MT_LEG_CALS_ALL | Instance Attribute | Adapter: Leg Departure Calendar | LIKE /SCTM/TT_AD_LEG_CAL | Private | |
| MT_LEG_DEPARTURES_ALL | Instance Attribute | Departures: specific leg departures | LIKE LY_T_LEG_DEPARTURES | Private | |
| MT_LEG_DEP_OVERVIEW | Instance Attribute | Leg UI: Concrete Departure Overview | LIKE /SCTM/TT_SP_A_LEG_DEP_OVERVIEW | Private | |
| MT_LEG_DEP_TIMES_ALL | Instance Attribute | Departures: combined standard and specific departures | LIKE LY_T_LEG_DEPARTURES_COMBI | Private | |
| MT_LEG_DEP_TIMES_DISPLAY | Instance Attribute | Departures: departures for display | LIKE /SCTM/TT_SP_A_LEG_DEP | Private | |
| MT_LEG_HDS_ALL | Instance Attribute | Adapter: Leg Header | LIKE /SCTM/TT_AD_LEG_HD | Private | |
| MT_LEG_STOPS_ALL | Instance Attribute | Adapter: Leg Stop | LIKE /SCTM/TT_AD_LEG_STOPS | Private | |
| MT_LEG_TSPS_ALL | Instance Attribute | Adapter: Leg TSP | LIKE /SCTM/TT_AD_LEG_TSP | Private | |
| MV_APPLICATION | Instance Attribute | Usage Indicator | LIKE /SCTM/DE_APP_KZ | Public | |
| MV_SEL_DEPARTURE | Instance Attribute | Selected Departure | LIKE /SCTM/S_SP_K_LEG_DEP | Private | |
| SC_CLEANUP_COMMIT | Instance Attribute | LIKE | Private | ||
| SC_CLEANUP_DEQUEUE | Instance Attribute | LIKE | Private | ||
| SC_CLEANUP_END | Instance Attribute | LIKE | 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