SAP /SCTM/CL_MTR OO Class - Means of Transport









/SCTM/CL_MTR 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_MTR including details of:

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



Method list of /SCTM/CL_MTR 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_DIRECT_PARENTIntroduction of Direct ParentPublic
CALL METHOD /sctm/cl_mtr=>ADD_DIRECT_PARENT...more details

CHECK_PRODUCTSIs Means of Transport Large Enough for Given Products?Public
CALL METHOD /sctm/cl_mtr=>CHECK_PRODUCTS...more details

COMPARE_QUANTSCompare Quantities with Any Different UnitsPublic
CALL METHOD /sctm/cl_mtr=>COMPARE_QUANTS...more details

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

GET_CHILDRENAll Lower-Level Means of TransportPublic
CALL METHOD /sctm/cl_mtr=>GET_CHILDREN...more details

GET_DIRECT_CHILDRENNext Lower-Level Means of TransportPublic
CALL METHOD /sctm/cl_mtr=>GET_DIRECT_CHILDREN...more details

GET_DIRECT_PARENTHigher-Level Means of TransportPublic
CALL METHOD /sctm/cl_mtr=>GET_DIRECT_PARENT...more details

GET_PARENTSAll Higher-Level Means of TransportPublic
CALL METHOD /sctm/cl_mtr=>GET_PARENTS...more details

GET_UIDUnique IdentificationPublic
CALL METHOD /sctm/cl_mtr=>GET_UID...more details

IS_CHILD_OFIs This MTr Subordinate to Given MTr?Public
CALL METHOD /sctm/cl_mtr=>IS_CHILD_OF...more details

IS_PARENT_OFIs This MTr Superior to Given MTr?Public
CALL METHOD /sctm/cl_mtr=>IS_PARENT_OF...more details

IS_RELATIVE_OFIs This MTr Subordinate or Superior to Given MTr?Public
CALL METHOD /sctm/cl_mtr=>IS_RELATIVE_OF...more details

REMOVE_CHILDRENRemove Every MTr which is Child of Another MTrPublic
CALL METHOD /sctm/cl_mtr=>REMOVE_CHILDREN...more details



/SCTM/CL_MTR 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_HIERARCHYInstance AttributeHierarchy of This Means of TransportLIKE
/SCTM/CL_H_MTR
Public
MV_IDInstance AttributeMeans of Transport DescriptionLIKE
/SCMB/DE_MTR_UID
Public
MV_LOAD_HGTInstance AttributeHeightLIKE
HOEHE
Private
MV_LOAD_LENInstance AttributeLengthLIKE
LAENG
Private
MV_LOAD_VOLInstance AttributeVolumeLIKE
VOLUM
Private
MV_LOAD_WGTInstance AttributeGross WeightLIKE
BRGEW
Private
MV_LOAD_WIDInstance AttributeWidthLIKE
BREIT
Private
MV_MOTInstance AttributeTransportation ModeLIKE
/SCMB/MDL_TRMODE
Public
MV_MOT_CODEInstance AttributeTransportation ModeLIKE
/SAPAPO/TRMODCODE
Public
MV_UOM_LWHInstance AttributeUnit of Dimension for Length/Width/HeightLIKE
MEABM
Private
MV_UOM_VOLInstance AttributeUnit of VolumeLIKE
VOLEH
Private
MV_UOM_WGTInstance AttributeUnit of WeightLIKE
GEWEI
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!