SAP ABAP Class CL_RMSL_SRV_NUTRIENT_CALC (Service: Calculation of Nutritional Values)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PLM-RM (Application Component) Recipe Management
⤷
RMSL (Package) Labeling Application
⤷
⤷
Properties
| Class | CL_RMSL_SRV_NUTRIENT_CALC | |
| Short Description | Service: Calculation of Nutritional Values | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RMSL | Labeling Application |
| Created | 20060725 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_RMSL_SRV_NUTRIENT_CALC has no forward declaration.
Interfaces
Class CL_RMSL_SRV_NUTRIENT_CALC has no interface implemented.
Friends
Class CL_RMSL_SRV_NUTRIENT_CALC has no friend class.
Attributes
Class CL_RMSL_SRV_NUTRIENT_CALC has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculates Nutritional Value Based on Base Quantity | 20060725 | |
| 2 | Static method | Public | Method | Calculates Daily Allowance Using RDA Profile | 20060726 | |
| 3 | Static method | Private | Method | Unit Conversion | 20060725 |
Events
Class CL_RMSL_SRV_NUTRIENT_CALC has no event.
Types
Class CL_RMSL_SRV_NUTRIENT_CALC has no local type.
Method Signatures
Method CALCULATE_CONTRIBUTION_CL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NUTRIENT | Call by reference | Type reference (TYPE) | RMSLTY_NUTRIENT_VALUES | Nährstoffe (absolut) | 20060725 | |||
| 2 | IS_BASE_QTY | Call by reference | Type reference (TYPE) | RMSLS_BASE_QTY | Etikettobjekt: Basismenge | 20060725 | |||
| 3 | IS_BASE_QTY_REQ | Call by reference | Type reference (TYPE) | RMSLS_BASE_QTY | Etikettobjekt: Basismenge | 20060725 | |||
| 4 | IT_NUTRIENT | Call by reference | Type reference (TYPE) | RMSLTY_NUTRIENT_VALUES | Nährstoffe (absolut) | 20060725 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20060725 |
Method CALCULATE_DAILY_VALUES_CL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DAILY_VAL | Call by reference | Type reference (TYPE) | RMSLTY_DAILY_VALUE | Tatsächliche Tagesmenge in % | 20060726 | |||
| 2 | IT_NUTRIENT | Call by reference | Type reference (TYPE) | RMSLTY_NUTRIENT_VALUES | Nährstoffe (absolut) | 20060726 | |||
| 3 | IT_RDA | Call by reference | Type reference (TYPE) | RMSLTY_RDA_ABSOLUTE_VALUES | Empfohlene absolute Tagesmenge | 20060726 | |||
| 4 | IV_KEEP_FOREIGN_NUTRIENTS | Call by reference | Type reference (TYPE) | BOOL | SPACE | Keep the nutrients in output table, which aren't part of RDA | 20110505 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20060726 |
Method UNIT_CONVERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CONV_UNIT | Call by reference | Type reference (TYPE) | RMSLE_UNIT | Masseinheit des Anteils | 20060725 | |||
| 2 | E_CONV_VALUE_NUTR | Call by reference | Type reference (TYPE) | RMSLE_VALUE | Anteil | 20060725 | |||
| 3 | E_CONV_VALUE_RDA | Call by reference | Type reference (TYPE) | RMSLE_VALUE | Anteil | 20060725 | |||
| 4 | IS_NUTR | Call by reference | Type reference (TYPE) | RMSLS_NUTRIENT_VALUE | Nährstoffe | 20060725 | |||
| 5 | IS_RDA | Call by reference | Type reference (TYPE) | RMSLS_RDA_ABSOLUTE_VALUES | Empfohlene absolute Tagesmenge | 20060725 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20060725 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |