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_ZONEMethod 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 Name | Description | Visability |
| ADD_LEG_STOP | Add Stop with its Item | Public |
| CALL METHOD /sctm/cl_leg=>ADD_LEG_STOP...more details | ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /sctm/cl_leg=>CONSTRUCTOR...more details | ||
| GET_CUT_OFF_TIME | Determination of Cutoff Time | Public |
| CALL METHOD /sctm/cl_leg=>GET_CUT_OFF_TIME...more details | ||
| GET_DEPART_CAL | Departure Calendar | Public |
| CALL METHOD /sctm/cl_leg=>GET_DEPART_CAL...more details | ||
| GET_FIRST_STOP | First Stop Along This Leg To Which Given Location Belongs | Public |
| CALL METHOD /sctm/cl_leg=>GET_FIRST_STOP...more details | ||
| GET_LAST_STOP | Last Stop Along This Leg To Which Given Location Belongs | Public |
| CALL METHOD /sctm/cl_leg=>GET_LAST_STOP...more details | ||
|
| ||
| GET_LEG_STOP | Stop Along Leg for Given Item in Given Direction | Public |
| CALL METHOD /sctm/cl_leg=>GET_LEG_STOP...more details | ||
| GET_LEG_STOP_BY_SEQ_NUM | Stop Along Leg With Given Sequence Number | Public |
| CALL METHOD /sctm/cl_leg=>GET_LEG_STOP_BY_SEQ_NUM...more details | ||
| GET_LOC_FR | Start Location (Initial If First Stop Is Not a Location) | Public |
| CALL METHOD /sctm/cl_leg=>GET_LOC_FR...more details | ||
| GET_LOC_TO | Destin. Location (Initial If Last Stop Is Not a Location) | Public |
| CALL METHOD /sctm/cl_leg=>GET_LOC_TO...more details | ||
| GET_MOT | Transportation Mode: Unique for All Legs-Means of Transport | Public |
| CALL METHOD /sctm/cl_leg=>GET_MOT...more details | ||
| GET_NUMB_STOPS | Number of Stop-Offs | Public |
| CALL METHOD /sctm/cl_leg=>GET_NUMB_STOPS...more details | ||
| GET_SPOT_FR | Start SC Unit | Public |
| CALL METHOD /sctm/cl_leg=>GET_SPOT_FR...more details | ||
| GET_SPOT_TO | Destination SC Unit | Public |
| CALL METHOD /sctm/cl_leg=>GET_SPOT_TO...more details | ||
| GET_STOPS_OF_LOCS | Indexes of Stops for the Given Locations | Public |
| CALL METHOD /sctm/cl_leg=>GET_STOPS_OF_LOCS...more details | ||
| GET_TRIP_LOCS | The Locations in This Leg Relevant to a Trip | Public |
| CALL METHOD /sctm/cl_leg=>GET_TRIP_LOCS...more details | ||
| IS_WORK_DAY | Private | |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| MO_HIERARCHY_LEG | Instance Attribute | Hierarchical Zone | LIKE /SCTM/CL_H_LEG | Public | |
| MO_LEG_STOPS | Instance Attribute | Sequence of Leg Stops | LIKE /SCTM/CL_OBJECT_SEQUENCE | Private | |
| MO_MTR | Instance Attribute | Means of Transport for the Leg | LIKE /SCTM/CL_MTR | Public | |
| MS_VALID | Instance Attribute | Validity Period | LIKE /SCMB/S_VAL_PERIOD | Public | |
| MT_DEPART_CALS | Instance Attribute | Number of Departure Calendars Depending on Request Types | LIKE /SCTM/TT_REQTYPE_DEPCAL | Private | |
| MT_VALID_TSPS | Instance Attribute | Validity Periods for Transportation Service Providers | LIKE /SCTM/TT_VALID_TSP | Private | |
| MV_CONSISTENT | Instance Attribute | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Public | |
| MV_DEL_FLAG | Instance Attribute | Deletion Flag | LIKE /SCMB/DE_DEL_FLAG | Public | |
| MV_GTS_CODE | Instance Attribute | Export Indicator | LIKE /SCMB/DE_LEG_GTS_CODE | Public | |
| MV_ROUTE_GUID | Instance Attribute | GUID of an SCM Master Data Object | LIKE /SCMB/DE_GUID | Public | |
| MV_SEQ_NUM | Instance Attribute | Sequence Number | LIKE /SCMB/DE_SEQ_NUM | Public | |
| MV_SEQ_STRATEGY | Instance Attribute | Sequence Strategy | LIKE /SCMB/DE_SEQ_STRATEGY | Public | |
| ZONE_TYPE | Constant | Classification 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