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_EMISSIONMethod 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 Name | Description | Visability |
| CALCULATE_CO2_EMISSION | Calculate CO2 Emissions | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_CO2_EMISSION...more details | ||
| CALCULATE_DISTANCE_EMISSION | Calculate Distance Emission | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_DISTANCE_EMISSION...more details | ||
| CALCULATE_EMI_FOR_ALL_FACTORS | Calculate Distance Emissions for all factors | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_EMI_FOR_ALL_FACTORS...more details | ||
| CALCULATE_EMI_SPECIFIED | Calculate Distance Emissions for specified criteria | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_EMI_SPECIFIED...more details | ||
| CALCULATE_FUEL_CONSUMPTION | Calculate Fuel consumption | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CALCULATE_FUEL_CONSUMPTION...more details | ||
| CHECK_STAGE_DISTRIBUTION | Check stage distribution | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>CHECK_STAGE_DISTRIBUTION...more details | ||
|
| ||
| CONSTRUCTOR | CONSTRUCTOR | Public |
| CALL METHOD /scmb/cl_dist_emission_calc=>CONSTRUCTOR...more details | ||
| DETERMINE_TOTAL_WEIGHT | Determine total weight out of fixed and supplied weight | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>DETERMINE_TOTAL_WEIGHT...more details | ||
| GET_CONVERSION_FACTOR | Determine total weight out of fixed and supplied weight | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>GET_CONVERSION_FACTOR...more details | ||
| GET_DIST_EMISSION_FACTORS | Get Distance Emission factors | Protected |
| CALL METHOD /scmb/cl_dist_emission_calc=>GET_DIST_EMISSION_FACTORS...more details | ||
| GET_STANDARD_UOM | Get supported UOM for dimension | Public |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_DIM_DISTANCE | Constant | Dimension Distance | 'DISTANCE' | LIKE /SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM | Public |
| GC_DIM_FUEL | Constant | Dimension Fuel | 'FUEL' | LIKE /SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM | Public |
| GC_DIM_WEIGHT | Constant | Dimension Weight | 'WEIGHT' | LIKE /SCMB/IF_DIST_EMISSION=>TY_DIST_EMISSION_DIM | Public |
| MO_BADI_DIST_EMISSION_CALC | Static Attribute | LIKE /SCMB/EX_DIST_EMISSION_CALC | Private | ||
| MO_DIST_EMISSION_FACTOR | Instance Attribute | Distance Emission factors | LIKE /SCMB/IF_DIST_EMISSION_FACTOR | Protected | |
| MV_EMISSION_FACTOR_AVAILABLE | Instance Attribute | Distance Emission factors available | ABAP_TRUE | LIKE 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