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 Name | Description | Visability |
| CALC_EXT_COST | Calculate External Total Costs | Public |
| CALL METHOD /sctm/cl_cost_manager=>CALC_EXT_COST...more details | ||
| CALC_INT_DIST_COST | Transportation Cost for Distance | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DIST_COST...more details | ||
| CALC_INT_DROP_COST | Penalty Costs for Delivery | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DROP_COST...more details | ||
| CALC_INT_DURAT_COST | Transportation Cost for Duration | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_DURAT_COST...more details | ||
| CALC_INT_FIX_COST | Transportation Cost - fixed | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_FIX_COST...more details | ||
| CALC_INT_PEN_COST | Calculate Penalty Cost | Public |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_PEN_COST...more details | ||
|
| ||
| CALC_INT_PICK_COST | Penalty Costs for Pickup | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_PICK_COST...more details | ||
| CALC_INT_TRANS_COST | Calculate Transportation Cost | Public |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_TRANS_COST...more details | ||
| CALC_INT_WEIGHT_COST | Transportation Cost for Weight | Private |
| CALL METHOD /sctm/cl_cost_manager=>CALC_INT_WEIGHT_COST...more details | ||
| CONSTRUCTOR | Public | |
| CALL METHOD /sctm/cl_cost_manager=>CONSTRUCTOR...more details | ||
| CONVERT_DURATION_UOM_COST | Convert Duration between 2 timestamps in UOM of costs | Private |
| CALL METHOD /sctm/cl_cost_manager=>CONVERT_DURATION_UOM_COST...more details | ||
| FILL_BUFFER_INT_COST | Fill Buffer with Internal Costs | Public |
| CALL METHOD /sctm/cl_cost_manager=>FILL_BUFFER_INT_COST...more details | ||
| GET_DURATION_UOM_COST | Determine Duration between 2 timestamps in UOM of costs | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_DURATION_UOM_COST...more details | ||
| GET_INT_DIM_COST | Get Dimension Cost | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST...more details | ||
| GET_INT_DIM_COST_LN | Get Dimension-Dependent Costs (Lane) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_LN...more details | ||
| GET_INT_DIM_COST_PRF | Get Dimension-Dependent Costs (Cost Profile) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_PRF...more details | ||
| GET_INT_DIM_COST_TM | Get Dimension-Dependent Costs (TM Data) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_DIM_COST_TM...more details | ||
| GET_INT_FIX_COST_PRF | Get Fixed Costs (Cost Profile) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_FIX_COST_PRF...more details | ||
| GET_INT_FIX_COST_TM | Get Fixed Costs (TM Data) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_FIX_COST_TM...more details | ||
| GET_INT_PEN_COST_PRF | Get Penalty Cost (Cost Profile) | Private |
| CALL METHOD /sctm/cl_cost_manager=>GET_INT_PEN_COST_PRF...more details | ||
| GET_TPCID_FROM_PROFILE | Determine the TPCID from the Profile | Private |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| MC_MAX_COST | Constant | Maximum cost | '9999999999.999' | LIKE /SCTM/DE_TCOST | Private |
| MO_GEOGRAPHY | Instance Attribute | Administration of Geographical Objects | LIKE /SCTM/CL_GEOGRAPHY | Protected | |
| MT_PRFCOST_DIM | Instance Attribute | APO Transportation Cost (internal) - dimensions | LIKE /SCTM/TT_AD_PRFCOST_DIM | Protected | |
| MT_PRFCOST_FIX | Instance Attribute | APO Transportation Cost (internal) - fixed | LIKE /SCTM/TT_AD_PRFCOST_FIX | Protected | |
| MT_PRFCOST_GLOB | Instance Attribute | APO Transportation Cost (internal) - global | LIKE /SCTM/TT_AD_PRFCOST_GLOB | Protected | |
| MT_PRFCOST_PRIO | Instance Attribute | APO Transportation Cost (internal) - priority | LIKE /SCTM/TT_AD_PRFCOST_PRIO | Protected | |
| MT_TMCOST_DIM | Instance Attribute | TM Transportation Cost (internal) - dimensions | LIKE /SCTM/TT_AD_TMCOST_DIM | Protected | |
| MT_TMCOST_FIX | Instance Attribute | TM Transportation Cost (internal) - fixed | LIKE /SCTM/TT_AD_TMCOST_GLOB | Protected | |
| MV_TMCOST_COMPLETE | Instance Attribute | TM Transportation Cost read completely | LIKE 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