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_METHODS

Method 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 NameDescriptionVisability
ACCESS_RATE_THROUGH_FORMULARate Calculation by Formula Without Rate + Scale AccessPublic
CALL METHOD /scmtms/cl_calc_method_base=>ACCESS_RATE_THROUGH_FORMULA...more details

ADJUST_CALCRULE_RATEFETCH_QTYAdjust calculation rule and rate fetch qty in case of ULDProtected
CALL METHOD /scmtms/cl_calc_method_base=>ADJUST_CALCRULE_RATEFETCH_QTY...more details

ADJUST_CALCRULE_RATE_STNDAdjust calculation rule is maintained for mixed abs and relProtected
CALL METHOD /scmtms/cl_calc_method_base=>ADJUST_CALCRULE_RATE_STND...more details

BUILD_SCALE_VAL_TABBuild scale value table for the calculation basesProtected
CALL METHOD /scmtms/cl_calc_method_base=>BUILD_SCALE_VAL_TAB...more details

BUILD_SCALE_VAL_TAB_SELECTIVEModify the selection parameters based on initial keyProtected
CALL METHOD /scmtms/cl_calc_method_base=>BUILD_SCALE_VAL_TAB_SELECTIVE...more details

BUILD_ZONE_HIERARCHYBuild zone hierarchy tableProtected
CALL METHOD /scmtms/cl_calc_method_base=>BUILD_ZONE_HIERARCHY...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD /scmtms/cl_calc_method_base=>CONSTRUCTOR...more details

CONVERT_CURRENCYCurrency conversionProtected
CALL METHOD /scmtms/cl_calc_method_base=>CONVERT_CURRENCY...more details

FETCH_RATE_STANDARDFetch Rate Standard (FRS)Protected
CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD...more details

FETCH_RATE_STANDARD_INTFetch Rate Standard (FRS) Rate Fetch by KeysProtected
CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD_INT...more details

FETCH_RATE_STANDARD_INT_AFetch 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_MAXProtected
CALL METHOD /scmtms/cl_calc_method_base=>FETCH_RATE_STANDARD_MIN_MAX...more details

FETCH_TCCS_STANDARD_MIN_MAXGet min and max amount at TCCS levelProtected
CALL METHOD /scmtms/cl_calc_method_base=>FETCH_TCCS_STANDARD_MIN_MAX...more details

FILTER_RATE_BY_CONDITION_V2Filter Rate By ConditionProtected
CALL METHOD /scmtms/cl_calc_method_base=>FILTER_RATE_BY_CONDITION_V2...more details

FILTER_RATE_RESULTSSort and filter rate results based on priorityProtected
CALL METHOD /scmtms/cl_calc_method_base=>FILTER_RATE_RESULTS...more details

FIND_MIN_MAX_FOR_CONTRACT_RATEFinds MIN/MAX rate corr.g to the rate selected from MRHProtected
CALL METHOD /scmtms/cl_calc_method_base=>FIND_MIN_MAX_FOR_CONTRACT_RATE...more details

FRS_CALCULATE_AMOUNTCalculate Amount by Applying Calculation RuleProtected
CALL METHOD /scmtms/cl_calc_method_base=>FRS_CALCULATE_AMOUNT...more details

FRS_GET_RATE_DETAILGet Rate Detail - Select Rate & Initialize Rate DetailProtected
CALL METHOD /scmtms/cl_calc_method_base=>FRS_GET_RATE_DETAIL...more details

GET_CALC_METHODGet Calculation MethodPublic
CALL METHOD /scmtms/cl_calc_method_base=>GET_CALC_METHOD...more details

GET_SCALE_ITEMSGet Scale Items: (GSI)Protected
CALL METHOD /scmtms/cl_calc_method_base=>GET_SCALE_ITEMS...more details

GSI_CONTIN_SCALEGSI for Continuation ScaleProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_CONTIN_SCALE...more details

GSI_DESCRIBE_CALCBASISGSI: Describe Calc. BasesProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_DESCRIBE_CALCBASIS...more details

GSI_GET_ZONES_FOR_LOCGet Zones for LocationProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_GET_ZONES_FOR_LOC...more details

GSI_GET_ZONES_FOR_LOC_V2Get Zones for Location sorted by Zone HierarchyProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_GET_ZONES_FOR_LOC_V2...more details

GSI_INTERNALGSI: Get Source Quantity, Scale Items, Adjust Site QtysProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_INTERNAL...more details

GSI_NORMAL_SCALEGSI for Normal ScaleProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_NORMAL_SCALE...more details

GSI_NORMAL_SCALE_RBGSI for Normal Scale for multiple data source quantityProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_NORMAL_SCALE_RB...more details

GSI_SAME_SCALEGet the same scale item via the queryProtected
CALL METHOD /scmtms/cl_calc_method_base=>GSI_SAME_SCALE...more details

IS_RATE_ACCESS_BY_FORMULAIs Rate Access by FormulaProtected
CALL METHOD /scmtms/cl_calc_method_base=>IS_RATE_ACCESS_BY_FORMULA...more details

LOAD_EXT_IDSLoad external IDs for the scale itemsProtected
CALL METHOD /scmtms/cl_calc_method_base=>LOAD_EXT_IDS...more details

MARK_RELATED_TCES_FOR_REPROCMark Related Item (Parents, Calc Ref Lines) for ReprocessingProtected
CALL METHOD /scmtms/cl_calc_method_base=>MARK_RELATED_TCES_FOR_REPROC...more details

