SAP /SCTM/CL_COST_MANAGER OO Class - Administration of Costs









/SCTM/CL_COST_MANAGER 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_COST_MANAGER 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_COST_MANAGER 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
CALC_EXT_COSTCalculate External Total CostsPublic
CALL METHOD /sctm/cl_cost_manager=>CALC_EXT_COST...more details

CALC_INT_DIST_COSTTransportation Cost for DistancePrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DIST_COST...more details

CALC_INT_DROP_COSTPenalty Costs for DeliveryPrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DROP_COST...more details

CALC_INT_DURAT_COSTTransportation Cost for DurationPrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DURAT_COST...more details

CALC_INT_FIX_COSTTransportation Cost - fixedPrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_FIX_COST...more details

CALC_INT_PEN_COSTCalculate Penalty CostPublic
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_PEN_COST...more details

CALC_INT_PICK_COSTPenalty Costs for PickupPrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_PICK_COST...more details

CALC_INT_TRANS_COSTCalculate Transportation CostPublic
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_TRANS_COST...more details

CALC_INT_WEIGHT_COSTTransportation Cost for WeightPrivate
CALL METHOD /sctm/cl_cost_manager=>CALC_INT_WEIGHT_COST...more details

CONSTRUCTORPublic
CALL METHOD /sctm/cl_cost_manager=>CONSTRUCTOR...more details

CONVERT_DURATION_UOM_COSTConvert Duration between 2 timestamps in UOM of costsPrivate
CALL METHOD /sctm/cl_cost_manager=>CONVERT_DURATION_UOM_COST...more details

FILL_BUFFER_INT_COSTFill Buffer with Internal CostsPublic
CALL METHOD /sctm/cl_cost_manager=>FILL_BUFFER_INT_COST...more details

GET_DURATION_UOM_COSTDetermine Duration between 2 timestamps in UOM of costsPrivate
CALL METHOD /sctm/cl_cost_manager=>GET_DURATION_UOM_COST...more details

GET_INT_DIM_COSTGet Dimension CostPrivate
CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST...more details

GET_INT_DIM_COST_LNGet Dimension-Dependent Costs (Lane)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_LN...more details

GET_INT_DIM_COST_PRFGet Dimension-Dependent Costs (Cost Profile)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_PRF...more details

GET_INT_DIM_COST_TMGet Dimension-Dependent Costs (TM Data)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_TM...more details

GET_INT_FIX_COST_PRFGet Fixed Costs (Cost Profile)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_FIX_COST_PRF...more details

GET_INT_FIX_COST_TMGet Fixed Costs (TM Data)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_FIX_COST_TM...more details

GET_INT_PEN_COST_PRFGet Penalty Cost (Cost Profile)Private
CALL METHOD /sctm/cl_cost_manager=>GET_INT_PEN_COST_PRF...more details

GET_TPCID_FROM_PROFILEDetermine the TPCID from the ProfilePrivate
CALL METHOD /sctm/cl_cost_manager=>GET_TPCID_FROM_PROFILE...more details



/SCTM/CL_COST_MANAGER 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
MC_MAX_COSTConstantMaximum cost'9999999999.999'LIKE
/SCTM/DE_TCOST
Private
MO_GEOGRAPHYInstance AttributeAdministration of Geographical ObjectsLIKE
/SCTM/CL_GEOGRAPHY
Protected
MT_PRFCOST_DIMInstance AttributeAPO Transportation Cost (internal) - dimensionsLIKE
/SCTM/TT_AD_PRFCOST_DIM
Protected
MT_PRFCOST_FIXInstance AttributeAPO Transportation Cost (internal) - fixedLIKE
/SCTM/TT_AD_PRFCOST_FIX
Protected
MT_PRFCOST_GLOBInstance AttributeAPO Transportation Cost (internal) - globalLIKE
/SCTM/TT_AD_PRFCOST_GLOB
Protected
MT_PRFCOST_PRIOInstance AttributeAPO Transportation Cost (internal) - priorityLIKE
/SCTM/TT_AD_PRFCOST_PRIO
Protected
MT_TMCOST_DIMInstance AttributeTM Transportation Cost (internal) - dimensionsLIKE
/SCTM/TT_AD_TMCOST_DIM
Protected
MT_TMCOST_FIXInstance AttributeTM Transportation Cost (internal) - fixedLIKE
/SCTM/TT_AD_TMCOST_GLOB
Protected
MV_TMCOST_COMPLETEInstance AttributeTM Transportation Cost read completelyLIKE
C
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!