SAP /SCMB/CL_DIST_EMISSION_CALC OO Class - Distance Emission calculator









/SCMB/CL_DIST_EMISSION_CALC 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 /SCMB/CL_DIST_EMISSION_CALC 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 /SCMB/IF_DIST_EMISSION

Method list of /SCMB/CL_DIST_EMISSION_CALC 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
CALCULATE_CO2_EMISSIONCalculate CO2 EmissionsProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_CO2_EMISSION...more details

CALCULATE_DISTANCE_EMISSIONCalculate Distance EmissionProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_DISTANCE_EMISSION...more details

CALCULATE_EMI_FOR_ALL_FACTORSCalculate Distance Emissions for all factorsProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_EMI_FOR_ALL_FACTORS...more details

CALCULATE_EMI_SPECIFIEDCalculate Distance Emissions for specified criteriaProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_EMI_SPECIFIED...more details

CALCULATE_FUEL_CONSUMPTIONCalculate Fuel consumptionProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_FUEL_CONSUMPTION...more details

CHECK_STAGE_DISTRIBUTIONCheck stage distributionProtected
CALL METHOD /scmb/cl_dist_emission_calc=>CHECK_STAGE_DISTRIBUTION...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD /scmb/cl_dist_emission_calc=>CONSTRUCTOR...more details

DETERMINE_TOTAL_WEIGHTDetermine total weight out of fixed and supplied weightProtected
CALL METHOD /scmb/cl_dist_emission_calc=>DETERMINE_TOTAL_WEIGHT...more details

GET_CONVERSION_FACTORDetermine total weight out of fixed and supplied weightProtected
CALL METHOD /scmb/cl_dist_emission_calc=>GET_CONVERSION_FACTOR...more details

GET_DIST_EMISSION_FACTORSGet Distance Emission factorsProtected
CALL METHOD /scmb/cl_dist_emission_calc=>GET_DIST_EMISSION_FACTORS...more details

GET_STANDARD_UOMGet supported UOM for dimensionPublic
CALL METHOD /scmb/cl_dist_emission_calc=>GET_STANDARD_UOM...more details



/SCMB/CL_DIST_EMISSION_CALC 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
GC_DIM_DISTANCEConstantDimension Distance'DISTANCE'LIKE
/SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM
Public
GC_DIM_FUELConstantDimension Fuel'FUEL'LIKE
/SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM
Public
GC_DIM_WEIGHTConstantDimension Weight'WEIGHT'LIKE
/SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM
Public
MO_BADI_DIST_EMISSION_CALCStatic AttributeLIKE
/SCMB/EX_DIST_EMISSION_CALC
Private
MO_DIST_EMISSION_FACTORInstance AttributeDistance Emission factorsLIKE
/SCMB/IF_DIST_EMISSION_FACTOR
Protected
MV_EMISSION_FACTOR_AVAILABLEInstance AttributeDistance Emission factors availableABAP_TRUELIKE
BOOLE_D
Protected


Links to Related Class(s)

/SCMB/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!