MATCH_NON_SAME_SCALE_ITEMSMatch non same scale items after rate lookupProtected
CALL METHOD /scmtms/cl_calc_method_base=>MATCH_NON_SAME_SCALE_ITEMS...more details

MODIFY_SEL_PARAMETERSModify the selection parameters based on initial keyProtected
CALL METHOD /scmtms/cl_calc_method_base=>MODIFY_SEL_PARAMETERS...more details

MODIFY_SEL_PARAMETER_V2Modify the selection parameters based on initial keyProtected
CALL METHOD /scmtms/cl_calc_method_base=>MODIFY_SEL_PARAMETER_V2...more details

RATETABND_GET_ITEMKEYFLD_4_DIMGet Scale Item Key Field Name for Given DimensionProtected
CALL METHOD /scmtms/cl_calc_method_base=>RATETABND_GET_ITEMKEYFLD_4_DIM...more details

RATETAB_GET_NODE_NAMEGet Rate Table Node NameProtected
CALL METHOD /scmtms/cl_calc_method_base=>RATETAB_GET_NODE_NAME...more details

RATETAB_GET_QUERY_KEYGet Rate Table Query NameProtected
CALL METHOD /scmtms/cl_calc_method_base=>RATETAB_GET_QUERY_KEY...more details

SORT_SCALEITEMSSort the scale items by ignoring the gaps between themPrivate
CALL METHOD /scmtms/cl_calc_method_base=>SORT_SCALEITEMS...more details

SYNC_QTY_IN_CALCBASISSync Qty from Scale Ref Calc. Bases to Calc. Rule Calc BasesProtected
CALL METHOD /scmtms/cl_calc_method_base=>SYNC_QTY_IN_CALCBASIS...more details

SYNC_QTY_IN_CALCBASIS_ISync Qty from Given Calc. BasesProtected
CALL METHOD /scmtms/cl_calc_method_base=>SYNC_QTY_IN_CALCBASIS_I...more details

UPDATE_SEL_PARAMUpdate selection parameters after rate lookupProtected
CALL METHOD /scmtms/cl_calc_method_base=>UPDATE_SEL_PARAM...more details

UPD_CALCRULE_DSRC_QTYUpdate Calculation rule date source qtyProtected
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.

NameLevelDescriptionInitial ValueTypeVisability
CS_MRH_OPTIONConstantLIKE
Protected
CS_SCALE_BASEConstantLIKE
Protected
MO_DO_CHARGEInstance AttributeDO TransportationCharges - Communication StructureLIKE
/SCMTMS/S_TCC_DO_CHARGES_COM
Protected
MO_MSG_UTILInstance AttributeTCM Message UtilLIKE
/SCMTMS/CL_TCM_MSG_UTIL
Protected
MO_TCEInstance AttributeTransportation Charge Element - Communication StructureLIKE
/SCMTMS/S_TCC_TRCHRG_ELMNT_COM
Protected
MO_TSM_RATE_TABLEInstance AttributeTSM Rate TableLIKE
/BOBF/IF_TRA_SERVICE_MANAGER
Protected
MO_TSM_SCALEInstance AttributeTSM ScaleLIKE
/BOBF/IF_TRA_SERVICE_MANAGER
Protected
MT_DYN_SCALE_ITEMInstance AttributeTransportationCharges: Fourteen Dimension RatesLIKE
/SCMTMS/T_TCRATE_RATE_14_K
Protected
MT_RATE_NOTESStatic AttributeLIKE
Protected
MT_SCALE_ITEMStatic AttributeLIKE
TT_SCALE_ITEM
Protected
MT_SEL_PARAMInstance AttributeQuery Selection ParametersLIKE
/BOBF/T_FRW_QUERY_SELPARAM
Protected
MT_ZONESInstance AttributeTable Type of Root node of TMS BO TZNLIKE
/SCMTMS/T_BO_TZN_ROOT_K
Protected
MV_CALC_BASIS_MULTIPLE_RATEInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_CONSIDER_MIN_MAX_VALUESInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')ABAP_TRUELIKE
ABAP_BOOL
Protected
MV_CUMULATED_RATEInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_DIMNO_FOR_CLIPPINGInstance AttributeScale Dimension NumberLIKE
/SCMTMS/TCM_RATE_DIMNO
Protected
MV_EXT_LINEInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_MAX_RATE_ZEROInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_MIN_MAX_EXISTInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')ABAP_FALSELIKE
BOOLE_D
Protected
MV_MULT_RATEInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_NOTE_EXISTInstance AttributeIata note comes as calc base dimensionLIKE
BOOLE_D
Protected
MV_PROCEEDInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_RETAIN_CBASE_QTY_FOR_MINMAXInstance AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Protected
MV_TCET084Instance AttributeCharge TypeLIKE
/SCMTMS/TRCHARG_ELMNT_TYPECD
Public
SC_CALCULATED_VALUE_TYPESConstantLIKE
Protected
ST_CALC_METHODStatic AttributeLIKE
Protected
ST_LOC_ZONESStatic AttributeZones for LocationsLIKE
TTHA_LOC_ZONES
Protected
SV_LAST_MESSAGEStatic AttributeLIKE
STRING
Protected




/SCMTMS/CL_CALC_METHOD_BASE types

TR_TCE_REF - Reference to Charge Element
TSTR_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



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!