SAP /SCTM/CL_LEG_TRIP OO Class - Unimodal Leg of a Trip
/SCTM/CL_LEG_TRIP 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_TRIP 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_TRIP is /SCTM/CL_BASE_TRIPMethod list of /SCTM/CL_LEG_TRIP 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 |
| BUNDLE | Bundle Given Legs into New Leg | Public |
| CALL METHOD /sctm/cl_leg_trip=>BUNDLE...more details | ||
| CLONE | Generate Duplicate | Public |
| CALL METHOD /sctm/cl_leg_trip=>CLONE...more details | ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /sctm/cl_leg_trip=>CONSTRUCTOR...more details | ||
| DEL_DUPLICATE_ASSIGNMENTS | Private | |
| CALL METHOD /sctm/cl_leg_trip=>DEL_DUPLICATE_ASSIGNMENTS...more details | ||
| DEL_NON_HAZ_TSPS | Delete TSPs Without Dangerous Goods Transp. from Assignments | Public |
| CALL METHOD /sctm/cl_leg_trip=>DEL_NON_HAZ_TSPS...more details | ||
| EVALUATE | Reporting | Public |
| CALL METHOD /sctm/cl_leg_trip=>EVALUATE...more details | ||
|
| ||
| GET_DG_STAGES | Private | |
| CALL METHOD /sctm/cl_leg_trip=>GET_DG_STAGES...more details | ||
| GET_LANE | Way for Position Specified | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_LANE...more details | ||
| GET_LOC | Location for Item Specified | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_LOC...more details | ||
| GET_MOT | Transportation Mode: Unique for All Legs-Means of Transport | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_MOT...more details | ||
| GET_NUM_LOCS | Private | |
| CALL METHOD /sctm/cl_leg_trip=>GET_NUM_LOCS...more details | ||
| GET_SEQ_NUM_LOC | Stop Number of Location Described | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_SEQ_NUM_LOC...more details | ||
| GET_TRANS_END | End of Transportation Activity (Start of Receipt Activity) | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_TRANS_END...more details | ||
| GET_TRANS_START | Start of Transportation Activity (End of Departure Activity) | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_TRANS_START...more details | ||
| GET_UNIQUE_MTR | Selected Means of Transport | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_UNIQUE_MTR...more details | ||
| GET_UNIQUE_TSP | Selected Transportation Service Provider | Public |
| CALL METHOD /sctm/cl_leg_trip=>GET_UNIQUE_TSP...more details | ||
| SET_END_TIME | End Time (of This Leg Activity) | Public |
| CALL METHOD /sctm/cl_leg_trip=>SET_END_TIME...more details | ||
| SET_SCHD_TIME_FROM | Direction-Dependent Time (Start or End Time) | Public |
| CALL METHOD /sctm/cl_leg_trip=>SET_SCHD_TIME_FROM...more details | ||
| SET_SCHD_TIME_TO | Direction-Dependent Time (Start or End Time) | Public |
| CALL METHOD /sctm/cl_leg_trip=>SET_SCHD_TIME_TO...more details | ||
| SET_START_TIME | Start Time (of This Leg Activity) | Public |
| CALL METHOD /sctm/cl_leg_trip=>SET_START_TIME...more details | ||
| SPLIT | Divide This Leg Accord. to Format Switch | Public |
| CALL METHOD /sctm/cl_leg_trip=>SPLIT...more details | ||
| TRANSFORM | Result | Public |
| CALL METHOD /sctm/cl_leg_trip=>TRANSFORM...more details | ||
/SCTM/CL_LEG_TRIP 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 | Instance Attribute | Reference Leg | LIKE /SCTM/CL_LEG | Public | |
| MT_ASSIGNS | Instance Attribute | Quantity of Valuated Assignments | LIKE /SCTM/TT_ASSIGN_VALUE | Public | |
| MV_DEPART_START | Instance Attribute | Start Time of Departure (Processing End Time) | LIKE /SCMB/DE_TIMESTAMP | Public | |
| MV_END | Instance Attribute | End Time of the Leg Activity | LIKE /SCMB/DE_TIMESTAMP | Private | |
| MV_SEQ_NUM_FIRST_LOC | Instance Attribute | Stop Number of First Location | LIKE /SCMB/DE_SEQ_NUM | Private | |
| MV_START | Instance Attribute | Start Time of the Leg Activity | LIKE /SCMB/DE_TIMESTAMP | 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