SAP /SCMTMS/CL_CALC_METHOD_BASE OO Class - Calculation Sheet Base Class for Calculation Methods
/SCMTMS/CL_CALC_METHOD_BASE 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 /SCMTMS/CL_CALC_METHOD_BASE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /SCMTMS/IF_TC_CALC_METHODSMethod list of /SCMTMS/CL_CALC_METHOD_BASE 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 |
| ACCESS_RATE_THROUGH_FORMULA | Rate Calculation by Formula Without Rate + Scale Access | Public |
| CALL METHOD /scmtms/cl_calc_method_base=>ACCESS_RATE_THROUGH_FORMULA...more details | ||
| ADJUST_CALCRULE_RATEFETCH_QTY | Adjust calculation rule and rate fetch qty in case of ULD | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>ADJUST_CALCRULE_RATEFETCH_QTY...more details | ||
| ADJUST_CALCRULE_RATE_STND | Adjust calculation rule is maintained for mixed abs and rel | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>ADJUST_CALCRULE_RATE_STND...more details | ||
| BUILD_SCALE_VAL_TAB | Build scale value table for the calculation bases | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>BUILD_SCALE_VAL_TAB...more details | ||
| BUILD_SCALE_VAL_TAB_SELECTIVE | Modify the selection parameters based on initial key | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>BUILD_SCALE_VAL_TAB_SELECTIVE...more details | ||
| BUILD_ZONE_HIERARCHY | Build zone hierarchy table | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>BUILD_ZONE_HIERARCHY...more details | ||
|
| ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /scmtms/cl_calc_method_base=>CONSTRUCTOR...more details | ||
| CONVERT_CURRENCY | Currency conversion | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>CONVERT_CURRENCY...more details | ||
| FETCH_RATE_STANDARD | Fetch Rate Standard (FRS) | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD...more details | ||
| FETCH_RATE_STANDARD_INT | Fetch Rate Standard (FRS) Rate Fetch by Keys | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD_INT...more details | ||
| FETCH_RATE_STANDARD_INT_A | Fetch Rate Standard (FRS) Internal (Max. Min. Handling) | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD_INT_A...more details | ||
| FETCH_RATE_STANDARD_MIN_MAX | Protected | |
| CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD_MIN_MAX...more details | ||
| FETCH_TCCS_STANDARD_MIN_MAX | Get min and max amount at TCCS level | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FETCH_TCCS_STANDARD_MIN_MAX...more details | ||
| FILTER_RATE_BY_CONDITION_V2 | Filter Rate By Condition | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FILTER_RATE_BY_CONDITION_V2...more details | ||
| FILTER_RATE_RESULTS | Sort and filter rate results based on priority | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FILTER_RATE_RESULTS...more details | ||
| FIND_MIN_MAX_FOR_CONTRACT_RATE | Finds MIN/MAX rate corr.g to the rate selected from MRH | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FIND_MIN_MAX_FOR_CONTRACT_RATE...more details | ||
| FRS_CALCULATE_AMOUNT | Calculate Amount by Applying Calculation Rule | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FRS_CALCULATE_AMOUNT...more details | ||
| FRS_GET_RATE_DETAIL | Get Rate Detail - Select Rate & Initialize Rate Detail | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>FRS_GET_RATE_DETAIL...more details | ||
| GET_CALC_METHOD | Get Calculation Method | Public |
| CALL METHOD /scmtms/cl_calc_method_base=>GET_CALC_METHOD...more details | ||
| GET_SCALE_ITEMS | Get Scale Items: (GSI) | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GET_SCALE_ITEMS...more details | ||
| GSI_CONTIN_SCALE | GSI for Continuation Scale | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_CONTIN_SCALE...more details | ||
| GSI_DESCRIBE_CALCBASIS | GSI: Describe Calc. Bases | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_DESCRIBE_CALCBASIS...more details | ||
| GSI_GET_ZONES_FOR_LOC | Get Zones for Location | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_GET_ZONES_FOR_LOC...more details | ||
| GSI_GET_ZONES_FOR_LOC_V2 | Get Zones for Location sorted by Zone Hierarchy | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_GET_ZONES_FOR_LOC_V2...more details | ||
| GSI_INTERNAL | GSI: Get Source Quantity, Scale Items, Adjust Site Qtys | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_INTERNAL...more details | ||
| GSI_NORMAL_SCALE | GSI for Normal Scale | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_NORMAL_SCALE...more details | ||
| GSI_NORMAL_SCALE_RB | GSI for Normal Scale for multiple data source quantity | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_NORMAL_SCALE_RB...more details | ||
| GSI_SAME_SCALE | Get the same scale item via the query | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>GSI_SAME_SCALE...more details | ||
| IS_RATE_ACCESS_BY_FORMULA | Is Rate Access by Formula | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>IS_RATE_ACCESS_BY_FORMULA...more details | ||
| LOAD_EXT_IDS | Load external IDs for the scale items | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>LOAD_EXT_IDS...more details | ||
| MARK_RELATED_TCES_FOR_REPROC | Mark Related Item (Parents, Calc Ref Lines) for Reprocessing | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>MARK_RELATED_TCES_FOR_REPROC...more details | ||
| MATCH_NON_SAME_SCALE_ITEMS | Match non same scale items after rate lookup | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>MATCH_NON_SAME_SCALE_ITEMS...more details | ||
| MODIFY_SEL_PARAMETERS | Modify the selection parameters based on initial key | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>MODIFY_SEL_PARAMETERS...more details | ||
| MODIFY_SEL_PARAMETER_V2 | Modify the selection parameters based on initial key | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>MODIFY_SEL_PARAMETER_V2...more details | ||
| RATETABND_GET_ITEMKEYFLD_4_DIM | Get Scale Item Key Field Name for Given Dimension | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>RATETABND_GET_ITEMKEYFLD_4_DIM...more details | ||
| RATETAB_GET_NODE_NAME | Get Rate Table Node Name | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>RATETAB_GET_NODE_NAME...more details | ||
| RATETAB_GET_QUERY_KEY | Get Rate Table Query Name | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>RATETAB_GET_QUERY_KEY...more details | ||
| SORT_SCALEITEMS | Sort the scale items by ignoring the gaps between them | Private |
| CALL METHOD /scmtms/cl_calc_method_base=>SORT_SCALEITEMS...more details | ||
| SYNC_QTY_IN_CALCBASIS | Sync Qty from Scale Ref Calc. Bases to Calc. Rule Calc Bases | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>SYNC_QTY_IN_CALCBASIS...more details | ||
| SYNC_QTY_IN_CALCBASIS_I | Sync Qty from Given Calc. Bases | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>SYNC_QTY_IN_CALCBASIS_I...more details | ||
| UPDATE_SEL_PARAM | Update selection parameters after rate lookup | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>UPDATE_SEL_PARAM...more details | ||
| UPD_CALCRULE_DSRC_QTY | Update Calculation rule date source qty | Protected |
| CALL METHOD /scmtms/cl_calc_method_base=>UPD_CALCRULE_DSRC_QTY...more details | ||
/SCMTMS/CL_CALC_METHOD_BASE 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 |
| CS_MRH_OPTION | Constant | LIKE | Protected | ||
| CS_SCALE_BASE | Constant | LIKE | Protected | ||
| MO_DO_CHARGE | Instance Attribute | DO TransportationCharges - Communication Structure | LIKE /SCMTMS/S_TCC_DO_CHARGES_COM | Protected | |
| MO_MSG_UTIL | Instance Attribute | TCM Message Util | LIKE /SCMTMS/CL_TCM_MSG_UTIL | Protected | |
| MO_TCE | Instance Attribute | Transportation Charge Element - Communication Structure | LIKE /SCMTMS/S_TCC_TRCHRG_ELMNT_COM | Protected | |
| MO_TSM_RATE_TABLE | Instance Attribute | TSM Rate Table | LIKE /BOBF/IF_TRA_SERVICE_MANAGER | Protected | |
| MO_TSM_SCALE | Instance Attribute | TSM Scale | LIKE /BOBF/IF_TRA_SERVICE_MANAGER | Protected | |
| MT_DYN_SCALE_ITEM | Instance Attribute | TransportationCharges: Fourteen Dimension Rates | LIKE /SCMTMS/T_TCRATE_RATE_14_K | Protected | |
| MT_RATE_NOTES | Static Attribute | LIKE | Protected | ||
| MT_SCALE_ITEM | Static Attribute | LIKE TT_SCALE_ITEM | Protected | ||
| MT_SEL_PARAM | Instance Attribute | Query Selection Parameters | LIKE /BOBF/T_FRW_QUERY_SELPARAM | Protected | |
| MT_ZONES | Instance Attribute | Table Type of Root node of TMS BO TZN | LIKE /SCMTMS/T_BO_TZN_ROOT_K | Protected | |
| MV_CALC_BASIS_MULTIPLE_RATE | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_CONSIDER_MIN_MAX_VALUES | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | ABAP_TRUE | LIKE ABAP_BOOL | Protected |
| MV_CUMULATED_RATE | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_DIMNO_FOR_CLIPPING | Instance Attribute | Scale Dimension Number | LIKE /SCMTMS/TCM_RATE_DIMNO | Protected | |
| MV_EXT_LINE | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_MAX_RATE_ZERO | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_MIN_MAX_EXIST | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | ABAP_FALSE | LIKE BOOLE_D | Protected |
| MV_MULT_RATE | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_NOTE_EXIST | Instance Attribute | Iata note comes as calc base dimension | LIKE BOOLE_D | Protected | |
| MV_PROCEED | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_RETAIN_CBASE_QTY_FOR_MINMAX | Instance Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | LIKE BOOLE_D | Protected | |
| MV_TCET084 | Instance Attribute | Charge Type | LIKE /SCMTMS/TRCHARG_ELMNT_TYPECD | Public | |
| SC_CALCULATED_VALUE_TYPES | Constant | LIKE | Protected | ||
| ST_CALC_METHOD | Static Attribute | LIKE | Protected | ||
| ST_LOC_ZONES | Static Attribute | Zones for Locations | LIKE TTHA_LOC_ZONES | Protected | |
| SV_LAST_MESSAGE | Static Attribute | LIKE STRING | Protected |
/SCMTMS/CL_CALC_METHOD_BASE types
TR_TCE_REF - Reference to Charge ElementTSTR_FRS_CALC_RESULT - FRS: Calc Result Amounts
TSTR_FRS_SCALE_REF - FRS: Scale reference with Item Keys (min max support)
TSTR_LOC_ZONES - Zones for Location
TS_NOTES -
TS_SEL_RANGE -
TTHA_LOC_ZONES - Zones for Locations
TTST_FRS_CALC_RESULT - FRS: Calc Result Amounts
TTST_FRS_SCALE_REF - FRS: Scale references with Item Keys (min max support)
TTST_TCE_REF - Table of Charge Element References
TT_SCALE_ITEM -
TT_SEL_RANGE -
TT_ZONE_LEVEL -
TV_CALCULATED_VALUE_TYPE - Calculated Value Type
TY_SCALE_ITEM -
TY_ZONE_LEVEL -
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects